diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-29 21:53:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-29 21:53:55 +0000 |
commit | 1797fc7009be308d13fb1b3957d598f428ea531c (patch) | |
tree | 94dfc4eaad7c993a6ecc061986f96ba20edc72a0 /llvm/lib/AsmParser/LLParser.h | |
parent | 218b22f33bb6492499b298d40bf2ab96ff2f7bc2 (diff) | |
download | bcm5719-llvm-1797fc7009be308d13fb1b3957d598f428ea531c.tar.gz bcm5719-llvm-1797fc7009be308d13fb1b3957d598f428ea531c.zip |
change ParseMDString and ParseMDNode to take arguments of the right type.
This exposed a raft of other problems, which I'll deal with in subsequent
patches.
llvm-svn: 92273
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h index 7e901820527..f56207a443c 100644 --- a/llvm/lib/AsmParser/LLParser.h +++ b/llvm/lib/AsmParser/LLParser.h @@ -193,8 +193,8 @@ namespace llvm { bool ParseAlias(const std::string &Name, LocTy Loc, unsigned Visibility); bool ParseStandaloneMetadata(); bool ParseNamedMetadata(); - bool ParseMDString(MetadataBase *&S); - bool ParseMDNode(MetadataBase *&N); + bool ParseMDString(MDString *&Result); + bool ParseMDNode(MDNode *&Result); // Type Parsing. bool ParseType(PATypeHolder &Result, bool AllowVoid = false); |