================
@@ -185,13 +185,12 @@ enum class TemplateSubstitutionKind : char {
return !(*this)(Depth, Index).isNull();
}
- bool isAnyArgInstantiationDependent(const ASTContext &C) const {
+ bool isAnyArgDependent(const ASTContext &C) const {
for (ArgumentListLevel ListLevel : TemplateArgumentLists)
for (const TemplateArgument &TA : ListLevel.Args)
// There might be null template arguments representing unused
template
// parameter mappings in an MLTAL during concept checking.
- if (!TA.isNull() &&
- C.getCanonicalTemplateArgument(TA).isInstantiationDependent())
+ if (!TA.isNull() && C.getCanonicalTemplateArgument(TA).isDependent())
----------------
zyn0217 wrote:
> Is there a difference to checking if the node is dependent, instead of the
> canonical node?
Yeah the canonical forms are unnecessary, I removed it.
https://github.com/llvm/llvm-project/pull/185608
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits