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)
commit4d247e7012ae6355c9b63b6a6549adadd0a16fd1
tree7a9023b34b23836242445e0198efc694ec78c0ce
parent60469e2ac0248f29afb4a9247913410ecef8ddd4
Improve diagnostic for the case when a non-defined function-like macro is used
in a preprocessor constant expression.

llvm-svn: 266495
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/PPExpressions.cpp
clang/test/Preprocessor/expr_invalid_tok.c
clang/test/Preprocessor/has_attribute.c