summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2009-11-05 20:14:16 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2009-11-05 20:14:16 +0000
commited4e2950bc31eefd1fb4b4c40b99c1e712876734 (patch)
treec5865578d0c9062c84e197366ce539721ff9c8a9 /clang/lib/Frontend/PCHWriter.cpp
parent866ad5d8eaef7d45c20ff7f057bb7a8d0833109d (diff)
downloadbcm5719-llvm-ed4e2950bc31eefd1fb4b4c40b99c1e712876734.tar.gz
bcm5719-llvm-ed4e2950bc31eefd1fb4b4c40b99c1e712876734.zip
Adding -fshort-wchar option.
llvm-svn: 86167
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp
index de56166125e..436428b3755 100644
--- a/clang/lib/Frontend/PCHWriter.cpp
+++ b/clang/lib/Frontend/PCHWriter.cpp
@@ -765,6 +765,7 @@ void PCHWriter::WriteLanguageOptions(const LangOptions &LangOpts) {
// be enabled.
Record.push_back(LangOpts.CharIsSigned); // Whether char is a signed or
// unsigned type
+ Record.push_back(LangOpts.ShortWChar); // force wchar_t to be unsigned short
Record.push_back(LangOpts.getGCMode());
Record.push_back(LangOpts.getVisibilityMode());
Record.push_back(LangOpts.getStackProtectorMode());
OpenPOWER on IntegriCloud