aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaType.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-06-29 21:39:57 +0000
committerAnders Carlsson <andersca@mac.com>2009-06-29 21:39:57 +0000
commit74add6d9a4f475fe1cc5c146e9a0543578e95da3 (patch)
tree686097bf3658582375f3660f7896189813befc6a /lib/Sema/SemaType.cpp
parent127102b5196ffe04bdb70fd553fe62c265ab10a9 (diff)
Remove some dead code
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r--lib/Sema/SemaType.cpp3
1 files changed, 0 insertions, 3 deletions
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;