mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-27 07:12:06 +00:00
[AsmParser] Remove unused partial template specialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282206 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2ac1a71c3
commit
f35fea1de5
@ -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