summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-17 23:12:20 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-17 23:12:20 +0000
commita26da8503c817f1c50354b47dc1d19ca8aab095f (patch)
treee47686baf0e8375da12a668b242b68a7874aac0e /clang/lib/Frontend
parent96b96d5f2ea5e3771dff118c64476a474d9565e7 (diff)
downloadbcm5719-llvm-a26da8503c817f1c50354b47dc1d19ca8aab095f.tar.gz
bcm5719-llvm-a26da8503c817f1c50354b47dc1d19ca8aab095f.zip
Pass source locations of identifiers referenced by @class through Action::ActOnForwardClassDeclaration().
llvm-svn: 89162
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r--clang/lib/Frontend/PrintParserCallbacks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PrintParserCallbacks.cpp b/clang/lib/Frontend/PrintParserCallbacks.cpp
index 25b40c78183..deb5498b906 100644
--- a/clang/lib/Frontend/PrintParserCallbacks.cpp
+++ b/clang/lib/Frontend/PrintParserCallbacks.cpp
@@ -79,10 +79,11 @@ namespace {
/// Scope will always be top level file scope.
Action::DeclPtrTy ActOnForwardClassDeclaration(SourceLocation AtClassLoc,
IdentifierInfo **IdentList,
+ SourceLocation *IdentLocs,
unsigned NumElts) {
Out << __FUNCTION__ << "\n";
return MinimalAction::ActOnForwardClassDeclaration(AtClassLoc, IdentList,
- NumElts);
+ IdentLocs, NumElts);
}
// Pure Printing
OpenPOWER on IntegriCloud