[clang] [clang] Implement P2582R1: CTAD from inherited constructors (PR #98788)

via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 27 21:37:35 PDT 2024


================
@@ -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:

Done, see https://github.com/llvm/llvm-project/pull/113857

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


More information about the cfe-commits mailing list