summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-14 18:26:50 +0000
committerDan Gohman <gohman@apple.com>2010-07-14 18:26:50 +0000
commit8939ba337dd16af4788b7348bcd51a7ebf91be9f (patch)
treed426fa20daa7964558b399e214b8828115ed6fc0 /llvm/lib/AsmParser/LLParser.h
parent254858031af8c61c05523b9b317ad9069f616bab (diff)
downloadbcm5719-llvm-8939ba337dd16af4788b7348bcd51a7ebf91be9f.tar.gz
bcm5719-llvm-8939ba337dd16af4788b7348bcd51a7ebf91be9f.zip
Factor out metadata parsing into a separate function.
llvm-svn: 108343
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r--llvm/lib/AsmParser/LLParser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h
index c8f669f641a..f765a2ae4e6 100644
--- a/llvm/lib/AsmParser/LLParser.h
+++ b/llvm/lib/AsmParser/LLParser.h
@@ -308,6 +308,7 @@ namespace llvm {
bool ParseGlobalValue(const Type *Ty, Constant *&V);
bool ParseGlobalTypeAndValue(Constant *&V);
bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts);
+ bool ParseMetadataValue(ValID &ID, PerFunctionState *PFS);
bool ParseMDNodeVector(SmallVectorImpl<Value*> &, PerFunctionState *PFS);
// Function Parsing.
OpenPOWER on IntegriCloud