[PATCH] D15866: Warn when using `defined` in a macro definition.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 14 19:33:04 PST 2016
thakis updated this revision to Diff 44958.
thakis added a comment.
For function-type macros, make the warning only show up with -pedantic
http://reviews.llvm.org/D15866
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/PPExpressions.cpp
test/Lexer/cxx-features.cpp
test/Preprocessor/expr_define_expansion.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15866.44958.patch
Type: text/x-patch
Size: 5526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160115/679b56af/attachment-0001.bin>
More information about the cfe-commits
mailing list