Skip to content

Commit 73929b4

Browse files
committed
[lldb][Type Completion] Ensure TypeForDecl is set on CTSD
1 parent 11d1236 commit 73929b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,8 @@ TypeSystemClang::CreateClassTemplateSpecializationDecl(
17321732
static_cast<TagDecl::TagKind>(kind));
17331733
class_template_specialization_decl->setDeclContext(decl_ctx);
17341734
class_template_specialization_decl->setInstantiationOf(class_template_decl);
1735+
if (TypeSystemClang::UseRedeclCompletion())
1736+
ast.getTypeDeclType(class_template_specialization_decl, nullptr);
17351737
class_template_specialization_decl->setTemplateArgs(
17361738
TemplateArgumentList::CreateCopy(ast, args));
17371739
class_template_specialization_decl->setDeclName(

0 commit comments

Comments
 (0)