| commit | 33a4b3db0de5fbba06264a46f560220b5f8f11a8 | [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 | be7f0fa608cba875aadb51581141eb56cff06290 | |
| parent | 2bb2aa27bfe729aa6d60b17cfafeaa959c7ea050 [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. llvm-svn: 183867