summaryrefslogtreecommitdiff
path: root/test/Preprocessor/invalid-__has_warning2.c
Commit message (Collapse)AuthorAge
* Refactored duplicate string literal lexing code within Preprocessor, into aAndy Gibbs2012-11-17
| | | | | | | | | | | | | common LexStringLiteral function. In doing so, some consistency problems have been ironed out (e.g. where the first token in the string literal was lexed with macro expansion, but subsequent ones were not) and also an erroneous diagnostic has been corrected. LexStringLiteral is complemented by a FinishLexStringLiteral function which can be used in the situation where the first token of the string literal has already been lexed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168266 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix handling of invalid uses of the __has_warning builtin macroAndy Gibbs2012-11-17
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168265 91177308-0d34-0410-b5e6-96231b3b80d8