PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients

are updated.

llvm-svn: 84447
This commit is contained in:
Daniel Dunbar
2009-10-18 21:17:35 +00:00
parent 63404d2861
commit 07d0785dbb
24 changed files with 41 additions and 45 deletions

View File

@@ -67,7 +67,7 @@ Parser::OwningExprResult Parser::ParseInitializerWithPotentialDesignator() {
const IdentifierInfo *FieldName = Tok.getIdentifierInfo();
llvm::SmallString<256> NewSyntax;
llvm::raw_svector_ostream(NewSyntax) << '.' << FieldName->getNameStr()
llvm::raw_svector_ostream(NewSyntax) << '.' << FieldName->getName()
<< " = ";
SourceLocation NameLoc = ConsumeToken(); // Eat the identifier.