================ @@ -58,7 +58,7 @@ inline InheritableAttr *getDLLAttr(Decl *D) { } /// Retrieve the depth and index of a template parameter. -inline std::pair<unsigned, unsigned> getDepthAndIndex(NamedDecl *ND) { +inline std::pair<unsigned, unsigned> getDepthAndIndex(const NamedDecl *ND) { ---------------- antangelo wrote:
I'll split this out into a separate patch https://github.com/llvm/llvm-project/pull/98788 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits