From d014f653983f9db6a1bf72029b58b16e35f8ad53 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Fri, 10 Jan 2014 11:19:45 +0000 Subject: [PATCH] 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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198936 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/LangOptions.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/clang/Basic/LangOptions.def b/include/clang/Basic/LangOptions.def index cbde6e27c2..dbc3e3522c 100644 --- a/include/clang/Basic/LangOptions.def +++ b/include/clang/Basic/LangOptions.def @@ -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") -- 2.40.0