summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-30 04:42:57 +0000
committerChris Lattner <sabre@nondot.org>2009-12-30 04:42:57 +0000
commita73523958d39ca10a322fd8b177104ebc2045130 (patch)
tree2e75ce54ac54b2e6727ee4d439c421d02e0d1aca /lib/AsmParser/LLParser.h
parent4a72efc0ad18c1b9c98bb2f0cb881a39a7010b53 (diff)
downloadllvm-a73523958d39ca10a322fd8b177104ebc2045130.tar.gz
llvm-a73523958d39ca10a322fd8b177104ebc2045130.tar.bz2
llvm-a73523958d39ca10a322fd8b177104ebc2045130.tar.xz
rewrite ParseMDNodeVector to follow the normal patter used in the .ll parser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r--lib/AsmParser/LLParser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h
index e8eb3023b9..7d5cfcf95a 100644
--- a/lib/AsmParser/LLParser.h
+++ b/lib/AsmParser/LLParser.h
@@ -213,6 +213,8 @@ namespace llvm {
// Constants.
bool ParseValID(ValID &ID);
bool ConvertGlobalValIDToValue(const Type *Ty, ValID &ID, Constant *&V);
+ bool ConvertGlobalOrMetadataValIDToValue(const Type *Ty, ValID &ID,
+ Value *&V);
bool ParseGlobalValue(const Type *Ty, Constant *&V);
bool ParseGlobalTypeAndValue(Constant *&V);
bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts);