diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 427b38ee3b8..9e02e9edb6a 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -2960,6 +2960,8 @@ struct MDFieldList : public MDFieldImpl> { } // end namespace +namespace llvm { + template <> bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDUnsignedField &Result) { @@ -3024,6 +3026,8 @@ bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDFieldList &Result) { return false; } +} // end namespace llvm + template bool LLParser::ParseMDFieldsImplBody(ParserTy parseField) { do {