summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-03 18:05:44 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-03 18:05:44 +0000
commitfac3162022c02cdeb1d0060246ce9219c0a675dc (patch)
tree021edaaaf9538bf9229214145de8635932a2c443 /clang/lib/AST/DeclObjC.cpp
parent4ce060b3da6b64c44e4d22b4a1a2111276ada553 (diff)
downloadbcm5719-llvm-fac3162022c02cdeb1d0060246ce9219c0a675dc.tar.gz
bcm5719-llvm-fac3162022c02cdeb1d0060246ce9219c0a675dc.zip
Keep track of an @implementation's super class name location, if one was provided.
llvm-svn: 181039
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index ad09afe2694..b441f7ff1e2 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -1648,12 +1648,13 @@ ObjCImplementationDecl::Create(ASTContext &C, DeclContext *DC,
ObjCInterfaceDecl *SuperDecl,
SourceLocation nameLoc,
SourceLocation atStartLoc,
+ SourceLocation superLoc,
SourceLocation IvarLBraceLoc,
SourceLocation IvarRBraceLoc) {
if (ClassInterface && ClassInterface->hasDefinition())
ClassInterface = ClassInterface->getDefinition();
return new (C) ObjCImplementationDecl(DC, ClassInterface, SuperDecl,
- nameLoc, atStartLoc,
+ nameLoc, atStartLoc, superLoc,
IvarLBraceLoc, IvarRBraceLoc);
}
OpenPOWER on IntegriCloud