]> granicus.if.org Git - clang/commit
Preprocessor: support defined() with operator names for MS compatibility
authorAlp Toker <alp@nuanti.com>
Wed, 21 May 2014 06:13:51 +0000 (06:13 +0000)
committerAlp Toker <alp@nuanti.com>
Wed, 21 May 2014 06:13:51 +0000 (06:13 +0000)
commit4f6988e4874e78ff109af7053d7b98c2f591788b
treeb3047b66733453298d7f63b35b29500e31a2c22c
parentd685fc0eccf468b6d16204965b92f7ed65ee62b2
Preprocessor: support defined() with operator names for MS compatibility

Also flesh out missing tests, improve diagnostic QOI and fix a couple of corner
cases found in the process.

Fixes PR10606.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209276 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Lex/Preprocessor.h
lib/Lex/PPDirectives.cpp
lib/Lex/PPExpressions.cpp
test/Parser/cxx11-user-defined-literals.cpp
test/Preprocessor/cxx_oper_keyword.cpp
test/Preprocessor/cxx_oper_keyword_ms_compat.cpp
test/Preprocessor/ifdef-recover.c
test/Preprocessor/ucn-pp-identifier.c