diff options
| author | David Blaikie <dblaikie@gmail.com> | 2019-10-18 23:58:34 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2019-10-18 23:58:34 +0000 |
| commit | 9fdd09a4ccd01feb8e00be22b17e944e46807746 (patch) | |
| tree | 4267a76ff85757c6e8a99fb8c359347edd94191c /clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp | |
| parent | 937241b0d9e8f896d4387292f01abf18ba9f9fcb (diff) | |
| download | bcm5719-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.cpp | 5 |
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 { |

