[clang] [Clang] skip warnings for constructors marked with the [[noreturn]] attribute (PR #115558)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 20 15:34:25 PST 2024


================
@@ -555,6 +555,8 @@ Improvements to Clang's diagnostics
       getS(); // Now diagnoses "Reason 2", previously diagnoses "Reason 1"
     }
 
+- Clang now omits warnings for constructors marked with the ``[[noreturn]]`` attribute (#GH63009).
----------------
a-tarasyuk wrote:

@Sirraide thanks. I've updated.

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


More information about the cfe-commits mailing list