diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-05-10 20:57:05 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-05-10 20:57:05 +0000 |
commit | cb33799b9f4e152e3460faa83e59b53ff604c87d (patch) | |
tree | dd87d965d590665a7ebdb4f4939b364364fe5e18 /lib/AsmParser/LLParser.h | |
parent | af3fdb5dc4edf052ee4a3a169250fc3be304d1a7 (diff) |
Make MDNode use CallbackVH. Also change MDNode to store Value* instead of
Constant* in preperation of a future change to support holding non-Constants
in an MDNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 44f4c2a652..7106689081 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -158,7 +158,7 @@ namespace llvm { bool ParseGlobalValue(const Type *Ty, Constant *&V); bool ParseGlobalTypeAndValue(Constant *&V); bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts); - bool ParseMDNodeVector(SmallVectorImpl<Constant*> &); + bool ParseMDNodeVector(SmallVectorImpl<Value*> &); // Function Semantic Analysis. |