MaskRay wrote:
Thank you for your efforts to enhance sanitizers. However, the current
implementation aligns with the preferences of many, including GCC contributors
who introduced -fsanitize-trap in 2022. Gaining consensus to modify
-fsanitize-trap to issue warnings or errors seems unlikely, s
@@ -453,22 +453,108 @@ static bool areEqualIntegers(const Expr *E1, const Expr
*E2, ASTContext &Ctx) {
}
}
+// Providing that `Ptr` is a pointer and `Size` is an unsigned-integral
+// expression, returns true iff they follow one of the following safe
+// patterns:
+// 1. P
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/145626
>From 8c07b277562bd3d4f332a341eb1e0127545c8280 Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Tue, 24 Jun 2025 11:25:52 +0800
Subject: [PATCH 1/3] [NFC][-Wunsafe-buffer-usage] Refactor safe pattern check
Author: Florian Mayer
Date: 2025-07-11T22:09:39-07:00
New Revision: 22b21f34b233630f6adcdb60fe41fcbce322b68c
URL:
https://github.com/llvm/llvm-project/commit/22b21f34b233630f6adcdb60fe41fcbce322b68c
DIFF:
https://github.com/llvm/llvm-project/commit/22b21f34b233630f6adcdb60fe41fcbce322b68c.diff
https://github.com/fmayer closed
https://github.com/llvm/llvm-project/pull/148323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/147905
>From 86dc26e3947d2d53e9b86d700946e7f381f71a7a Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 10 Jul 2025 10:19:31 +0300
Subject: [PATCH 1/3] [clang] Don't pass sanitizers' rtlibs to linker with `-
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux`
running on `fuchsia-debian-64-us-central1-b-1` while building `clang` at step 4
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/11/builds/19385
Here is the relevant
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/147832
>From 02e7ad8a92e01b19d85f9bedf831aac161439ccb Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Wed, 9 Jul 2025 21:21:53 +
Subject: [PATCH 1/3] [HLSL][RootSignature] Implement multiple diagnostics in
`Root
@@ -1083,6 +1084,90 @@ void SemaHLSL::ActOnFinishRootSignatureDecl(
bool SemaHLSL::handleRootSignatureElements(
ArrayRef Elements) {
+ // Define some common error handling functions
+ bool HadError = false;
+ auto ReportError = [this, &HadError](SourceLocation Loc, uint
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/147832
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/148323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/localspook created
https://github.com/llvm/llvm-project/pull/148334
This check already understands how `constexpr` makes initialization order
problems impossible, and C++20's `constinit` provides the exact same guarantees
while placing fewer restrictions on the user.
>From
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Victor Chernyakin (localspook)
Changes
This check already understands how `constexpr` makes initialization order
problems impossible, and C++20's `constinit` provides the exact same guarantees
while placing fewer restrictions
Author: Sirui Mu
Date: 2025-07-12T12:15:36+08:00
New Revision: 265fb3605d1d070a004fd4d9db54ad2ae6f722c7
URL:
https://github.com/llvm/llvm-project/commit/265fb3605d1d070a004fd4d9db54ad2ae6f722c7
DIFF:
https://github.com/llvm/llvm-project/commit/265fb3605d1d070a004fd4d9db54ad2ae6f722c7.diff
LOG:
https://github.com/Lancern closed
https://github.com/llvm/llvm-project/pull/147200
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Lancern wrote:
I'm going to merge this and I'll send another patch to resolve the various nits
in the comments.
https://github.com/llvm/llvm-project/pull/147200
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
@@ -0,0 +1,56 @@
+// Check that speculative devirtualization works without the need for LTO or
visibility.
hassnaaHamdi wrote:
I have separated the tests.
For testing using non-LTO pass pipeline, that will be postponed until I enable
the WPD by default.
https:
https://github.com/hassnaaHamdi updated
https://github.com/llvm/llvm-project/pull/145031
>From 54296ceadcdf59136f68c1e3132a2528396361d4 Mon Sep 17 00:00:00 2001
From: Hassnaa Hamdi
Date: Fri, 20 Jun 2025 01:35:38 +
Subject: [PATCH 1/2] [WPD]: Apply speculative WPD in non-lto mode.
- This p
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h,c --
clang/lib/CodeGen/BackendUtil.cpp clang/lib/CodeG
https://github.com/localspook updated
https://github.com/llvm/llvm-project/pull/148334
>From e6b9c9ab548986d26fe24a91ab360e7c0363817d Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Fri, 11 Jul 2025 21:09:22 -0700
Subject: [PATCH 1/2] [clang-tidy] Teach
`cppcoreguidelines-interfaces-glo
https://github.com/localspook edited
https://github.com/llvm/llvm-project/pull/148334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Igor Kudrin (igorkudrin)
Changes
When one kind of diagnostics is disabled, this should not preclude other
diagnostics from displaying, even if they have lower priority. For example,
this should print a warning about passing an un
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Igor Kudrin (igorkudrin)
Changes
When one kind of diagnostics is disabled, this should not preclude other
diagnostics from displaying, even if they have lower priority. For example,
this should print a warning about passing an uninitializ
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/148336
When one kind of diagnostics is disabled, this should not preclude other
diagnostics from displaying, even if they have lower priority. For example,
this should print a warning about passing an uninitialized
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/148337
This option is similar to -Wuninitialized-const-reference, but diagnoses the
passing of an uninitialized value via a const pointer, like in the following
code:
```
void foo(const int *);
void test() {
int
https://github.com/vbvictor approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/148334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
igorkudrin wrote:
This fixes an additional case reported by @rnapier in #37460
https://github.com/llvm/llvm-project/pull/148337
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/148337
>From 8343c946e874ee27e71781ac1bd10fb680b08fbf Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 11 Jul 2025 18:23:10 -0700
Subject: [PATCH 1/2] [clang] Add -Wuninitialized-const-pointer
This option is s
eaeltsin wrote:
> I can revert and then reland this if the issue is pressing for you
@Sirraide - this is pressing us, so please clean revert first. Thank you!
https://github.com/llvm/llvm-project/pull/143520
___
cfe-commits mailing list
cfe-commits@l
Author: Dmitry Chestnykh
Date: 2025-07-12T09:44:14+03:00
New Revision: 593fd44a9dcf77db8348c37d70cfecef57c392c7
URL:
https://github.com/llvm/llvm-project/commit/593fd44a9dcf77db8348c37d70cfecef57c392c7
DIFF:
https://github.com/llvm/llvm-project/commit/593fd44a9dcf77db8348c37d70cfecef57c392c7.di
https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/147905
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
NumElts, a member variable of ArrayTypeInfo, is already of Expr *.
---
Full diff: https://github.com/llvm/llvm-project/pull/148338.diff
2 Files Affected:
- (modified) clang/lib/Sema/SemaExprCXX.cpp
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/148338
NumElts, a member variable of ArrayTypeInfo, is already of Expr *.
>From 77284e1f4832ed648fce11ea3cb877369efcf20e Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Fri, 11 Jul 2025 11:20:17 -0700
Subject
Author: Baranov Victor
Date: 2025-07-12T09:56:30+03:00
New Revision: 2f4a804e6eb597e792cf069726c6190127c478fb
URL:
https://github.com/llvm/llvm-project/commit/2f4a804e6eb597e792cf069726c6190127c478fb
DIFF:
https://github.com/llvm/llvm-project/commit/2f4a804e6eb597e792cf069726c6190127c478fb.diff
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/144270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Baranov Victor
Date: 2025-07-12T09:58:06+03:00
New Revision: f6c927e8dbe8e760c5d21c52f0c211ab3fb58735
URL:
https://github.com/llvm/llvm-project/commit/f6c927e8dbe8e760c5d21c52f0c211ab3fb58735
DIFF:
https://github.com/llvm/llvm-project/commit/f6c927e8dbe8e760c5d21c52f0c211ab3fb58735.diff
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/142839
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
401 - 440 of 440 matches
Mail list logo