forked from OSchip/llvm-project
[flang] Add -fxor-operator
Original-commit: flang-compiler/f18@b8365afc91 Reviewed-on: https://github.com/flang-compiler/f18/pull/557 Tree-same-pre-rewrite: false
This commit is contained in:
parent
ef061f3e65
commit
f7057e031c
|
@ -415,12 +415,13 @@ int main(int argc, char *const argv[]) {
|
|||
options.features.Enable(Fortran::parser::LanguageFeature::OldDebugLines);
|
||||
} else if (arg == "-E") {
|
||||
driver.dumpCookedChars = true;
|
||||
} else if (arg == "-fbackslash") {
|
||||
} else if (arg == "-fbackslash" || arg == "-fno-backslash") {
|
||||
options.features.Enable(
|
||||
Fortran::parser::LanguageFeature::BackslashEscapes, true);
|
||||
} else if (arg == "-fno-backslash") {
|
||||
options.features.Enable(
|
||||
Fortran::parser::LanguageFeature::BackslashEscapes, false);
|
||||
Fortran::parser::LanguageFeature::BackslashEscapes,
|
||||
arg == "-fbackslash");
|
||||
} else if (arg == "-fxor-operator" || arg == "-fno-xor-operator") {
|
||||
options.features.Enable(Fortran::parser::LanguageFeature::XOROperator,
|
||||
arg == "-fxor-operator");
|
||||
} else if (arg == "-fdebug-dump-provenance") {
|
||||
driver.dumpProvenance = true;
|
||||
} else if (arg == "-fdebug-dump-parse-tree") {
|
||||
|
|
Loading…
Reference in New Issue