diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-16 18:51:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-16 18:51:42 +0000 |
commit | bbee00b6456e90a09f63c83c20233e6c5ad6000a (patch) | |
tree | 679de00fd95293991c271a0022eeabd5bdf3311c /include/clang/Lex | |
parent | 99890659385f052412d479e8569b10069ac2b12b (diff) |
minor cleanups to StringLiteralParser: no need to pass target info
into its ctor. Also, make it handle validity checking of pascal
strings instead of making clients do it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex')
-rw-r--r-- | include/clang/Lex/LiteralSupport.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Lex/LiteralSupport.h b/include/clang/Lex/LiteralSupport.h index 78f320fc64..06068bad7b 100644 --- a/include/clang/Lex/LiteralSupport.h +++ b/include/clang/Lex/LiteralSupport.h @@ -141,7 +141,6 @@ public: /// literals) (C99 5.1.1.2p1). class StringLiteralParser { Preprocessor &PP; - TargetInfo &Target; unsigned MaxTokenLength; unsigned SizeBound; @@ -150,7 +149,7 @@ class StringLiteralParser { char *ResultPtr; // cursor public: StringLiteralParser(const Token *StringToks, unsigned NumStringToks, - Preprocessor &PP, TargetInfo &T); + Preprocessor &PP); bool hadError; bool AnyWide; bool Pascal; |