diff options
| author | Alisdair Meredith <public@alisdairm.net> | 2009-07-14 06:30:34 +0000 |
|---|---|---|
| committer | Alisdair Meredith <public@alisdairm.net> | 2009-07-14 06:30:34 +0000 |
| commit | f5c209d23b20ada4a9b6235db50317239cbf6ae1 (patch) | |
| tree | 86513b9161dcbc74e0684bd1e0c6b26b47afe712 /lib/CodeGen/CodeGenTypes.cpp | |
| parent | 127bf318068659471bce3b08c462d2eab6a5e6a5 (diff) | |
| download | clang-f5c209d23b20ada4a9b6235db50317239cbf6ae1.tar.gz clang-f5c209d23b20ada4a9b6235db50317239cbf6ae1.tar.bz2 clang-f5c209d23b20ada4a9b6235db50317239cbf6ae1.tar.xz | |
Basic support for C++0x unicode types. Support for literals will follow in an incremental patch
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
| -rw-r--r-- | lib/CodeGen/CodeGenTypes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp index 6add2c25c7..5ed2b7c2a0 100644 --- a/lib/CodeGen/CodeGenTypes.cpp +++ b/lib/CodeGen/CodeGenTypes.cpp @@ -249,6 +249,8 @@ const llvm::Type *CodeGenTypes::ConvertNewType(QualType T) { case BuiltinType::LongLong: case BuiltinType::ULongLong: case BuiltinType::WChar: + case BuiltinType::Char16: + case BuiltinType::Char32: return llvm::IntegerType::get( static_cast<unsigned>(Context.getTypeSize(T))); |
