File tree 3 files changed +6
-3
lines changed 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1814,6 +1814,9 @@ class DecompositionDeclarator {
1814
1814
~DecompositionDeclarator () {
1815
1815
if (DeleteBindings)
1816
1816
delete[] Bindings;
1817
+ else
1818
+ llvm::for_each (llvm::MutableArrayRef (Bindings, NumBindings),
1819
+ [](Binding &B) { B.Attrs .reset (); });
1817
1820
}
1818
1821
1819
1822
void clear () {
Original file line number Diff line number Diff line change @@ -1115,7 +1115,7 @@ int64_t Decl::getID() const {
1115
1115
1116
1116
const FunctionType *Decl::getFunctionType (bool BlocksToo) const {
1117
1117
QualType Ty;
1118
- if (const auto *D = dyn_cast <BindingDecl>(this ))
1118
+ if (isa <BindingDecl>(this ))
1119
1119
return nullptr ;
1120
1120
else if (const auto *D = dyn_cast<ValueDecl>(this ))
1121
1121
Ty = D->getType ();
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ <h2 id="cxx26">C++2c implementation status</h2>
177
177
< tr >
178
178
< td > Attributes for Structured Bindings</ td >
179
179
< td > < a href ="https://wg21.link/P0609R3 "> P0609R3</ a > </ td >
180
- < td class ="none " align ="center "> No </ td >
180
+ < td class ="none " align ="center "> Clang 19 </ td >
181
181
</ tr >
182
182
< tr >
183
183
< td > Module Declarations Shouldn’t be Macros</ td >
@@ -187,7 +187,7 @@ <h2 id="cxx26">C++2c implementation status</h2>
187
187
< tr >
188
188
< td > Trivial infinite loops are not Undefined Behavior</ td >
189
189
< td > < a href ="https://wg21.link/P2809R3 "> P2809R3</ a > (< a href ="#dr "> DR</ a > )</ td >
190
- < td class ="unreleased " align ="center "> Clang 19 </ td >
190
+ < td class ="unreleased " align ="center "> No </ td >
191
191
</ tr >
192
192
< tr >
193
193
< td > Erroneous behaviour for uninitialized reads</ td >
You can’t perform that action at this time.
0 commit comments