forked from OSchip/llvm-project
parent
5f11afc442
commit
dedc0968cf
|
@ -240,6 +240,7 @@ TemplateArgument::TemplateArgument(Expr *E) : Kind(Expression) {
|
|||
//===----------------------------------------------------------------------===//
|
||||
void TemplateArgumentListBuilder::push_back(const TemplateArgument& Arg) {
|
||||
switch (Arg.getKind()) {
|
||||
default: break;
|
||||
case TemplateArgument::Type:
|
||||
assert(Arg.getAsType()->isCanonical() && "Type must be canonical!");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue