forked from OSchip/llvm-project
add option for C++ operator names, patch by Bill.
llvm-svn: 39244
This commit is contained in:
parent
69c7ee2d51
commit
3034f66584
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue