From: Anders Carlsson Date: Mon, 29 Jun 2009 21:39:57 +0000 (+0000) Subject: Remove some dead code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74add6d9a4f475fe1cc5c146e9a0543578e95da3;p=clang Remove some dead code git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74460 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index abb825383e..1c67daece0 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -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;