]> granicus.if.org Git - clang/commitdiff
Rename ObjCImplementationDecl::getSuperLoc() -> getSuperClassLoc() for consistency...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 3 May 2013 22:31:26 +0000 (22:31 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 3 May 2013 22:31:26 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181064 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclObjC.h
lib/AST/ASTImporter.cpp
lib/Serialization/ASTWriterDecl.cpp

index cf1ec1b8006b6e039f323dcafa0de20991ecd3fb..40de0135a74f693b5fe29d6005e016f23bc5cca5 100644 (file)
@@ -1907,7 +1907,7 @@ public:
 
   const ObjCInterfaceDecl *getSuperClass() const { return SuperClass; }
   ObjCInterfaceDecl *getSuperClass() { return SuperClass; }
-  SourceLocation getSuperLoc() const { return SuperLoc; }
+  SourceLocation getSuperClassLoc() const { return SuperLoc; }
 
   void setSuperClass(ObjCInterfaceDecl * superCls) { SuperClass = superCls; }
 
index 04768d23569955284b328d37488fac6c4e2097c0..915eb6feb85e7327edea3d4774f1419982007010 100644 (file)
@@ -3650,7 +3650,7 @@ Decl *ASTNodeImporter::VisitObjCImplementationDecl(ObjCImplementationDecl *D) {
                                           Iface, Super,
                                           Importer.Import(D->getLocation()),
                                           Importer.Import(D->getAtStartLoc()),
-                                          Importer.Import(D->getSuperLoc()),
+                                          Importer.Import(D->getSuperClassLoc()),
                                           Importer.Import(D->getIvarLBraceLoc()),
                                           Importer.Import(D->getIvarRBraceLoc()));
     
index 105042fda36bac50565d9b2d1c35db6e43a2039e..73cdda5212d8cef6a2796b7df947db8c46e8f60b 100644 (file)
@@ -613,7 +613,7 @@ void ASTDeclWriter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *D) {
 void ASTDeclWriter::VisitObjCImplementationDecl(ObjCImplementationDecl *D) {
   VisitObjCImplDecl(D);
   Writer.AddDeclRef(D->getSuperClass(), Record);
-  Writer.AddSourceLocation(D->getSuperLoc(), Record);
+  Writer.AddSourceLocation(D->getSuperClassLoc(), Record);
   Writer.AddSourceLocation(D->getIvarLBraceLoc(), Record);
   Writer.AddSourceLocation(D->getIvarRBraceLoc(), Record);
   Record.push_back(D->hasNonZeroConstructors());