From 07d0785dbb0901ff8953ee9cabb5145d46ebba30 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 18 Oct 2009 21:17:35 +0000 Subject: PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients are updated. llvm-svn: 84447 --- clang/lib/AST/DeclarationName.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/AST/DeclarationName.cpp') 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(); } -- cgit v1.2.3