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 | d6d4fcf7fd2cdb8c75e6feb5ab1a7132784e96e1 (patch) | |
tree | 2b1d1cff1dc898dc76a8a9e2dba766cff27bd4ae /lib/Parse/Parser.cpp | |
parent | 9ea9bdbc14374f7bacdb50d3e52c664ff12150ff (diff) |
Unbreak the build
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index 223d8865d6..e7a771edda 100644 --- a/lib/Parse/Parser.cpp +++ b/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. |