Preprocessor: make C++ operator names as macro identifiers a compatible extension
authorAlp Toker <alp@nuanti.com>
Sat, 31 May 2014 16:32:22 +0000 (16:32 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 31 May 2014 16:32:22 +0000 (16:32 +0000)
commite03e9e15f2a66fe1b947322850e37b8133521759
tree8efefe8b7b8b4d2a315f0dd766b5a07529df0bbc
parentb4690e3fd1c6b660fc4e9ef58ab8b34964a1c7a9
Preprocessor: make C++ operator names as macro identifiers a compatible extension

With recent changes, this is now a compatible language extension and can be
safely enabled with -ms-extensions instead of requiring the full
-ms-compatibility MSVC drop-in mode. As such we can now also emit an extension
warning under -Wmicrosoft to help users port their code.

llvm-svn: 209978
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/PPDirectives.cpp
clang/test/Parser/MicrosoftExtensions.cpp
clang/test/Preprocessor/cxx_oper_keyword_ms_compat.cpp