add option for C++ operator names, patch by Bill.

llvm-svn: 39244
This commit is contained in:
Chris Lattner 2006-12-04 07:46:15 +00:00
parent 69c7ee2d51
commit 3034f66584
1 changed files with 3 additions and 2 deletions

View File

@ -29,13 +29,14 @@ struct LangOptions {
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;
}
};