summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclarationName.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-18 21:17:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-18 21:17:35 +0000
commit07d0785dbb0901ff8953ee9cabb5145d46ebba30 (patch)
treed9d2b1e88dc4d6346ae92b6436e43e1e43dd4dda /clang/lib/AST/DeclarationName.cpp
parent63404d28615317d3e6de67d852b2bd2c868a1267 (diff)
downloadbcm5719-llvm-07d0785dbb0901ff8953ee9cabb5145d46ebba30.tar.gz
bcm5719-llvm-07d0785dbb0901ff8953ee9cabb5145d46ebba30.zip
PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients
are updated. llvm-svn: 84447
Diffstat (limited to 'clang/lib/AST/DeclarationName.cpp')
-rw-r--r--clang/lib/AST/DeclarationName.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclarationName.cpp b/clang/lib/AST/DeclarationName.cpp
index 3ab9fa19045..56a597570dd 100644
--- a/clang/lib/AST/DeclarationName.cpp
+++ b/clang/lib/AST/DeclarationName.cpp
@@ -51,7 +51,7 @@ public:
bool operator<(DeclarationName LHS, DeclarationName RHS) {
if (IdentifierInfo *LhsId = LHS.getAsIdentifierInfo())
if (IdentifierInfo *RhsId = RHS.getAsIdentifierInfo())
- return LhsId->getNameStr() < RhsId->getNameStr();
+ return LhsId->getName() < RhsId->getName();
return LHS.getAsOpaqueInteger() < RHS.getAsOpaqueInteger();
}
OpenPOWER on IntegriCloud