]> granicus.if.org Git - clang/commit
Improve diagnostic for the case when a non-defined function-like macro is used
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 16 Apr 2016 00:07:09 +0000 (00:07 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 16 Apr 2016 00:07:09 +0000 (00:07 +0000)
commitacd477f5a48c2bb5181574d4c4ea753587f91c42
treea6166928ee79813883e8a8a252c73d4fdb7fc2ab
parentc74bb5e707bc42a010ab107fbe3515c2f39385c1
Improve diagnostic for the case when a non-defined function-like macro is used
in a preprocessor constant expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266495 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/PPExpressions.cpp
test/Preprocessor/expr_invalid_tok.c
test/Preprocessor/has_attribute.c