summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-04-11 19:35:35 +0000
committerSteve Naroff <snaroff@apple.com>2008-04-11 19:35:35 +0000
commit5a4611cdda5d9140412f5935d694858ff0307611 (patch)
tree3b10b2c4d18fc4721727ea71071a13131e8f6ce5 /clang/lib/AST/DeclObjC.cpp
parent988990f8426958e3e1ea85d5e341a07966c7c405 (diff)
downloadbcm5719-llvm-5a4611cdda5d9140412f5935d694858ff0307611.tar.gz
bcm5719-llvm-5a4611cdda5d9140412f5935d694858ff0307611.zip
Add class and super class location info to ObjCInterfaceDecl...
llvm-svn: 49553
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index 8126485c4ff..0b73ca5b578 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -37,11 +37,12 @@ ObjCMethodDecl *ObjCMethodDecl::Create(ASTContext &C,
ObjCInterfaceDecl *ObjCInterfaceDecl::Create(ASTContext &C,
SourceLocation atLoc,
unsigned numRefProtos,
- IdentifierInfo *Id,
+ IdentifierInfo *Id,
+ SourceLocation ClassLoc,
bool ForwardDecl, bool isInternal){
void *Mem = C.getAllocator().Allocate<ObjCInterfaceDecl>();
return new (Mem) ObjCInterfaceDecl(atLoc, numRefProtos,
- Id, ForwardDecl,
+ Id, ClassLoc, ForwardDecl,
isInternal);
}
OpenPOWER on IntegriCloud