diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-17 23:12:20 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-17 23:12:20 +0000 |
commit | c09cba67d0ad01e53e0fed07322e95dd281bcfd9 (patch) | |
tree | 9410b477f0582359c707acb5080363990f6adf02 /lib/Parse/MinimalAction.cpp | |
parent | 64989f04d13d9a4a62cc7ebee6351b7c4dbe2e74 (diff) |
Pass source locations of identifiers referenced by @class through Action::ActOnForwardClassDeclaration().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/MinimalAction.cpp')
-rw-r--r-- | lib/Parse/MinimalAction.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Parse/MinimalAction.cpp b/lib/Parse/MinimalAction.cpp index bf05b2bacc..a83966d91e 100644 --- a/lib/Parse/MinimalAction.cpp +++ b/lib/Parse/MinimalAction.cpp @@ -213,7 +213,9 @@ MinimalAction::ActOnStartClassInterface(SourceLocation AtInterfaceLoc, /// Scope will always be top level file scope. Action::DeclPtrTy MinimalAction::ActOnForwardClassDeclaration(SourceLocation AtClassLoc, - IdentifierInfo **IdentList, unsigned NumElts) { + IdentifierInfo **IdentList, + SourceLocation *IdentLocs, + unsigned NumElts) { for (unsigned i = 0; i != NumElts; ++i) { // Allocate and add the 'TypeNameInfo' "decl". getTable(TypeNameInfoTablePtr)->AddEntry(true, IdentList[i]); |