diff --git a/utils/yaml2obj/yaml2obj.cpp b/utils/yaml2obj/yaml2obj.cpp index a940f3085f9..2f01d198600 100644 --- a/utils/yaml2obj/yaml2obj.cpp +++ b/utils/yaml2obj/yaml2obj.cpp @@ -37,8 +37,6 @@ using namespace llvm; static cl::opt Input(cl::Positional, cl::desc(""), cl::init("-")); -namespace { - template typename llvm::enable_if_c::is_integer, bool>::type getAs(const llvm::yaml::ScalarNode *SN, T &Result) { @@ -409,8 +407,6 @@ void writeCOFF(COFFParser &CP, raw_ostream &OS) { OS.write(&CP.StringTable[0], CP.StringTable.size()); } -} - LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Relocation) LLVM_YAML_IS_SEQUENCE_VECTOR(COFF::SectionCharacteristics) LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Section)