[llvm] r228213 - Fix GCC error caused by r228211
Duncan P. N. Exon Smith
dexonsmith at apple.com
Wed Feb 4 14:13:28 PST 2015
Author: dexonsmith
Date: Wed Feb 4 16:13:28 2015
New Revision: 228213
URL: http://llvm.org/viewvc/llvm-project?rev=228213&view=rev
Log:
Fix GCC error caused by r228211
Modified:
llvm/trunk/lib/AsmParser/LLParser.cpp
Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=228213&r1=228212&r2=228213&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Wed Feb 4 16:13:28 2015
@@ -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, S
return false;
}
+} // end namespace llvm
+
template <class ParserTy>
bool LLParser::ParseMDFieldsImplBody(ParserTy parseField) {
do {
More information about the llvm-commits
mailing list