summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-01 23:31:19 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-01 23:31:19 +0000
commitea99b5d7365e8d1a151657b6e7922381d2c2833b (patch)
tree6ecefaf5eaa2072d25086d842932410c1680173b /clang/lib/Parse/Parser.cpp
parent9a28e84b325851310ca2cdfa59d8d8f2875d5a2e (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud