[clang] [[clang::always_destroy]] attribute silences warn-exit-time-destructor (PR #86486)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 26 05:35:57 PDT 2024


================
@@ -289,6 +289,10 @@ Improvements to Clang's diagnostics
 - Clang now correctly diagnoses no arguments to a variadic macro parameter as a C23/C++20 extension.
   Fixes #GH84495.
 
+- Clang no longer emits a ``-Wexit-time destructor`` warning on static variables explicitly
----------------
AaronBallman wrote:

```suggestion
- Clang no longer emits a ``-Wexit-time destructors`` warning on static variables explicitly
```

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


More information about the cfe-commits mailing list