diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2014-11-19 22:03:46 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2014-11-19 22:03:46 +0000 |
| commit | 210bfe9c529d6e244384272bc3207ccd3137fa41 (patch) | |
| tree | 5e01a600eb236abdb052ac989ef13ddf4cc94ef3 /clang/lib | |
| parent | c1800d25241922f95e9aff8f72126e569d5134bf (diff) | |
| download | bcm5719-llvm-210bfe9c529d6e244384272bc3207ccd3137fa41.tar.gz bcm5719-llvm-210bfe9c529d6e244384272bc3207ccd3137fa41.zip | |
Constify a few IdentifierInfo * parameters.
No functionality change.
llvm-svn: 222392
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/AST/DeclObjC.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp index cc6560787ca..5deef588312 100644 --- a/clang/lib/AST/DeclObjC.cpp +++ b/clang/lib/AST/DeclObjC.cpp @@ -151,7 +151,7 @@ ObjCContainerDecl::HasUserDeclaredSetterMethod(const ObjCPropertyDecl *Property) ObjCPropertyDecl * ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, - IdentifierInfo *propertyID) { + const IdentifierInfo *propertyID) { // If this context is a hidden protocol definition, don't find any // property. if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(DC)) { @@ -181,8 +181,8 @@ ObjCPropertyDecl::getDefaultSynthIvarName(ASTContext &Ctx) const { /// FindPropertyDeclaration - Finds declaration of the property given its name /// in 'PropertyId' and returns it. It returns 0, if not found. -ObjCPropertyDecl * -ObjCContainerDecl::FindPropertyDeclaration(IdentifierInfo *PropertyId) const { +ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( + const IdentifierInfo *PropertyId) const { // Don't find properties within hidden protocol definitions. if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) { if (const ObjCProtocolDecl *Def = Proto->getDefinition()) |

