diff options
Diffstat (limited to 'clang/utils/TableGen/OptParserEmitter.cpp')
-rw-r--r-- | clang/utils/TableGen/OptParserEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/TableGen/OptParserEmitter.cpp b/clang/utils/TableGen/OptParserEmitter.cpp index f095a28b4a7..674c89af9f9 100644 --- a/clang/utils/TableGen/OptParserEmitter.cpp +++ b/clang/utils/TableGen/OptParserEmitter.cpp @@ -77,7 +77,7 @@ static int CompareOptionRecords(const void *Av, const void *Bv) { B->getValueAsListOfStrings("Prefixes")) { PrintError(A->getLoc(), Twine("Option is equivilent to")); PrintError(B->getLoc(), Twine("Other defined here")); - throw "Eqivilant Options found."; + PrintFatalError("Equivalent Options found."); } return APrec < BPrec ? -1 : 1; } |