зеркало из https://github.com/microsoft/clang-1.git
Renamed getCatLoc() to getLocation() to be consistant for such
getter names. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42577 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
e260e62dda
Коммит
79139a1217
|
@ -1339,7 +1339,7 @@ void Sema::ImplCategoryMethodsVsIntfMethods(ObjcCategoryImplDecl *CatImplDecl,
|
|||
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());
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = "";
|
||||
|
|
|
@ -477,7 +477,7 @@ public:
|
|||
ClassInterface->setListCategories(this);
|
||||
}
|
||||
|
||||
SourceLocation getCatLoc() const { return CatLoc; }
|
||||
SourceLocation getLocation() const { return CatLoc; }
|
||||
|
||||
static bool classof(const Decl *D) {
|
||||
return D->getKind() == ObjcCategory;
|
||||
|
|
Загрузка…
Ссылка в новой задаче