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/PPDirectives.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/PPDirectives.cpp')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 196a77f6426..e264efab9d7 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -1071,7 +1071,7 @@ void Preprocessor::HandleIncludeDirective(Token &IncludeTok, // we allow macros that expand to nothing after the filename, because this // falls into the category of "#include pp-tokens new-line" specified in // C99 6.10.2p4. - CheckEndOfDirective(IncludeTok.getIdentifierInfo()->getName(), true); + CheckEndOfDirective(IncludeTok.getIdentifierInfo()->getNameStart(), true); // Check that we don't have infinite #include recursion. if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { |