From: Duncan P. N. Exon Smith Date: Wed, 4 Feb 2015 22:13:28 +0000 (+0000) Subject: Fix GCC error caused by r228211 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8054a41a2744255c2d0a10505f508d5ee1352c17;p=oota-llvm.git Fix GCC error caused by r228211 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228213 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 {