commit | b59e9376b4d6907d28f5174a336bd116e404fe57 | [log] [tgz] |
---|---|---|
author | Daniel Bratell <bratell@opera.com> | Wed Feb 28 12:30:52 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 28 12:30:52 2018 |
tree | de904ae3836d7fb4ef263cb69922b9b710c1fd65 | |
parent | d6ea507add810a8675967da387a3dbaf48f2c160 [diff] |
Corrected reused include guards If the same include guard is used twice, it becomes impossible to include both those headers in the same translation unit and that can be hard to debug and understand. This patch renames some include guards that have the same names (copy/paste) as existing include guards. Found while working on a PRESUBMIT test for include guards. It will not warn for these things, but it was easy to add that test locally. There are another few thousand files that have wrongly named include guards. Left as an exercise to the reader. Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Ic7ba08558d3fbae0d3bee843f3092d472f8c643b Reviewed-on: https://chromium-review.googlesource.com/937712 Reviewed-by: Jochen Eisinger <jochen@chromium.org> Commit-Queue: Daniel Bratell <bratell@opera.com> Cr-Commit-Position: refs/heads/master@{#539800}
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 .