commit | 671538e8a51eab5bd65a1f9f327ba7f44f84e486 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Wed Jun 12 21:20:57 2013 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Wed Jun 12 21:20:57 2013 +0000 |
tree | 3ac9cce6abe8b25d0db14b313c6b17b5549256f8 | |
parent | a603569515eea06e54e6e041b1c690d33086f375 [diff] |
Introducing -Wheader-guard, a warning that checks header guards actually work properly. This warning checks that the #ifndef and #define directives at the beginning of a header refer to the same macro name. Includes a fix-it hint to correct the header guard. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183867 91177308-0d34-0410-b5e6-96231b3b80d8