Fix handling of invalid uses of the __has_warning builtin macro
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Sat, 17 Nov 2012 19:14:53 +0000 (19:14 +0000)
committerAndy Gibbs <andyg1001@hotmail.co.uk>
Sat, 17 Nov 2012 19:14:53 +0000 (19:14 +0000)
commitf591982bb2908a80be2aebc52c98d9befc9b5937
tree2459a655e1254eb39028c36f99097e2664af3ca5
parent2794fcd61161882489741b4dc439cd8b9f2e6afe
Fix handling of invalid uses of the __has_warning builtin macro

llvm-svn: 168265
clang/lib/Lex/PPMacroExpansion.cpp
clang/test/Preprocessor/invalid-__has_warning1.c [new file with mode: 0644]
clang/test/Preprocessor/invalid-__has_warning2.c [new file with mode: 0644]
clang/test/Preprocessor/warning_tests.c