]> granicus.if.org Git - clang/commit
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)
commitb9971bada4eeae74883b61ba96fc6d983b6b0e7f
treec5774497417dd31e99e8ee9e57ec7dda666e13f3
parent7baa711e61258a762db42e449e424bd0928318a6
Fix handling of invalid uses of the __has_warning builtin macro

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168265 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPMacroExpansion.cpp
test/Preprocessor/invalid-__has_warning1.c [new file with mode: 0644]
test/Preprocessor/invalid-__has_warning2.c [new file with mode: 0644]
test/Preprocessor/warning_tests.c