forked from OSchip/llvm-project
Remove an assertion that is not valid if we cancel parsing.
llvm-svn: 145108
This commit is contained in:
parent
41fc05cad8
commit
e4d082827d
|
@ -74,9 +74,6 @@ Preprocessor::Preprocessor(DiagnosticsEngine &diags, LangOptions &opts,
|
|||
|
||||
Preprocessor::~Preprocessor() {
|
||||
assert(BacktrackPositions.empty() && "EnableBacktrack/Backtrack imbalance!");
|
||||
assert(((MacroExpandingLexersStack.empty() && MacroExpandedTokens.empty()) ||
|
||||
isCodeCompletionReached()) &&
|
||||
"Preprocessor::HandleEndOfTokenLexer should have cleared those");
|
||||
|
||||
while (!IncludeMacroStack.empty()) {
|
||||
delete IncludeMacroStack.back().TheLexer;
|
||||
|
|
Loading…
Reference in New Issue