[llvm-commits] [dragonegg] r150179 - /dragonegg/trunk/src/Debug.cpp

Duncan Sands baldrick at free.fr
Thu Feb 9 07:20:46 PST 2012


Author: baldrick
Date: Thu Feb  9 09:20:46 2012
New Revision: 150179

URL: http://llvm.org/viewvc/llvm-project?rev=150179&view=rev
Log:
Remove unreachable "break" statements.

Modified:
    dragonegg/trunk/src/Debug.cpp

Modified: dragonegg/trunk/src/Debug.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Debug.cpp?rev=150179&r1=150178&r2=150179&view=diff
==============================================================================
--- dragonegg/trunk/src/Debug.cpp (original)
+++ dragonegg/trunk/src/Debug.cpp Thu Feb  9 09:20:46 2012
@@ -1028,7 +1028,6 @@
       // Do not cache pointer type. The pointer may point to forward declared
       // struct.
       return createPointerType(type);
-      break;
 
     case OFFSET_TYPE: {
       // gen_type_die(TYPE_OFFSET_BASETYPE(type), context_die);
@@ -1056,7 +1055,6 @@
     case QUAL_UNION_TYPE:
     case UNION_TYPE:
       return createStructType(type);
-      break;
 
     case INTEGER_TYPE:
     case REAL_TYPE:





More information about the llvm-commits mailing list