https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/137961
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
> Thanks, this should allow us to try and keep
> `-Wdefault-const-init-var-unsafe` enabled while disabling
> `-Wdefault-const-init-field-unsafe`.
Thanks!
https://github.com/llvm/llvm-project/pull/137961
___
cfe-commits mailing li
https://github.com/nathanchance approved this pull request.
Thanks, this should allow us to try and keep `-Wdefault-const-init-var-unsafe`
enabled while disabling `-Wdefault-const-init-field-unsafe`.
https://github.com/llvm/llvm-project/pull/137961
__
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/137961
>From d331697715977eca37197f25bac31b4724ffefee Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Wed, 30 Apr 2025 08:57:48 -0400
Subject: [PATCH 1/2] [C] Modify -Wdefault-const-init
Post-commit review fee
@@ -1,28 +1,23 @@
-// RUN: %clang_cc1 -fsyntax-only -verify=c,unsafe -Wdefault-const-init %s
-// RUN: %clang_cc1 -fsyntax-only -verify=c,unsafe -Wc++-compat %s
-// RUN: %clang_cc1 -fsyntax-only -verify=unsafe %s
-// RUN: %clang_cc1 -fsyntax-only -verify=c -Wdefault-const-init
-Wn
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/137961
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/137961
Post-commit review feedback on https://github.com/llvm/llvm-project/pull/137166
raised a concern from the Linux kernel about wanting to silence the new
diagnostic when the uninitialized object is a const m
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
Post-commit review feedback on https://github.com/llvm/llvm-project/pull/137166
raised a concern from the Linux kernel about wanting to silence the new
diagnostic when the uninitialized object is a con