aboutsummaryrefslogtreecommitdiff
path: root/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
commit01eb9b9683535d8a65c704ad2c545903409e2d36 (patch)
tree62f21f2b440d6a4a196cf2fcb6d06eeb7b9a6fb7 /lib/AST/DeclarationName.cpp
parentfa4f55067bb62a61eb48f77b0216ab1bb1168d27 (diff)
PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients
are updated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclarationName.cpp')
-rw-r--r--lib/AST/DeclarationName.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp
index 3ab9fa1904..56a597570d 100644
--- a/lib/AST/DeclarationName.cpp
+++ b/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();
}