File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -4591,15 +4591,11 @@ namespace {
45914591 bool initIsEvaluatable = false ;
45924592 if (Impl.SwiftContext .ClangImporterOpts .EnableConstValueImporting ) {
45934593 if (auto init = decl->getInit ()) {
4594- // Don't import values for partial specializations. TODO: Should we
4595- // stop importing partially specialized variables completely?
4596- bool partial = isa<clang::VarTemplatePartialSpecializationDecl>(decl);
4597-
45984594 // Don't import values when type-dependent or value-dependent.
45994595 bool typeDependent = decl->getType ()->isDependentType ();
46004596 bool valueDependent = init->isValueDependent ();
46014597
4602- initIsEvaluatable = !partial && ! typeDependent && !valueDependent;
4598+ initIsEvaluatable = !typeDependent && !valueDependent;
46034599 }
46044600 }
46054601
You can’t perform that action at this time.
0 commit comments