]> granicus.if.org Git - clang/commitdiff
Remove some dead code
authorAnders Carlsson <andersca@mac.com>
Mon, 29 Jun 2009 21:39:57 +0000 (21:39 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 29 Jun 2009 21:39:57 +0000 (21:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74460 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaType.cpp

index abb825383e589c63adb8fe85576ddefa58aedb97..1c67daece01f26f0243dffe1dcb9d3115eaf538a 100644 (file)
@@ -814,9 +814,6 @@ QualType Sema::GetTypeForDeclarator(Declarator &D, Scope *S, unsigned Skip,
     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;