diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-01 23:31:19 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-01 23:31:19 +0000 |
commit | ea99b5d7365e8d1a151657b6e7922381d2c2833b (patch) | |
tree | 6ecefaf5eaa2072d25086d842932410c1680173b /clang/lib/Parse/Parser.cpp | |
parent | 9a28e84b325851310ca2cdfa59d8d8f2875d5a2e (diff) | |
download | bcm5719-llvm-ea99b5d7365e8d1a151657b6e7922381d2c2833b.tar.gz bcm5719-llvm-ea99b5d7365e8d1a151657b6e7922381d2c2833b.zip |
Unbreak the build
llvm-svn: 97519
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 223d8865d61..e7a771edda4 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -274,7 +274,7 @@ void Parser::EnterScope(unsigned ScopeFlags) { } else { CurScope = new Scope(CurScope, ScopeFlags); } - CurScope->NumErrorsAtStart = Diags.getNumErrors(); + CurScope->setNumErrorsAtStart(Diags.getNumErrors()); } /// ExitScope - Pop a scope off the scope stack. |