Remove an assertion that is not valid if we cancel parsing.

llvm-svn: 145108
This commit is contained in:
Argyrios Kyrtzidis 2011-11-23 20:27:29 +00:00
parent 41fc05cad8
commit e4d082827d
1 changed files with 0 additions and 3 deletions

View File

@ -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;