mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
NamedMDNode is a collection MDNodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -510,12 +510,11 @@ bool LLParser::ParseNamedMetadata() {
|
||||
ParseToken(lltok::lbrace, "Expected '{' here"))
|
||||
return true;
|
||||
|
||||
SmallVector<MetadataBase *, 8> Elts;
|
||||
SmallVector<MDNode *, 8> Elts;
|
||||
do {
|
||||
if (ParseToken(lltok::exclaim, "Expected '!' here"))
|
||||
return true;
|
||||
|
||||
// FIXME: This rejects MDStrings. Are they legal in an named MDNode or not?
|
||||
MDNode *N = 0;
|
||||
if (ParseMDNodeID(N)) return true;
|
||||
Elts.push_back(N);
|
||||
|
Reference in New Issue
Block a user