commit | 35269c72f0da937d9f09515f53a7b98bf9903c5e | [log] [tgz] |
---|---|---|
author | Quinten Yearsley <qyearsley@chromium.org> | Tue Jan 22 22:17:38 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 22 22:17:38 2019 |
tree | 10a25b7ef3fc3d1a8dfe41452c0d52d885a4f6f0 | |
parent | e6bfde824c09f7b6cd421b5e239d59745e4d0da5 [diff] |
[tricium] Enable cpplint analyzer in chromium/src Discussion: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/I2fjO9pSVDU Since we already enforce clang-format on C++ code in Chromium, it's not very helpful to do a separate and possibly occasionally conflicting set of formatting checks using cpplint, so whitespace checks should be disabled. The initial set filters are: - disable all by default +readability/todo todo should be followed by parentheses +readability/check dcheck macros +readability/casting use static_cast +readability/fn_size avoid long functions +runtime/explicit mark single arg ctors are explicit +build/include_what_you_use add include headers +build/header_guard use header guards +build/include_order sort includes Bug: 894530 Change-Id: I962b73a6be83285110b4a678de7a3ac27995c44f Reviewed-on: https://chromium-review.googlesource.com/c/1415258 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> Cr-Commit-Position: refs/heads/master@{#624960}
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 .