[llvm] r186245 - Attempt at fixing a mingw bot.

Rafael Espindola rafael.espindola at gmail.com
Sat Jul 13 05:36:31 PDT 2013


Author: rafael
Date: Sat Jul 13 07:36:30 2013
New Revision: 186245

URL: http://llvm.org/viewvc/llvm-project?rev=186245&view=rev
Log:
Attempt at fixing a mingw bot.

It is failing with

YAMLTest.cpp:38:   instantiated from here
YAMLTraits.h:226: error: 'llvm::yaml::MappingTraits<<unnamed>::BinaryHolder>::mapping' is not a valid template argument for type 'void (*)(llvm::yaml::IO&, <unnamed>::BinaryHolder&)' because function 'static void llvm::yaml::MappingTraits<<unnamed>::BinaryHolder>::mapping(llvm::yaml::IO&, <unnamed>::BinaryHolder&)' has not external linkage

Modified:
    llvm/trunk/unittests/Object/YAMLTest.cpp

Modified: llvm/trunk/unittests/Object/YAMLTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Object/YAMLTest.cpp?rev=186245&r1=186244&r2=186245&view=diff
==============================================================================
--- llvm/trunk/unittests/Object/YAMLTest.cpp (original)
+++ llvm/trunk/unittests/Object/YAMLTest.cpp Sat Jul 13 07:36:30 2013
@@ -13,11 +13,9 @@
 
 using namespace llvm;
 
-namespace {
 struct BinaryHolder {
   object::yaml::BinaryRef Binary;
 };
-} // end anonymous namespace
 
 namespace llvm {
 namespace yaml {





More information about the llvm-commits mailing list