mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-27 15:57:30 +00:00
[AsmParser] Remove unused partial template specialization.
llvm-svn: 282206
This commit is contained in:
parent
ad52945c14
commit
91d9ad7be2
@ -3703,16 +3703,6 @@ bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDField &Result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDConstant &Result) {
|
||||
Metadata *MD;
|
||||
if (ParseValueAsMetadata(MD, "expected constant", nullptr))
|
||||
return true;
|
||||
|
||||
Result.assign(cast<ConstantAsMetadata>(MD));
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDStringField &Result) {
|
||||
LocTy ValueLoc = Lex.getLoc();
|
||||
|
Loading…
x
Reference in New Issue
Block a user