summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-19 00:37:21 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-19 00:37:21 +0000
commit3d62bbacb1aa918944f0cc966381f44e13582b4a (patch)
tree11ef811398091ec13469ff532758c8d0ba7d2008 /llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll
parentca929f24699a05cf22d4337278e5fea962799632 (diff)
downloadbcm5719-llvm-3d62bbacb1aa918944f0cc966381f44e13582b4a.tar.gz
bcm5719-llvm-3d62bbacb1aa918944f0cc966381f44e13582b4a.zip
IR: Drop scope from MDTemplateParameter
Follow-up to r229740, which removed `DITemplate*::getContext()` after my upgrade script revealed that scopes are always `nullptr` for template parameters. This is the other shoe: drop `scope:` from `MDTemplateParameter` and its two subclasses. (Note: a bitcode upgrade would be pointless, since the hierarchy hasn't been moved into place.) llvm-svn: 229791
Diffstat (limited to 'llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll')
-rw-r--r--llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll b/llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll
deleted file mode 100644
index 1b9053f757f..00000000000
--- a/llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll
+++ /dev/null
@@ -1,5 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+2]]:44: error: missing required field 'scope'
-!0 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, type: !{},
- value: i32 7)
OpenPOWER on IntegriCloud