Do not warn on keyword undef
authorSerge Pavlov <sepavloff@gmail.com>
Fri, 12 Dec 2014 06:37:55 +0000 (06:37 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Fri, 12 Dec 2014 06:37:55 +0000 (06:37 +0000)
commit59da7b8a685cdbc8db9da5de9beac3c8803535e9
treeddb483ccdad8ec5260a8f487ad3f5d027d79f912
parent15b8b949180e535c855e7dff5f56690082e29736
Do not warn on keyword undef

#undef a keyword is generally harmless but used often in configuration scripts.
Also added tests that I forgot to include to commit in r223114.

llvm-svn: 224100
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/PPDirectives.cpp
clang/test/PCH/single-token-macro.c
clang/test/Preprocessor/macro-reserved.c [new file with mode: 0644]
clang/test/Preprocessor/macro-reserved.cpp [new file with mode: 0644]
clang/test/Sema/thread-specifier.c