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 | b3d6fad77e8c8727950638f128ecaca69912eb22 (patch) | |
tree | 1fcaf5b07ab4dbb37c1f478d49b57a0a222e579d /lib/AsmParser/LLParser.h | |
parent | 9e9fa658bbc13171831b2e48b2002067f1d087f4 (diff) | |
download | external_llvm-b3d6fad77e8c8727950638f128ecaca69912eb22.zip external_llvm-b3d6fad77e8c8727950638f128ecaca69912eb22.tar.gz external_llvm-b3d6fad77e8c8727950638f128ecaca69912eb22.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 7e90182..f56207a 100644 --- a/lib/AsmParser/LLParser.h +++ b/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); |