Fix buildbot: work around missing GCC C++11 feature.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 31 Jul 2014 23:52:38 +0000 (23:52 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 31 Jul 2014 23:52:38 +0000 (23:52 +0000)
llvm-svn: 214459

clang/lib/Serialization/ASTReaderDecl.cpp

index d1906e0..ea3f61f 100644 (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");
 }