[cfe-commits] r42577 - in /cfe/trunk: Sema/SemaDecl.cpp clang.xcodeproj/project.pbxproj include/clang/AST/DeclObjC.h
Fariborz Jahanian
fjahanian at apple.com
Wed Oct 3 09:23:52 PDT 2007
Author: fjahanian
Date: Wed Oct 3 11:23:52 2007
New Revision: 42577
URL: http://llvm.org/viewvc/llvm-project?rev=42577&view=rev
Log:
Renamed getCatLoc() to getLocation() to be consistant for such
getter names.
Modified:
cfe/trunk/Sema/SemaDecl.cpp
cfe/trunk/clang.xcodeproj/project.pbxproj
cfe/trunk/include/clang/AST/DeclObjC.h
Modified: cfe/trunk/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaDecl.cpp?rev=42577&r1=42576&r2=42577&view=diff
==============================================================================
--- cfe/trunk/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/Sema/SemaDecl.cpp Wed Oct 3 11:23:52 2007
@@ -1339,7 +1339,7 @@
CheckProtocolMethodDefs(PDecl, IncompleteImpl, InsMap, ClsMap);
}
if (IncompleteImpl)
- Diag(CatClassDecl->getCatLoc(), diag::warn_incomplete_impl_category,
+ Diag(CatClassDecl->getLocation(), diag::warn_incomplete_impl_category,
CatClassDecl->getCatName()->getName());
}
Modified: cfe/trunk/clang.xcodeproj/project.pbxproj
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/clang.xcodeproj/project.pbxproj?rev=42577&r1=42576&r2=42577&view=diff
==============================================================================
--- cfe/trunk/clang.xcodeproj/project.pbxproj (original)
+++ cfe/trunk/clang.xcodeproj/project.pbxproj Wed Oct 3 11:23:52 2007
@@ -737,6 +737,7 @@
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "clang" */;
+ compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 08FB7794FE84155DC02AAC07 /* clang */;
projectDirPath = "";
Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=42577&r1=42576&r2=42577&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Wed Oct 3 11:23:52 2007
@@ -477,7 +477,7 @@
ClassInterface->setListCategories(this);
}
- SourceLocation getCatLoc() const { return CatLoc; }
+ SourceLocation getLocation() const { return CatLoc; }
static bool classof(const Decl *D) {
return D->getKind() == ObjcCategory;
More information about the cfe-commits
mailing list