diff options
author | Steve Naroff <snaroff@apple.com> | 2008-04-11 19:35:35 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-04-11 19:35:35 +0000 |
commit | 5a4611cdda5d9140412f5935d694858ff0307611 (patch) | |
tree | 3b10b2c4d18fc4721727ea71071a13131e8f6ce5 /clang/lib/AST/DeclObjC.cpp | |
parent | 988990f8426958e3e1ea85d5e341a07966c7c405 (diff) | |
download | bcm5719-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.cpp | 5 |
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); } |