From 5a4611cdda5d9140412f5935d694858ff0307611 Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Fri, 11 Apr 2008 19:35:35 +0000 Subject: Add class and super class location info to ObjCInterfaceDecl... llvm-svn: 49553 --- clang/lib/AST/DeclObjC.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'clang/lib/AST/DeclObjC.cpp') 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(); return new (Mem) ObjCInterfaceDecl(atLoc, numRefProtos, - Id, ForwardDecl, + Id, ClassLoc, ForwardDecl, isInternal); } -- cgit v1.2.3