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

Richard Smith richard-llvm at metafoo.co.uk
Thu Jul 31 16:52:39 PDT 2014


Author: rsmith
Date: Thu Jul 31 18:52:38 2014
New Revision: 214459

URL: http://llvm.org/viewvc/llvm-project?rev=214459&view=rev
Log:
Fix buildbot: work around missing GCC C++11 feature.

Modified:
    cfe/trunk/lib/Serialization/ASTReaderDecl.cpp

Modified: cfe/trunk/lib/Serialization/ASTReaderDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReaderDecl.cpp?rev=214459&r1=214458&r2=214459&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReaderDecl.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReaderDecl.cpp Thu Jul 31 18:52:38 2014
@@ -2490,6 +2490,7 @@ void ASTDeclReader::attachPreviousDeclIm
                                            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::attachPreviousDeclIm
         FPT->getExtProtoInfo().withExceptionSpec(EPI.ExceptionSpec)));
   }
 }
+}
 void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader, ...) {
   llvm_unreachable("attachPreviousDecl on non-redeclarable declaration");
 }





More information about the cfe-commits mailing list