projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778ef39
)
[AsmParser] Remove unused partial template specialization.
author
Davide Italiano
<davide@freebsd.org>
Thu, 22 Sep 2016 22:02:59 +0000
(22:02 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Thu, 22 Sep 2016 22:02:59 +0000
(22:02 +0000)
llvm-svn: 282206
llvm/lib/AsmParser/LLParser.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/AsmParser/LLParser.cpp
b/llvm/lib/AsmParser/LLParser.cpp
index
18f5bbe
..
9c8b5f1
100644
(file)
--- a/
llvm/lib/AsmParser/LLParser.cpp
+++ b/
llvm/lib/AsmParser/LLParser.cpp
@@
-3704,16
+3704,6
@@
bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDField &Result) {
}
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();
std::string S;