From: Richard Smith Date: Thu, 31 Jul 2014 23:52:38 +0000 (+0000) Subject: Fix buildbot: work around missing GCC C++11 feature. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24d166ca775bb7fa1cb043abc66dcf005ffbfc8d;p=platform%2Fupstream%2Fllvm.git Fix buildbot: work around missing GCC C++11 feature. llvm-svn: 214459 --- diff --git a/clang/lib/Serialization/ASTReaderDecl.cpp b/clang/lib/Serialization/ASTReaderDecl.cpp index d1906e0..ea3f61f 100644 --- a/clang/lib/Serialization/ASTReaderDecl.cpp +++ b/clang/lib/Serialization/ASTReaderDecl.cpp @@ -2490,6 +2490,7 @@ void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader, Decl *Previous) { D->RedeclLink.setPrevious(cast(Previous)); } +namespace clang { template<> void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader, Redeclarable *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"); }