[clang] [Clang] Implement C++26 Attributes for Structured Bindings (P0609R3) (PR #89906)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 29 09:24:23 PDT 2024


================
@@ -1115,7 +1115,9 @@ int64_t Decl::getID() const {
 
 const FunctionType *Decl::getFunctionType(bool BlocksToo) const {
   QualType Ty;
-  if (const auto *D = dyn_cast<ValueDecl>(this))
+  if (const auto *D = dyn_cast<BindingDecl>(this))
----------------
cor3ntin wrote:

I'll fix that shortly

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


More information about the cfe-commits mailing list