diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-03-22 01:15:17 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-03-22 01:15:17 +0000 |
commit | 4c9d46b3103415c409f53f241afafb9678d376ae (patch) | |
tree | a30196773830c140d773e23cd33a67f296922479 /clang/lib/Parse/Parser.cpp | |
parent | b41dde505ce87f5757bec2b5d0eaf83b74d67b4b (diff) | |
download | bcm5719-llvm-4c9d46b3103415c409f53f241afafb9678d376ae.tar.gz bcm5719-llvm-4c9d46b3103415c409f53f241afafb9678d376ae.zip |
Migrate 'PrettySTackTraceParserEntry' object out of Parser, and have it constructed within ParseAST. This avoids double crashes
during crash recovery.
llvm-svn: 128056
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
-rw-r--r-- | clang/lib/Parse/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index 3946fc72080..60ca1d49e7c 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -22,7 +22,7 @@ using namespace clang; Parser::Parser(Preprocessor &pp, Sema &actions) - : CrashInfo(*this), PP(pp), Actions(actions), Diags(PP.getDiagnostics()), + : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), GreaterThanIsOperator(true), ColonIsSacred(false), InMessageExpression(false), TemplateParameterDepth(0) { Tok.setKind(tok::eof); |