[clang] [Clang][Sema] Handle invalid variable template specialization whose type depends on itself (PR #134522)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 29 20:47:59 PDT 2025
================
@@ -7594,6 +7594,54 @@ ASTContext::getCanonicalTemplateArgument(const TemplateArgument &Arg) const {
llvm_unreachable("Unhandled template argument kind");
}
+bool ASTContext::isSameTemplateArgument(const TemplateArgument &Arg1,
+ const TemplateArgument &Arg2) const {
----------------
zwuis wrote:
Oops. I didn't know that `isSameTemplateArg` in SemaTemplateDeduction.cpp was changed and I need to rebase. Thanks for your reminder.
https://github.com/llvm/llvm-project/pull/134522
More information about the cfe-commits
mailing list