commit | 609102be0f28d5548ba4aa8536f39af1387fe449 | [log] [tgz] |
---|---|---|
author | Daniel Bratell <[email protected]> | Wed Mar 27 20:53:21 2019 |
committer | Commit Bot <[email protected]> | Wed Mar 27 20:53:21 2019 |
tree | 572df6ce58140d8015b7a1bb1bc87cdca28e799a | |
parent | 3fa8bc07b4347c29428ad8637271e7519a364894 [diff] |
More checks in presubmit for usage of banned C++ features To avoid banned functions and features in C++ from being used accidentally, add more presubmit checks. This tests most of what is currently banned from C++11/14 except for threads and thread_local. Those were excluded because of a difficulty in expressing when they were ok and when not and because of too many false positives. This change follows a discussion on the cxx mailing list about how to avoid that people use banned functions from pure ignorance. Change-Id: I585c05efd72e62d2148be90a3088aa99c6279646 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539040 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: danakj <[email protected]> Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Daniel Bratell <[email protected]> Cr-Commit-Position: refs/heads/master@{#644978}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .