diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-20 06:58:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-20 06:58:45 +0000 |
commit | 686775deca8b8685eb90801495880e3abdd844c2 (patch) | |
tree | 64e6e34d0e6d1078631305a3f1ac1dfb821f4a59 /include/clang/Lex/Lexer.h | |
parent | 9594675cc1eb52a054de13c4a21e466643847480 (diff) |
now that we have a centralized place to do so, add some using declarations for
some common llvm types: stringref and smallvector. This cleans up the codebase
quite a bit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Lexer.h')
-rw-r--r-- | include/clang/Lex/Lexer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Lex/Lexer.h b/include/clang/Lex/Lexer.h index f4297627e8..990c1eedbb 100644 --- a/include/clang/Lex/Lexer.h +++ b/include/clang/Lex/Lexer.h @@ -208,7 +208,7 @@ public: /// Stringify - Convert the specified string into a C string by escaping '\' /// and " characters. This does not add surrounding ""'s to the string. - static void Stringify(llvm::SmallVectorImpl<char> &Str); + static void Stringify(SmallVectorImpl<char> &Str); /// getSpelling - This method is used to get the spelling of a token into a @@ -244,8 +244,8 @@ public: /// This method lexes at the expansion depth of the given /// location and does not jump to the expansion or spelling /// location. - static llvm::StringRef getSpelling(SourceLocation loc, - llvm::SmallVectorImpl<char> &buffer, + static StringRef getSpelling(SourceLocation loc, + SmallVectorImpl<char> &buffer, const SourceManager &SourceMgr, const LangOptions &Features, bool *invalid = 0); |