Fix buildbot: work around missing GCC C++11 feature.

llvm-svn: 214459
This commit is contained in:
Richard Smith 2014-07-31 23:52:38 +00:00
parent 6de7a24782
commit 24d166ca77
1 changed files with 2 additions and 0 deletions

View File

@ -2490,6 +2490,7 @@ void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader,
Decl *Previous) {
D->RedeclLink.setPrevious(cast<DeclT>(Previous));
}
namespace clang {
template<>
void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader,
Redeclarable<FunctionDecl> *D,
@ -2534,6 +2535,7 @@ void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader,
FPT->getExtProtoInfo().withExceptionSpec(EPI.ExceptionSpec)));
}
}
}
void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader, ...) {
llvm_unreachable("attachPreviousDecl on non-redeclarable declaration");
}