summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2019-10-18 23:58:34 +0000
committerDavid Blaikie <dblaikie@gmail.com>2019-10-18 23:58:34 +0000
commit9fdd09a4ccd01feb8e00be22b17e944e46807746 (patch)
tree4267a76ff85757c6e8a99fb8c359347edd94191c /clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
parent937241b0d9e8f896d4387292f01abf18ba9f9fcb (diff)
downloadbcm5719-llvm-9fdd09a4ccd01feb8e00be22b17e944e46807746.tar.gz
bcm5719-llvm-9fdd09a4ccd01feb8e00be22b17e944e46807746.zip
DebugInfo: Render the canonical name of a class template specialization, even when nested in another class template specialization
Differential Revision: https://reviews.llvm.org/D63031 llvm-svn: 375304
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp b/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
index cd51b522505..4e41c4092bf 100644
--- a/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
+++ b/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
@@ -105,7 +105,12 @@ struct j {
};
extern template class j<int>;
j<int> jj;
+template <typename T>
+struct j_wrap {
+};
+j_wrap<j<int>> j_wrap_j;
// CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "j<int, int>"
+// CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "j_wrap<j<int, int> >"
template <typename T>
struct k {
OpenPOWER on IntegriCloud