[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `clang-tools-extra,clang` at step 7 "test-build-unified-tree-check-llvm". Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/2142

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread via cfe-commits
https://github.com/Sirraide approved this pull request. https://github.com/llvm/llvm-project/pull/130299 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman closed https://github.com/llvm/llvm-project/pull/130299 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman updated https://github.com/llvm/llvm-project/pull/130299 >From 8ee44f1f2beb659a37c693b4f323491f6bfd8caa Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 7 Mar 2025 11:04:31 -0500 Subject: [PATCH 1/3] [C2y] Implement WG14 N3409 This paper removes UB around

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman updated https://github.com/llvm/llvm-project/pull/130299 >From 8ee44f1f2beb659a37c693b4f323491f6bfd8caa Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 7 Mar 2025 11:04:31 -0500 Subject: [PATCH 1/2] [C2y] Implement WG14 N3409 This paper removes UB around

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread Aaron Ballman via cfe-commits
@@ -2269,11 +2269,10 @@ StmtResult Sema::ActOnForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, for (auto *DI : DS->decls()) { if (VarDecl *VD = dyn_cast(DI)) { VarDeclSeen = true; - if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) -

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman updated https://github.com/llvm/llvm-project/pull/130299 >From 8ee44f1f2beb659a37c693b4f323491f6bfd8caa Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 7 Mar 2025 11:04:31 -0500 Subject: [PATCH 1/2] [C2y] Implement WG14 N3409 This paper removes UB around

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread via cfe-commits
@@ -2269,11 +2269,10 @@ StmtResult Sema::ActOnForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, for (auto *DI : DS->decls()) { if (VarDecl *VD = dyn_cast(DI)) { VarDeclSeen = true; - if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) -

[clang] [clang-tools-extra] [C2y] Implement WG14 N3409 (PR #130299)

2025-03-07 Thread via cfe-commits
@@ -2269,11 +2269,10 @@ StmtResult Sema::ActOnForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, for (auto *DI : DS->decls()) { if (VarDecl *VD = dyn_cast(DI)) { VarDeclSeen = true; - if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) -