[cfe-commits] r65659 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Eli Friedman eli.friedman at gmail.com
Fri Feb 27 15:15:31 PST 2009


Author: efriedma
Date: Fri Feb 27 17:15:07 2009
New Revision: 65659

URL: http://llvm.org/viewvc/llvm-project?rev=65659&view=rev
Log:
Fix enumeration in switch warnings.  No behavior change.


Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=65659&r1=65658&r2=65659&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Feb 27 17:15:07 2009
@@ -496,6 +496,12 @@
   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;





More information about the cfe-commits mailing list