[cfe-commits] r74460 - /cfe/trunk/lib/Sema/SemaType.cpp

Anders Carlsson andersca at mac.com
Mon Jun 29 14:39:58 PDT 2009


Author: andersca
Date: Mon Jun 29 16:39:57 2009
New Revision: 74460

URL: http://llvm.org/viewvc/llvm-project?rev=74460&view=rev
Log:
Remove some dead code

Modified:
    cfe/trunk/lib/Sema/SemaType.cpp

Modified: cfe/trunk/lib/Sema/SemaType.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaType.cpp?rev=74460&r1=74459&r2=74460&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaType.cpp (original)
+++ cfe/trunk/lib/Sema/SemaType.cpp Mon Jun 29 16:39:57 2009
@@ -814,9 +814,6 @@
     case Declarator::KNRTypeListContext:
       assert(0 && "K&R type lists aren't allowed in C++");
       break;
-    default:
-      printf("context: %d\n", D.getContext());
-      assert(0);
     case Declarator::PrototypeContext:
       Error = 0; // Function prototype
       break;





More information about the cfe-commits mailing list