Revert "Convert a reachable llvm_unreachable into an assert."

This reverts commit 4a0267e3ad.
This commit is contained in:
Aaron Ballman 2020-03-24 16:05:42 -04:00
parent 3e11d84d9f
commit 7339fca25f
1 changed files with 3 additions and 3 deletions

View File

@ -134,9 +134,9 @@ StringRef AnalyzerOptions::getCheckerStringOption(StringRef CheckerName,
CheckerName = CheckerName.substr(0, Pos);
} while (!CheckerName.empty() && SearchInParents);
assert(false && "Unknown checker option! Did you call getChecker*Option "
"with incorrect parameters? User input must've been "
"verified by CheckerRegistry.");
llvm_unreachable("Unknown checker option! Did you call getChecker*Option "
"with incorrect parameters? User input must've been "
"verified by CheckerRegistry.");
return "";
}