r198936 - Update LangOpt descriptions
Alp Toker
alp at nuanti.com
Fri Jan 10 03:19:45 PST 2014
Author: alp
Date: Fri Jan 10 05:19:45 2014
New Revision: 198936
URL: http://llvm.org/viewvc/llvm-project?rev=198936&view=rev
Log:
Update LangOpt descriptions
Based on recent discussions, attempt to provide a clearer distinction between
MicrosoftMode and MicrosoftExt. This still doesn't feel perfect but gives a
better idea which is which.
Also update the CPlusPlus11 description which got missed in r171367.
C++0x is dead, long live C++0x!
Modified:
cfe/trunk/include/clang/Basic/LangOptions.def
Modified: cfe/trunk/include/clang/Basic/LangOptions.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/LangOptions.def?rev=198936&r1=198935&r2=198936&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/LangOptions.def (original)
+++ cfe/trunk/include/clang/Basic/LangOptions.def Fri Jan 10 05:19:45 2014
@@ -43,12 +43,12 @@
LANGOPT(C99 , 1, 0, "C99")
LANGOPT(C11 , 1, 0, "C11")
-LANGOPT(MicrosoftExt , 1, 0, "Microsoft extensions")
-LANGOPT(MicrosoftMode , 1, 0, "Microsoft compatibility mode")
+LANGOPT(MicrosoftExt , 1, 0, "Microsoft C++ extensions")
+LANGOPT(MicrosoftMode , 1, 0, "Microsoft Visual C++ full compatibility mode")
LANGOPT(AsmBlocks , 1, 0, "Microsoft inline asm blocks")
LANGOPT(Borland , 1, 0, "Borland extensions")
LANGOPT(CPlusPlus , 1, 0, "C++")
-LANGOPT(CPlusPlus11 , 1, 0, "C++0x")
+LANGOPT(CPlusPlus11 , 1, 0, "C++11")
LANGOPT(CPlusPlus1y , 1, 0, "C++1y")
LANGOPT(ObjC1 , 1, 0, "Objective-C 1")
LANGOPT(ObjC2 , 1, 0, "Objective-C 2")
More information about the cfe-commits
mailing list