forked from OSchip/llvm-project
Revert "Convert a reachable llvm_unreachable into an assert."
This reverts commit 4a0267e3ad
.
This commit is contained in:
parent
3e11d84d9f
commit
7339fca25f
|
@ -134,9 +134,9 @@ StringRef AnalyzerOptions::getCheckerStringOption(StringRef CheckerName,
|
||||||
CheckerName = CheckerName.substr(0, Pos);
|
CheckerName = CheckerName.substr(0, Pos);
|
||||||
} while (!CheckerName.empty() && SearchInParents);
|
} while (!CheckerName.empty() && SearchInParents);
|
||||||
|
|
||||||
assert(false && "Unknown checker option! Did you call getChecker*Option "
|
llvm_unreachable("Unknown checker option! Did you call getChecker*Option "
|
||||||
"with incorrect parameters? User input must've been "
|
"with incorrect parameters? User input must've been "
|
||||||
"verified by CheckerRegistry.");
|
"verified by CheckerRegistry.");
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue