mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 19:36:06 +00:00

LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
15 lines
432 B
C++
15 lines
432 B
C++
// RUN: %clang_cc1 -emit-llvm -fno-standalone-debug -triple %itanium_abi_triple -g %s -o - | FileCheck %s
|
|
|
|
// Check that this pointer type is TC<int>
|
|
// CHECK: ![[LINE:[0-9]+]] = !DICompositeType(tag: DW_TAG_class_type, name: "TC<int>"{{.*}}, identifier: "_ZTS2TCIiE")
|
|
// CHECK: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !"_ZTS2TCIiE"
|
|
|
|
template<typename T>
|
|
class TC {
|
|
public:
|
|
TC(const TC &) {}
|
|
TC() {}
|
|
};
|
|
|
|
TC<int> tci;
|