[PATCH] Warn on malformed header guards
Richard Trieu
rtrieu at google.com
Tue Jun 11 19:18:03 PDT 2013
Combine two if statements into one.
Rename variables dealing with #ifndef so they are clearer and consistent.
http://llvm-reviews.chandlerc.com/D898
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D898?vs=2202&id=2369#toc
Files:
test/Lexer/header.cpp
test/Lexer/Inputs/out-of-order-define.h
test/Lexer/Inputs/multiple.h
test/Lexer/Inputs/bad-header-guard.h
test/Lexer/Inputs/good-header-guard.h
test/Lexer/Inputs/different-define.h
test/Lexer/Inputs/no-define.h
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Lex/MultipleIncludeOpt.h
include/clang/Lex/Preprocessor.h
include/clang/Lex/HeaderSearch.h
lib/Lex/PPLexerChange.cpp
lib/Lex/PPDirectives.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D898.2.patch
Type: text/x-patch
Size: 13383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130611/e7a61c53/attachment.bin>
More information about the cfe-commits
mailing list