summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-23 20:27:29 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-23 20:27:29 +0000
commite4d082827de840d5e829b48a175f3daf8078993d (patch)
tree3c360a382e4be823d2726e8bf3de2030dd5c35c4 /clang/lib/Lex/Preprocessor.cpp
parent41fc05cad83dcc1fbd5928129103289cb5724569 (diff)
downloadbcm5719-llvm-e4d082827de840d5e829b48a175f3daf8078993d.tar.gz
bcm5719-llvm-e4d082827de840d5e829b48a175f3daf8078993d.zip
Remove an assertion that is not valid if we cancel parsing.
llvm-svn: 145108
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index af0faca43b9..798244c3d2d 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -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;
OpenPOWER on IntegriCloud