================
@@ -1452,6 +1453,15 @@ class VarDecl : public DeclaratorDecl, public
Redeclarable<VarDecl> {
/// not.
bool evaluateDestruction(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
+ /// Evaluate the destruction of this variable, the destruction of which is
+ /// required by language rules to be constant.
----------------
cor3ntin wrote:
```suggestion
/// Evaluate the destruction of a variable that is required by the language
to have
/// constant destruction.
```
You make it sounds like all variable need to have constant destruction
https://github.com/llvm/llvm-project/pull/205557
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits