2020-11-16 09:40:57 +08:00
|
|
|
// RUN: %clang -S -emit-llvm -target x86_64-unknown_unknown -g %s -o - -std=c++20 | FileCheck %s
|
2011-02-03 05:38:49 +08:00
|
|
|
|
2018-02-08 06:15:33 +08:00
|
|
|
// CHECK: @tci = dso_local global %"struct.TC<unsigned int, 2, &glb, &foo::e, &foo::f, &foo::g, 1, 2, 3>::nested" zeroinitializer, align 1, !dbg [[TCI:![0-9]+]]
|
|
|
|
// CHECK: @tcn = dso_local global %struct.TC zeroinitializer, align 1, !dbg [[TCN:![0-9]+]]
|
|
|
|
// CHECK: @nn = dso_local global %struct.NN zeroinitializer, align 1, !dbg [[NN:![0-9]+]]
|
2016-09-13 09:13:19 +08:00
|
|
|
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DICompileUnit(
|
2013-05-11 06:53:25 +08:00
|
|
|
|
2016-04-24 05:08:27 +08:00
|
|
|
struct foo {
|
|
|
|
char pad[8]; // make the member pointer to 'e' a bit more interesting (nonzero)
|
|
|
|
int e;
|
|
|
|
void f();
|
|
|
|
static void g();
|
|
|
|
};
|
2013-05-11 06:53:25 +08:00
|
|
|
|
2016-04-24 05:08:27 +08:00
|
|
|
typedef int foo::*foo_mem;
|
|
|
|
|
|
|
|
template<typename T, T, const int *x, foo_mem a, void (foo::*b)(), void (*f)(), int ...Is>
|
|
|
|
struct TC {
|
|
|
|
struct nested {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
int glb;
|
|
|
|
void func();
|
|
|
|
|
2017-08-31 02:22:23 +08:00
|
|
|
// CHECK: [[TCI]] = !DIGlobalVariableExpression(var: [[TCIV:.*]], expr: !DIExpression())
|
2016-12-20 10:10:02 +08:00
|
|
|
// CHECK: [[TCIV]] = distinct !DIGlobalVariable(name: "tci",
|
|
|
|
// CHECK-SAME: type: ![[TCNESTED:[0-9]+]]
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK: ![[TCNESTED]] ={{.*}}!DICompositeType(tag: DW_TAG_structure_type, name: "nested",
|
|
|
|
// CHECK-SAME: scope: ![[TC:[0-9]+]],
|
|
|
|
|
|
|
|
// CHECK: ![[TC]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "TC<unsigned int, 2, &glb, &foo::e, &foo::f, &foo::g, 1, 2, 3>"
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-SAME: templateParams: [[TCARGS:![0-9]*]]
|
2016-04-24 05:08:27 +08:00
|
|
|
TC
|
2021-08-31 03:32:57 +08:00
|
|
|
// CHECK: [[EMPTY:![0-9]*]] = !{}
|
2014-12-16 03:10:08 +08:00
|
|
|
// CHECK: [[TCARGS]] = !{[[TCARG1:![0-9]*]], [[TCARG2:![0-9]*]], [[TCARG3:![0-9]*]], [[TCARG4:![0-9]*]], [[TCARG5:![0-9]*]], [[TCARG6:![0-9]*]], [[TCARG7:![0-9]*]]}
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG1]] = !DITemplateTypeParameter(name: "T", type: [[UINT:![0-9]*]])
|
|
|
|
// CHECK: [[UINT:![0-9]*]] = !DIBasicType(name: "unsigned int"
|
2016-04-24 05:08:27 +08:00
|
|
|
< unsigned,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG2]] = !DITemplateValueParameter(type: [[UINT]], value: i32 2)
|
2016-04-24 05:08:27 +08:00
|
|
|
2,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG3]] = !DITemplateValueParameter(name: "x", type: [[CINTPTR:![0-9]*]], value: i32* @glb)
|
|
|
|
// CHECK: [[CINTPTR]] = !DIDerivedType(tag: DW_TAG_pointer_type, {{.*}}baseType: [[CINT:![0-9]+]]
|
2016-09-13 09:13:19 +08:00
|
|
|
// CHECK: [[CINT]] = !DIDerivedType(tag: DW_TAG_const_type, {{.*}}baseType: [[INT:![0-9]+]]
|
|
|
|
// CHECK: [[INT]] = !DIBasicType(name: "int"
|
2016-04-24 05:08:27 +08:00
|
|
|
&glb,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG4]] = !DITemplateValueParameter(name: "a", type: [[MEMINTPTR:![0-9]*]], value: i64 8)
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK: [[MEMINTPTR]] = !DIDerivedType(tag: DW_TAG_ptr_to_member_type, {{.*}}baseType: [[INT]], {{.*}}extraData: ![[FOO:[0-9]+]])
|
|
|
|
//
|
|
|
|
// We could just emit a declaration of 'foo' here, rather than the entire
|
|
|
|
// definition (same goes for any time we emit a member (function or data)
|
|
|
|
// pointer type)
|
|
|
|
// CHECK: [[FOO]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "foo", {{.*}}identifier: "_ZTS3foo")
|
|
|
|
// CHECK: !DISubprogram(name: "f", linkageName: "_ZN3foo1fEv", {{.*}}type: [[FTYPE:![0-9]*]]
|
2013-05-11 05:53:14 +08:00
|
|
|
//
|
|
|
|
// Currently Clang emits the pointer-to-member-function value, but LLVM doesn't
|
|
|
|
// use it (GCC doesn't emit a value for pointers to member functions either - so
|
|
|
|
// it's not clear what, if any, format would be acceptable to GDB)
|
|
|
|
//
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK: [[FTYPE:![0-9]*]] = !DISubroutineType(types: [[FARGS:![0-9]*]])
|
2014-12-16 03:10:08 +08:00
|
|
|
// CHECK: [[FARGS]] = !{null, [[FARG1:![0-9]*]]}
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[FARG1]] = !DIDerivedType(tag: DW_TAG_pointer_type,
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK-SAME: baseType: ![[FOO]]
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-NOT: line:
|
2016-10-20 08:13:19 +08:00
|
|
|
// CHECK-SAME: size: 64
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-NOT: offset: 0
|
|
|
|
// CHECK-SAME: DIFlagArtificial
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK: [[FUNTYPE:![0-9]*]] = !DISubroutineType(types: [[FUNARGS:![0-9]*]])
|
2014-12-16 03:10:08 +08:00
|
|
|
// CHECK: [[FUNARGS]] = !{null}
|
2016-04-24 05:08:27 +08:00
|
|
|
&foo::e,
|
|
|
|
// CHECK: [[TCARG5]] = !DITemplateValueParameter(name: "b", type: [[MEMFUNPTR:![0-9]*]], value: { i64, i64 } { i64 ptrtoint (void (%struct.foo*)* @_ZN3foo1fEv to i64), i64 0 })
|
|
|
|
// CHECK: [[MEMFUNPTR]] = !DIDerivedType(tag: DW_TAG_ptr_to_member_type, {{.*}}baseType: [[FTYPE]], {{.*}}extraData: ![[FOO]])
|
|
|
|
&foo::f,
|
|
|
|
// CHECK: [[TCARG6]] = !DITemplateValueParameter(name: "f", type: [[FUNPTR:![0-9]*]], value: void ()* @_ZN3foo1gEv)
|
|
|
|
// CHECK: [[FUNPTR]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: [[FUNTYPE]]
|
|
|
|
&foo::g,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG7]] = !DITemplateValueParameter(tag: DW_TAG_GNU_template_parameter_pack, name: "Is", value: [[TCARG7_VALS:![0-9]*]])
|
2014-12-16 03:10:08 +08:00
|
|
|
// CHECK: [[TCARG7_VALS]] = !{[[TCARG7_1:![0-9]*]], [[TCARG7_2:![0-9]*]], [[TCARG7_3:![0-9]*]]}
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG7_1]] = !DITemplateValueParameter(type: [[INT]], value: i32 1)
|
2016-04-24 05:08:27 +08:00
|
|
|
1,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG7_2]] = !DITemplateValueParameter(type: [[INT]], value: i32 2)
|
2016-04-24 05:08:27 +08:00
|
|
|
2,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCARG7_3]] = !DITemplateValueParameter(type: [[INT]], value: i32 3)
|
2016-04-24 05:08:27 +08:00
|
|
|
3>::nested tci;
|
2013-05-11 05:53:14 +08:00
|
|
|
|
2017-08-31 02:22:23 +08:00
|
|
|
// CHECK: [[TCN]] = !DIGlobalVariableExpression(var: [[TCNV:.*]], expr: !DIExpression())
|
2016-12-20 10:10:02 +08:00
|
|
|
// CHECK: [[TCNV]] = distinct !DIGlobalVariable(name: "tcn"
|
|
|
|
// CHECK-SAME: type: ![[TCNT:[0-9]+]]
|
2016-04-24 05:08:27 +08:00
|
|
|
TC
|
|
|
|
// CHECK: ![[TCNT]] ={{.*}}!DICompositeType(tag: DW_TAG_structure_type, name: "TC<int, -3, nullptr, nullptr, nullptr, nullptr>"
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-SAME: templateParams: [[TCNARGS:![0-9]*]]
|
2014-12-16 03:10:08 +08:00
|
|
|
// CHECK: [[TCNARGS]] = !{[[TCNARG1:![0-9]*]], [[TCNARG2:![0-9]*]], [[TCNARG3:![0-9]*]], [[TCNARG4:![0-9]*]], [[TCNARG5:![0-9]*]], [[TCNARG6:![0-9]*]], [[TCNARG7:![0-9]*]]}
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCNARG1]] = !DITemplateTypeParameter(name: "T", type: [[INT]])
|
2016-04-24 05:08:27 +08:00
|
|
|
<int,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCNARG2]] = !DITemplateValueParameter(type: [[INT]], value: i32 -3)
|
2016-04-24 05:08:27 +08:00
|
|
|
-3,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCNARG3]] = !DITemplateValueParameter(name: "x", type: [[CINTPTR]], value: i8 0)
|
2016-04-24 05:08:27 +08:00
|
|
|
nullptr,
|
2013-05-11 05:53:14 +08:00
|
|
|
|
|
|
|
// The interesting null pointer: -1 for member data pointers (since they are
|
|
|
|
// just an offset in an object, they can be zero and non-null for the first
|
|
|
|
// member)
|
|
|
|
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCNARG4]] = !DITemplateValueParameter(name: "a", type: [[MEMINTPTR]], value: i64 -1)
|
2016-04-24 05:08:27 +08:00
|
|
|
nullptr,
|
2013-05-11 05:53:14 +08:00
|
|
|
//
|
|
|
|
// In some future iteration we could possibly emit the value of a null member
|
|
|
|
// function pointer as '{ i64, i64 } zeroinitializer' as it may be handled
|
|
|
|
// naturally from the LLVM CodeGen side once we decide how to handle non-null
|
|
|
|
// member function pointers. For now, it's simpler just to emit the 'i8 0'.
|
|
|
|
//
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCNARG5]] = !DITemplateValueParameter(name: "b", type: [[MEMFUNPTR]], value: i8 0)
|
2016-04-24 05:08:27 +08:00
|
|
|
nullptr,
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCNARG6]] = !DITemplateValueParameter(name: "f", type: [[FUNPTR]], value: i8 0)
|
2016-04-24 05:08:27 +08:00
|
|
|
nullptr
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[TCNARG7]] = !DITemplateValueParameter(tag: DW_TAG_GNU_template_parameter_pack, name: "Is", value: [[EMPTY]])
|
2016-04-24 05:08:27 +08:00
|
|
|
> tcn;
|
|
|
|
|
|
|
|
template<typename>
|
|
|
|
struct tmpl_impl {
|
|
|
|
};
|
|
|
|
|
2020-09-21 11:10:02 +08:00
|
|
|
template <template <typename> class tmpl, int &lvr>
|
2016-04-24 05:08:27 +08:00
|
|
|
struct NN {
|
|
|
|
};
|
|
|
|
|
2017-08-31 02:22:23 +08:00
|
|
|
// CHECK: [[NN]] = !DIGlobalVariableExpression(var: [[NNV:.*]], expr: !DIExpression())
|
2016-12-20 10:10:02 +08:00
|
|
|
// CHECK: [[NNV]] = distinct !DIGlobalVariable(name: "nn"
|
|
|
|
// CHECK-SAME: type: ![[NNT:[0-9]+]]
|
2014-10-16 08:41:40 +08:00
|
|
|
|
2020-09-21 11:10:02 +08:00
|
|
|
// CHECK: ![[NNT]] ={{.*}}!DICompositeType(tag: DW_TAG_structure_type, name: "NN<tmpl_impl, glb>",
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-SAME: templateParams: [[NNARGS:![0-9]*]]
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK-SAME: identifier:
|
2020-09-21 11:10:02 +08:00
|
|
|
// CHECK: [[NNARGS]] = !{[[NNARG1:![0-9]*]], [[NNARG2:![0-9]*]]}
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[NNARG1]] = !DITemplateValueParameter(tag: DW_TAG_GNU_template_template_param, name: "tmpl", value: !"tmpl_impl")
|
|
|
|
// CHECK: [[NNARG2]] = !DITemplateValueParameter(name: "lvr", type: [[INTLVR:![0-9]*]], value: i32* @glb)
|
|
|
|
// CHECK: [[INTLVR]] = !DIDerivedType(tag: DW_TAG_reference_type, baseType: [[INT]]
|
2020-09-21 11:10:02 +08:00
|
|
|
NN<tmpl_impl, glb> nn;
|
2013-08-24 16:21:10 +08:00
|
|
|
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK: ![[PADDINGATEND:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "PaddingAtEnd",
|
2013-08-26 06:13:27 +08:00
|
|
|
struct PaddingAtEnd {
|
|
|
|
int i;
|
|
|
|
char c;
|
|
|
|
};
|
|
|
|
|
|
|
|
PaddingAtEnd PaddedObj = {};
|
|
|
|
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "PaddingAtEndTemplate<&PaddedObj>"
|
|
|
|
// CHECK-SAME: templateParams: [[PTOARGS:![0-9]*]]
|
|
|
|
// CHECK: [[PTOARGS]] = !{[[PTOARG1:![0-9]*]]}
|
|
|
|
// CHECK: [[PTOARG1]] = !DITemplateValueParameter(type: [[CONST_PADDINGATEND_PTR:![0-9]*]], value: %struct.PaddingAtEnd* @PaddedObj)
|
2016-10-20 08:13:19 +08:00
|
|
|
// CHECK: [[CONST_PADDINGATEND_PTR]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[PADDINGATEND]], size: 64)
|
2014-10-16 08:41:40 +08:00
|
|
|
template <PaddingAtEnd *>
|
2013-08-26 06:13:27 +08:00
|
|
|
struct PaddingAtEndTemplate {
|
|
|
|
};
|
|
|
|
|
|
|
|
PaddingAtEndTemplate<&PaddedObj> PaddedTemplateObj;
|
2020-11-16 09:40:57 +08:00
|
|
|
|
|
|
|
struct ClassTemplateArg {
|
|
|
|
int a;
|
|
|
|
float f;
|
|
|
|
};
|
|
|
|
template<ClassTemplateArg A> struct ClassTemplateArgTemplate {
|
|
|
|
static constexpr const ClassTemplateArg &Arg = A;
|
|
|
|
};
|
|
|
|
|
|
|
|
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ClassTemplateArgTemplate<{1, 2.000000e+00}>", {{.*}}, templateParams: ![[CLASS_TEMP_ARGS:[0-9]*]],
|
|
|
|
// CHECK: ![[CLASS_TEMP_ARG_CONST_REF_TYPE:[0-9]*]] = !DIDerivedType(tag: DW_TAG_reference_type, baseType: ![[CLASS_TEMP_ARG_CONST_TYPE:[0-9]*]],
|
|
|
|
// CHECK: ![[CLASS_TEMP_ARG_CONST_TYPE]] = !DIDerivedType(tag: DW_TAG_const_type, baseType: ![[CLASS_TEMP_ARG_TYPE:[0-9]*]])
|
|
|
|
// CHECK: ![[CLASS_TEMP_ARG_TYPE]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "ClassTemplateArg",
|
|
|
|
// CHECK: ![[CLASS_TEMP_ARGS]] = !{![[CLASS_TEMP_ARG:[0-9]*]]}
|
|
|
|
// CHECK: ![[CLASS_TEMP_ARG]] = !DITemplateValueParameter(name: "A", type: ![[CLASS_TEMP_ARG_TYPE]], value: %{{[^ *]+}} { i32 1, float 2.000000e+00 })
|
|
|
|
ClassTemplateArgTemplate<ClassTemplateArg{1, 2.0f}> ClassTemplateArgObj;
|
|
|
|
|
|
|
|
template<const ClassTemplateArg&> struct ClassTemplateArgRefTemplate {};
|
|
|
|
ClassTemplateArgRefTemplate<ClassTemplateArgObj.Arg> ClassTemplateArgRefObj;
|
|
|
|
|
|
|
|
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ClassTemplateArgRefTemplate<<template param ClassTemplateArg{1, 2.000000e+00}> >", {{.*}}, templateParams: ![[CLASS_TEMP_REF_ARGS:[0-9]*]],
|
|
|
|
// CHECK: ![[CLASS_TEMP_REF_ARGS]] = !{![[CLASS_TEMP_REF_ARG:[0-9]*]]}
|
|
|
|
// CHECK: ![[CLASS_TEMP_REF_ARG]] = !DITemplateValueParameter(type: ![[CLASS_TEMP_ARG_CONST_REF_TYPE]], value: %{{.*}}* @_ZTAXtl16ClassTemplateArgLi1ELf40000000EEE)
|
2021-04-09 08:36:41 +08:00
|
|
|
|
|
|
|
inline namespace inl {
|
|
|
|
struct t1 { };
|
|
|
|
}
|
|
|
|
template<typename T> struct ClassTemplateInlineNamespaceArg {
|
|
|
|
};
|
|
|
|
ClassTemplateInlineNamespaceArg<inl::t1> ClassTemplateInlineNamespaceArgObj;
|
|
|
|
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ClassTemplateInlineNamespaceArg<inl::t1>",
|
2021-07-18 14:38:33 +08:00
|
|
|
|
|
|
|
namespace IndirectDefaultArgument {
|
|
|
|
template<typename T1, typename T2 = int>
|
|
|
|
struct t1 { };
|
|
|
|
template<typename T>
|
|
|
|
void f1() {
|
|
|
|
}
|
|
|
|
template void f1<t1<int>>();
|
|
|
|
// CHECK: !DISubprogram(name: "f1<IndirectDefaultArgument::t1<int, int> >",
|
2021-08-31 01:06:00 +08:00
|
|
|
} // namespace IndirectDefaultArgument
|
|
|
|
|
|
|
|
namespace EmptyTrailingPack {
|
|
|
|
template<typename T>
|
|
|
|
struct t1 { };
|
|
|
|
template<typename T, typename ...Ts>
|
|
|
|
void f1() {
|
|
|
|
}
|
|
|
|
template void f1<t1<int>>();
|
|
|
|
// CHECK: !DISubprogram(name: "f1<EmptyTrailingPack::t1<int> >",
|
|
|
|
} // namespace EmptyTrailingPack
|
|
|
|
|
|
|
|
namespace EmptyInnerPack {
|
|
|
|
template<typename ...Ts, typename T = int>
|
|
|
|
void f1() {
|
2021-07-18 14:38:33 +08:00
|
|
|
}
|
2021-08-31 01:06:00 +08:00
|
|
|
template void f1<>();
|
|
|
|
// CHECK: !DISubprogram(name: "f1<int>",
|
|
|
|
} // namespace EmptyInnerPack
|
2021-09-14 15:02:36 +08:00
|
|
|
|
|
|
|
namespace RawFuncQual {
|
|
|
|
struct t1; // use this to ensure the type parameter doesn't shift due to other test cases in this file
|
|
|
|
template<typename T1, typename T2>
|
|
|
|
void f1() { }
|
|
|
|
template void f1<t1 () volatile, t1 () const volatile>();
|
|
|
|
// CHECK: !DISubprogram(name: "f1<RawFuncQual::t1 () volatile, RawFuncQual::t1 () const volatile>",
|
|
|
|
// CHECK-SAME: templateParams: ![[RAW_FUNC_QUAL_ARGS:[0-9]*]],
|
|
|
|
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_ARGS]] = !{![[RAW_FUNC_QUAL_T1:[0-9]*]], ![[RAW_FUNC_QUAL_T2:[0-9]*]]}
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_T1]] = !DITemplateTypeParameter(name: "T1", type: ![[RAW_FUNC_QUAL_VOL:[0-9]*]])
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_VOL]] = !DIDerivedType(tag: DW_TAG_volatile_type, baseType: ![[RAW_FUNC_QUAL_TYPE:[0-9]*]])
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_TYPE]] = !DISubroutineType(types: ![[RAW_FUNC_QUAL_LIST:[0-9]*]]
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_LIST]] = !{![[RAW_FUNC_QUAL_STRUCT:[0-9]*]]}
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_STRUCT]] = !DICompositeType(tag: DW_TAG_structure_type, name: "t1"
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_T2]] = !DITemplateTypeParameter(name: "T2", type: ![[RAW_FUNC_QUAL_CNST:[0-9]*]])
|
|
|
|
// CHECK: ![[RAW_FUNC_QUAL_CNST]] = !DIDerivedType(tag: DW_TAG_const_type, baseType: ![[RAW_FUNC_QUAL_TYPE:[0-9]*]])
|
|
|
|
|
|
|
|
} // namespace RawFuncQual
|