diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-30 04:42:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-30 04:42:57 +0000 |
commit | a73523958d39ca10a322fd8b177104ebc2045130 (patch) | |
tree | 2e75ce54ac54b2e6727ee4d439c421d02e0d1aca /lib/AsmParser/LLParser.h | |
parent | 4a72efc0ad18c1b9c98bb2f0cb881a39a7010b53 (diff) | |
download | llvm-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.h | 2 |
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); |