diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-11-01 02:14:50 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-11-01 02:14:50 +0000 |
commit | 703e7153af87981472770a793cb25d4893d381ec (patch) | |
tree | 0bba7bbffcca9ce03f5682ed65335043b0059dcf /clang/include/clang/Lex/LiteralSupport.h | |
parent | 2ae0e1e27903d407ba38ecf83cb5c9e19d73df38 (diff) | |
download | bcm5719-llvm-703e7153af87981472770a793cb25d4893d381ec.tar.gz bcm5719-llvm-703e7153af87981472770a793cb25d4893d381ec.zip |
Perform proper conversion for strings encoded in the source file as UTF-8. (For now, we are assuming the source character set is always UTF-8; this can be easily extended if necessary.)
Tests will be coming up in a subsequent commit.
Patch by Seth Cantrell.
llvm-svn: 143416
Diffstat (limited to 'clang/include/clang/Lex/LiteralSupport.h')
-rw-r--r-- | clang/include/clang/Lex/LiteralSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Lex/LiteralSupport.h b/clang/include/clang/Lex/LiteralSupport.h index b33092c753a..6f378041aef 100644 --- a/clang/include/clang/Lex/LiteralSupport.h +++ b/clang/include/clang/Lex/LiteralSupport.h @@ -197,7 +197,7 @@ public: private: void init(const Token *StringToks, unsigned NumStringToks); - void CopyStringFragment(StringRef Fragment); + bool CopyStringFragment(StringRef Fragment); }; } // end namespace clang |