diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-24 04:00:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-24 04:00:27 +0000 |
commit | 39f34e97d6a468f0a7dfa5664c61217cffc65b74 (patch) | |
tree | 9681872a04f2582824f6038b5df91cea35bb4742 /lib/AST/ASTContext.cpp | |
parent | 8ec03f58c33c33a917f54bb7f2cd61b6d7ffe0ca (diff) |
Migrate some stuff from NamedDecl::getName() to
NamedDecl::getNameAsString() to make it more explicit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index b87b1f4f2e..e1b56ad6fb 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -1589,7 +1589,7 @@ void ASTContext::getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD, if (SynthesizePID) { const ObjCIvarDecl *OID = SynthesizePID->getPropertyIvarDecl(); S += ",V"; - S += OID->getName(); + S += OID->getNameAsString(); } // FIXME: OBJCGC: weak & strong @@ -1695,7 +1695,7 @@ void ASTContext::getObjCEncodingForTypeImpl(QualType T, std::string& S, FieldDecl *FD = RDecl->getMember(i); if (NameFields) { S += '"'; - S += FD->getName(); + S += FD->getNameAsString(); S += '"'; } |