diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-19 00:37:21 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-19 00:37:21 +0000 |
| commit | 3d62bbacb1aa918944f0cc966381f44e13582b4a (patch) | |
| tree | 11ef811398091ec13469ff532758c8d0ba7d2008 /llvm/test/Assembler/mdtemplateparameter.ll | |
| parent | ca929f24699a05cf22d4337278e5fea962799632 (diff) | |
| download | bcm5719-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/mdtemplateparameter.ll')
| -rw-r--r-- | llvm/test/Assembler/mdtemplateparameter.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/Assembler/mdtemplateparameter.ll b/llvm/test/Assembler/mdtemplateparameter.ll index aef2bfd21b2..f005c08b380 100644 --- a/llvm/test/Assembler/mdtemplateparameter.ll +++ b/llvm/test/Assembler/mdtemplateparameter.ll @@ -8,17 +8,17 @@ !1 = distinct !{} ; CHECK: !1 = distinct !{} -; CHECK-NEXT: !2 = !MDTemplateTypeParameter(scope: !0, name: "Ty", type: !1) -; CHECK-NEXT: !3 = !MDTemplateTypeParameter(scope: !0, name: "", type: !1) -!2 = !MDTemplateTypeParameter(scope: !0, name: "Ty", type: !1) -!3 = !MDTemplateTypeParameter(scope: !0, type: !1) -!4 = !MDTemplateTypeParameter(scope: !0, name: "", type: !1) +; CHECK-NEXT: !2 = !MDTemplateTypeParameter(name: "Ty", type: !1) +; CHECK-NEXT: !3 = !MDTemplateTypeParameter(name: "", type: !1) +!2 = !MDTemplateTypeParameter(name: "Ty", type: !1) +!3 = !MDTemplateTypeParameter(type: !1) +!4 = !MDTemplateTypeParameter(name: "", type: !1) -; CHECK-NEXT: !4 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, scope: !0, name: "V", type: !1, value: i32 7) -; CHECK-NEXT: !5 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, scope: !0, name: "", type: !1, value: i32 7) +; CHECK-NEXT: !4 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, name: "V", type: !1, value: i32 7) +; CHECK-NEXT: !5 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, name: "", type: !1, value: i32 7) !5 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, - scope: !0, name: "V", type: !1, value: i32 7) + name: "V", type: !1, value: i32 7) !6 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, - scope: !0, type: !1, value: i32 7) + type: !1, value: i32 7) !7 = !MDTemplateValueParameter(tag: DW_TAG_template_value_parameter, - scope: !0, name: "", type: !1, value: i32 7) + name: "", type: !1, value: i32 7) |

