diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 20:26:12 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 20:26:12 +0000 |
commit | 2c422dc9ca678c374a7cde30e880db2b62bc333f (patch) | |
tree | cc828622678dc86050c611deff9c3d22712f2b7a /clang/lib/Lex/Preprocessor.cpp | |
parent | e175bb194171fdf0bf0b5051e957bc445b9f0011 (diff) | |
download | bcm5719-llvm-2c422dc9ca678c374a7cde30e880db2b62bc333f.tar.gz bcm5719-llvm-2c422dc9ca678c374a7cde30e880db2b62bc333f.zip |
Move clients to use IdentifierInfo::getNameStart() instead of getName()
llvm-svn: 84436
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index e41bc5cab1f..7f3afc60764 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -234,7 +234,7 @@ unsigned Preprocessor::getSpelling(const Token &Tok, // If this token is an identifier, just return the string from the identifier // table, which is very quick. if (const IdentifierInfo *II = Tok.getIdentifierInfo()) { - Buffer = II->getName(); + Buffer = II->getNameStart(); return II->getLength(); } |