[llvm-branch-commits] [clang] [clang] CTAD alias: fix the transformation for the require-clause expr (PR #90961)

Matheus Izvekov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 3 11:57:03 PDT 2024


================
@@ -2744,31 +2744,155 @@ bool hasDeclaredDeductionGuides(DeclarationName Name, DeclContext *DC) {
   return false;
 }
 
+unsigned getTemplateDepth(NamedDecl *TemplateParam) {
----------------
mizvekov wrote:

I think this is potentially misleading, as we already have multiple unrelated `getTemplateDepth`, see `Sema.h` / `SemaTemplate.cpp`, `DeclBase.h`, `Expr.h`.

https://github.com/llvm/llvm-project/pull/90961


More information about the llvm-branch-commits mailing list