[cfe-commits] r39244 - /cfe/cfe/trunk/include/clang/Basic/LangOptions.h
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:41:49 PDT 2007
Author: sabre
Date: Wed Jul 11 11:41:49 2007
New Revision: 39244
URL: http://llvm.org/viewvc/llvm-project?rev=39244&view=rev
Log:
add option for C++ operator names, patch by Bill.
Modified:
cfe/cfe/trunk/include/clang/Basic/LangOptions.h
Modified: cfe/cfe/trunk/include/clang/Basic/LangOptions.h
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/include/clang/Basic/LangOptions.h?rev=39244&r1=39243&r2=39244&view=diff
==============================================================================
--- cfe/cfe/trunk/include/clang/Basic/LangOptions.h (original)
+++ cfe/cfe/trunk/include/clang/Basic/LangOptions.h Wed Jul 11 11:41:49 2007
@@ -29,13 +29,14 @@
unsigned Microsoft : 1; // Microsoft extensions.
unsigned CPlusPlus : 1; // C++ Support
unsigned NoExtensions : 1; // All extensions are disabled, strict mode.
-
+ unsigned CXXOperatorNames : 1; // Treat C++ operator names as keywords.
+
unsigned ObjC1 : 1; // Objective C 1 support enabled.
unsigned ObjC2 : 1; // Objective C 2 support enabled.
LangOptions() {
Trigraphs = BCPLComment = DollarIdents = Digraphs = ObjC1 = ObjC2 = 0;
- C99 = Microsoft = CPlusPlus = NoExtensions = 0;
+ C99 = Microsoft = CPlusPlus = NoExtensions = CXXOperatorNames = 0;
}
};
More information about the cfe-commits
mailing list