DebugInfo: Consider the type of NTTP when simplifying template names
Since the NTTP may need to be cast to the type when rebuilding the name, check that the type can be rebuilt when determining whether a template name can be simplified.
Showing
- clang/lib/CodeGen/CGDebugInfo.cpp 2 additions, 1 deletionclang/lib/CodeGen/CGDebugInfo.cpp
- clang/test/CodeGenCXX/debug-info-simple-template-names.cpp 7 additions, 0 deletionsclang/test/CodeGenCXX/debug-info-simple-template-names.cpp
- cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp 5 additions, 0 deletions...-tests/clang_llvm_roundtrip/simplified_template_names.cpp
Loading
Please register or sign in to comment