diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-02-27 23:15:07 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-02-27 23:15:07 +0000 |
commit | 015a4742c152a21c43f939a078e921b0ed8c8fa9 (patch) | |
tree | 70da42c4f2f01a3fc4fc6c3961b94f2ca093b6c6 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | cad9638bd9ee0cb93ed3e54451ed5c18403bdc98 (diff) | |
download | bcm5719-llvm-015a4742c152a21c43f939a078e921b0ed8c8fa9.tar.gz bcm5719-llvm-015a4742c152a21c43f939a078e921b0ed8c8fa9.zip |
Fix enumeration in switch warnings. No behavior change.
llvm-svn: 65659
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 6c67ba58142..62b9f4aff72 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -496,6 +496,12 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, case Type::ObjCInterface: case Type::ObjCQualifiedInterface: case Type::ObjCQualifiedId: + case Type::FixedWidthInt: + case Type::BlockPointer: + case Type::MemberPointer: + case Type::ClassTemplateSpecialization: + case Type::ObjCQualifiedClass: + // Unsupported types return llvm::DIType(); case Type::Builtin: Slot = CreateType(cast<BuiltinType>(Ty), Unit); break; |