forked from OSchip/llvm-project
parent
9d203c636b
commit
d7a1bc4466
|
@ -814,9 +814,6 @@ QualType Sema::GetTypeForDeclarator(Declarator &D, Scope *S, unsigned Skip,
|
||||||
case Declarator::KNRTypeListContext:
|
case Declarator::KNRTypeListContext:
|
||||||
assert(0 && "K&R type lists aren't allowed in C++");
|
assert(0 && "K&R type lists aren't allowed in C++");
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
printf("context: %d\n", D.getContext());
|
|
||||||
assert(0);
|
|
||||||
case Declarator::PrototypeContext:
|
case Declarator::PrototypeContext:
|
||||||
Error = 0; // Function prototype
|
Error = 0; // Function prototype
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue