[clang] [RFC] Initial implementation of P2719 (PR #113510)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 1 07:07:43 PDT 2024


================
@@ -2699,6 +2702,8 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
     return static_cast<TypeDependence>(TypeBits.Dependence);
   }
 
+  TemplateDecl *getSpecializedTemplateDecl() const;
----------------
AaronBallman wrote:

Can this return a `const` pointer and then have a non-const overload which returns the non-const pointer?

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


More information about the cfe-commits mailing list