[clang] [lldb] Variable template and concept template parameters (PR #150823)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Corentin Jabot (cor3ntin) Changes This is a first pass at implementing [P2841R7](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2841r7.pdf). The implementation is far from complete; however, I'm aiming to do that in

[clang] [lldb] Variable template and concept template parameters (PR #150823)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Corentin Jabot (cor3ntin) Changes This is a first pass at implementing [P2841R7](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2841r7.pdf). The implementation is far from complete; however, I'm aiming to do that in chunks,

[clang] HIPSPV: Unbundle SDL (PR #136412)

2025-07-28 Thread Paulius Velesko via cfe-commits
pvelesko wrote: Updated @yxsamliu https://github.com/llvm/llvm-project/pull/136412 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] Variable template and concept template parameters (PR #150823)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Corentin Jabot (cor3ntin) Changes This is a first pass at implementing [P2841R7](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2841r7.pdf). The implementation is far from complete; however, I'm aiming to do that in chunks, t

[clang] HIPSPV: Unbundle SDL (PR #136412)

2025-07-28 Thread Paulius Velesko via cfe-commits
https://github.com/pvelesko updated https://github.com/llvm/llvm-project/pull/136412 >From fe6a426fc135c7232650b5ebac465ceaa66d7a20 Mon Sep 17 00:00:00 2001 From: Paulius Velesko Date: Sat, 19 Apr 2025 10:02:59 +0300 Subject: [PATCH 1/5] HIPSPV: Unbundle SDL This fixes the issue of rdc linking

[clang] [lldb] Variable template and concept template parameters (PR #150823)

2025-07-28 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/150823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] Variable template and concept template parameters (PR #150823)

2025-07-28 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin ready_for_review https://github.com/llvm/llvm-project/pull/150823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Search for 'offload-arch' only next to the clang driver (PR #150965)

2025-07-28 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/150965 Summary: Previously, querying for the offload architecture tool would invoke the user's PATH, which is bad when potentially using the driver from a direct path. This patch change this to *only* consider the `offl

[clang] [Clang] Search for 'offload-arch' only next to the clang driver (PR #150965)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Joseph Huber (jhuber6) Changes Summary: Previously, querying for the offload architecture tool would invoke the user's PATH, which is bad when potentially using the driver from a direct path. This patch change this to *only* consider

[clang] [clang-tools-extra] Renaming 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread via cfe-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Developer Policy](https://llvm.org/docs/DeveloperPol

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 approved this pull request. Please document this and add it to the clang release notes. https://github.com/llvm/llvm-project/pull/126324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[clang] [Clang] Search for 'offload-arch' only next to the clang driver (PR #150965)

2025-07-28 Thread Shilei Tian via cfe-commits
https://github.com/shiltian approved this pull request. Is clang tools always installed? https://github.com/llvm/llvm-project/pull/150965 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit

[clang] [Clang] Search for 'offload-arch' only next to the clang driver (PR #150965)

2025-07-28 Thread Joseph Huber via cfe-commits
jhuber6 wrote: > Is clang tools always installed? Yes, but if they somehow weren't this would just become an error for native detection, nothing catastrophic. https://github.com/llvm/llvm-project/pull/150965 ___ cfe-commits mailing list cfe-commits@l

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 2f4de4ea71e43dd965f81efea4d0987e827c Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload and clang-tests --- cla

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
@@ -8713,6 +8713,33 @@ AST_MATCHER_P(OMPExecutableDirective, hasAnyClause, Builder) != Clauses.end(); } +/// Matches any ``#pragma omp target update`` executable directive. +/// +/// Given +/// +/// \code +/// #pragma omp target update fro

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
@@ -4724,6 +4724,65 @@ void x() { EXPECT_TRUE(matchesWithOpenMP(Source8, Matcher)); } +TEST_P(ASTMatchersTest, OMPTargetUpdateDirective_IsStandaloneDirective) { amitamd7 wrote: The tests are moved to a separate patch: https://github.com/llvm/llvm-project/p

[clang] [clang-tools-extra] Renaming 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread Baghirov Feyruz via cfe-commits
https://github.com/feyruzb updated https://github.com/llvm/llvm-project/pull/150935 >From 25b7d5b4a774ab06ce28e5300a542d24bd23ab31 Mon Sep 17 00:00:00 2001 From: Feyruz Baghirov Date: Wed, 23 Jul 2025 15:33:17 +0200 Subject: [PATCH 1/4] modified for new expected output for malloc and dtors ---

[clang] [llvm] [OpenMP] Adds omp_target_is_accessible routine (PR #138294)

2025-07-28 Thread Shilei Tian via cfe-commits
shiltian wrote: FWIW, https://github.com/llvm/llvm-project/pull/143058 seems like doing the same thing. https://github.com/llvm/llvm-project/pull/138294 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[clang] [flang] [flang][OpenMP] Add -f[no]-openmp-simd (PR #150269)

2025-07-28 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu approved this pull request. The driver side of things looks good to me. Please wait for others to approve the rest. Thanks. https://github.com/llvm/llvm-project/pull/150269 ___ cfe-commits mailing list cfe-commits@lists.

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu deleted https://github.com/llvm/llvm-project/pull/150939 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [[gnu::nonstring]] should work on pointers too (PR #150974)

2025-07-28 Thread Aaron Ballman via cfe-commits
AaronBallman wrote: No release note for this one because I plan to cherry-pick it to the 21.x branch which has a release note talking about adding initial support for the attribute. https://github.com/llvm/llvm-project/pull/150974 ___ cfe-commits mai

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu deleted https://github.com/llvm/llvm-project/pull/150939 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Reland] [PowerPC] frontend get target feature from backend with cpu name (PR #144594)

2025-07-28 Thread zhijian lin via cfe-commits
diggerlin wrote: The patch exposes an underlying issue. I am able to reproduce the crash without the patch using the following IR bash> cat reduced.ll ``` target datalayout = "E-m:e-Fi64-i64:64-i128:128-n32:64" target triple = "powerpc64" define ptr @xe_migrate_copy(i1 %tobool, i1 %tobool6) {

[clang] [clang] Diagnose [[nodiscard]] return types in Objective-C++ (PR #142541)

2025-07-28 Thread Nikita Popov via cfe-commits
@@ -16,6 +16,7 @@ #include "clang/AST/APNumericStorage.h" #include "clang/AST/APValue.h" #include "clang/AST/ASTVector.h" +#include "clang/AST/Attr.h" nikic wrote: Can you forward-declare WarnUnusedResultAttr instead? https://github.com/llvm/llvm-project/pull

[clang] [[gnu::nonstring]] should work on pointers too (PR #150974)

2025-07-28 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/150974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Enable running ClangReplInterpreterTests in an Emscripten environment (PR #150977)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-webassembly Author: None (mcbarton) Changes @vgvassilev @anutosh491 This is what it took for me to enable running ClangReplInterpreterTests in an Emscripten environment. When I ran this patch for llvm 20 we could run InterpreterTest.Instantiate

[clang] [llvm] Enable running ClangReplInterpreterTests in an Emscripten environment (PR #150977)

2025-07-28 Thread via cfe-commits
https://github.com/mcbarton created https://github.com/llvm/llvm-project/pull/150977 @vgvassilev @anutosh491 This is what it took for me to enable running ClangReplInterpreterTests in an Emscripten environment. When I ran this patch for llvm 20 we could run InterpreterTest.InstantiateTemplate

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Nick Sarnie via cfe-commits
sarnex wrote: I'll merge once @AaronBallman gets a change to take a final look https://github.com/llvm/llvm-project/pull/126324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Enable running ClangReplInterpreterTests in an Emscripten environment (PR #150977)

2025-07-28 Thread via cfe-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Developer Policy](https://llvm.org/docs/DeveloperPol

[clang] [llvm] [AArch64][NEON] NEON intrinsic compilation error with -fno-lax-vector-conversion flag fix (PR #149329)

2025-07-28 Thread Amina Chabane via cfe-commits
https://github.com/Amichaxx updated https://github.com/llvm/llvm-project/pull/149329 >From 2895e5e7b56c1c611b39a5c85de92d18f3aae71a Mon Sep 17 00:00:00 2001 From: Amina Chabane Date: Tue, 15 Jul 2025 15:56:49 + Subject: [PATCH 1/5] [AArch64][NEON] Fix poly lane intrinsics under -fno-lax-ve

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Corentin Jabot via cfe-commits
cor3ntin wrote: > I don't quite get what is happening here yet, can you give a summary of what > is being accomplished, and how you're doing so? Let me try to see if I can enlighten you a bit. P2841 very simply extends the notion of template template parameters to variable templates and conce

[clang] [clang][analyzer] Add StoreToImmutable checker (PR #150417)

2025-07-28 Thread Balazs Benics via cfe-commits
Endre =?utf-8?q?Fülöp?= , Endre =?utf-8?q?Fülöp?= , Endre =?utf-8?q?Fülöp?= , Endre =?utf-8?q?Fülöp?= Message-ID: In-Reply-To: @@ -0,0 +1,134 @@ +//=== StoreToImmutableChecker.cpp - Store to immutable memory ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache

[clang] [clang-tools-extra] Rename 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread Balazs Benics via cfe-commits
https://github.com/steakhal edited https://github.com/llvm/llvm-project/pull/150935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [[gnu::nonstring]] should work on pointers too (PR #150974)

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

[clang] 837b2d4 - [[gnu::nonstring]] should work on pointers too (#150974)

2025-07-28 Thread via cfe-commits
Author: Aaron Ballman Date: 2025-07-28T11:53:33-04:00 New Revision: 837b2d464ff16fe0d892dcf2827747c97dd5465e URL: https://github.com/llvm/llvm-project/commit/837b2d464ff16fe0d892dcf2827747c97dd5465e DIFF: https://github.com/llvm/llvm-project/commit/837b2d464ff16fe0d892dcf2827747c97dd5465e.diff

[clang] [CIR] Add bit ffs operation (PR #150997)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sirui Mu (Lancern) Changes This patch adds the `cir.ffs` operation which corresponds to the `__builtin_ffs` family of builtin functions. --- Full diff: https://github.com/llvm/llvm-project/pull/150997.diff 8 Files Affected: - (modified)

[clang] [CIR] Add bit ffs operation (PR #150997)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Sirui Mu (Lancern) Changes This patch adds the `cir.ffs` operation which corresponds to the `__builtin_ffs` family of builtin functions. --- Full diff: https://github.com/llvm/llvm-project/pull/150997.diff 8 Files Affected: - (modifie

[clang] [CIR] Add bit ffs operation (PR #150997)

2025-07-28 Thread Sirui Mu via cfe-commits
https://github.com/Lancern created https://github.com/llvm/llvm-project/pull/150997 This patch adds the `cir.ffs` operation which corresponds to the `__builtin_ffs` family of builtin functions. >From e16b3fe7d156252502ace0b6de74d055b3d5312d Mon Sep 17 00:00:00 2001 From: Sirui Mu Date: Tue, 29

[clang] [llvm] [Clang-Repl] Add custom function as lambda in launchExecutor and fetch PID of launched executor (PR #147478)

2025-07-28 Thread Abhinav Kumar via cfe-commits
https://github.com/kr-2003 updated https://github.com/llvm/llvm-project/pull/147478 >From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001 From: kr-2003 Date: Tue, 1 Jul 2025 18:55:21 +0530 Subject: [PATCH 01/21] pipes for redirection in oop jit --- .../clang/Interpreter/Remo

[libclc] [libclc] Optimize generic CLC fmin/fmax (PR #128506)

2025-07-28 Thread Fraser Cormack via cfe-commits
https://github.com/frasercrmck updated https://github.com/llvm/llvm-project/pull/128506 >From 414c6cf560248cfdaff8ae1564b7a9313990a087 Mon Sep 17 00:00:00 2001 From: Fraser Cormack Date: Mon, 24 Feb 2025 12:25:22 + Subject: [PATCH 1/3] [libclc] Optimize generic CLC fmin/fmax The CLC fmin/f

[clang] [clang-tools-extra] Renaming 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread Donát Nagy via cfe-commits
https://github.com/NagyDonat approved this pull request. The commit looks good to me; thanks for cleaning this up! https://github.com/llvm/llvm-project/pull/150935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex updated https://github.com/llvm/llvm-project/pull/126324 >From 894307419c0e1f001f4369a1e4fc2a11cf2e00ef Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Mon, 28 Jul 2025 07:37:01 -0700 Subject: [PATCH] [clang] Reland '__has_builtin should return false for aux tripl

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex edited https://github.com/llvm/llvm-project/pull/126324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] opencl: Ensure printf symbol is not mangled. (PR #150210)

2025-07-28 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang` at step 5 "build-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/24352 Here is the relevant piec

[clang] [lldb] Variable template and concept template parameters (PR #150823)

2025-07-28 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/150823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Nick Sarnie via cfe-commits
sarnex wrote: > This seems to have been undone. Yeah just noticed the same thing, looks like that feedback was only in this PR, my bad. Fixed now. https://github.com/llvm/llvm-project/pull/126324 ___ cfe-commits mailing list cfe-commits@lists.llvm.o

[clang] [Clang] Rework creating offloading toolchains (PR #125556)

2025-07-28 Thread Joseph Huber via cfe-commits
@@ -950,221 +930,264 @@ static bool addSYCLDefaultTriple(Compilation &C, return true; } -void Driver::CreateOffloadingDeviceToolChains(Compilation &C, - InputList &Inputs) { - - // - // CUDA/HIP - // - // We need to generate a

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Nick Sarnie via cfe-commits
sarnex wrote: ah right, sorry. been away from this pr for too long :P https://github.com/llvm/llvm-project/pull/126324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/150823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] Renaming 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread Donát Nagy via cfe-commits
NagyDonat wrote: The CI fails because my commit https://github.com/llvm/llvm-project/pull/150240 was merged after the creation of this commit and introduced one additional occurrence of "Attempt to free released memory". It will be fixed soon. https://github.com/llvm/llvm-project/pull/150935 _

[clang] [clang-tools-extra] Renaming 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread Baghirov Feyruz via cfe-commits
https://github.com/feyruzb updated https://github.com/llvm/llvm-project/pull/150935 >From 25b7d5b4a774ab06ce28e5300a542d24bd23ab31 Mon Sep 17 00:00:00 2001 From: Feyruz Baghirov Date: Wed, 23 Jul 2025 15:33:17 +0200 Subject: [PATCH 1/3] modified for new expected output for malloc and dtors ---

[clang-tools-extra] [clang-tidy] added `IgnoreAliasing` option to `readability-qualified-auto check` (PR #147060)

2025-07-28 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/147060 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 2f4de4ea71e43dd965f81efea4d0987e827c Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload and clang-tests --- cla

[clang-tools-extra] [clang-tidy] Add `IgnoreAliasing` option to `readability-qualified-auto check` (PR #147060)

2025-07-28 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/147060 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 4d259de - [clang-tidy] Add `IgnoreAliasing` option to `readability-qualified-auto check` (#147060)

2025-07-28 Thread via cfe-commits
Author: Juan Besa Date: 2025-07-28T18:20:02+03:00 New Revision: 4d259de2ae88fb022acc722dedd60260a870eb8b URL: https://github.com/llvm/llvm-project/commit/4d259de2ae88fb022acc722dedd60260a870eb8b DIFF: https://github.com/llvm/llvm-project/commit/4d259de2ae88fb022acc722dedd60260a870eb8b.diff LOG

[clang-tools-extra] [clang-tidy] Add `IgnoreAliasing` option to `readability-qualified-auto check` (PR #147060)

2025-07-28 Thread via cfe-commits
github-actions[bot] wrote: @JuanBesa Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build

[clang-tools-extra] [clang-tidy] Add `IgnoreAliasing` option to `readability-qualified-auto check` (PR #147060)

2025-07-28 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor closed https://github.com/llvm/llvm-project/pull/147060 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][analyzer] Conversion to CheckerFamily: CStringChecker (PR #150971)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Donát Nagy (NagyDonat) Changes This commit converts the class CStringChecker to the checker family framework and slightly simplifies the implementation. This commit is NFC and preserves the confused garbage descriptions and categories of

[clang] [NFC][analyzer] Conversion to CheckerFamily: CStringChecker (PR #150971)

2025-07-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Donát Nagy (NagyDonat) Changes This commit converts the class CStringChecker to the checker family framework and slightly simplifies the implementation. This commit is NFC and preserves the confused garbage descriptions

[clang] [NFC][analyzer] Conversion to CheckerFamily: CStringChecker (PR #150971)

2025-07-28 Thread Donát Nagy via cfe-commits
https://github.com/NagyDonat created https://github.com/llvm/llvm-project/pull/150971 This commit converts the class CStringChecker to the checker family framework and slightly simplifies the implementation. This commit is NFC and preserves the confused garbage descriptions and categories of

[clang-tools-extra] f0c90df - Rename 'free' in warning messages to 'release' (#150935)

2025-07-28 Thread via cfe-commits
Author: Baghirov Feyruz Date: 2025-07-28T18:02:56+02:00 New Revision: f0c90dfcd8f2b641c17db578bdfeb9b02994e06b URL: https://github.com/llvm/llvm-project/commit/f0c90dfcd8f2b641c17db578bdfeb9b02994e06b DIFF: https://github.com/llvm/llvm-project/commit/f0c90dfcd8f2b641c17db578bdfeb9b02994e06b.dif

[clang] [clang-tools-extra] Rename 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread Donát Nagy via cfe-commits
https://github.com/NagyDonat closed https://github.com/llvm/llvm-project/pull/150935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] Rename 'free' in warning messages to 'release' (PR #150935)

2025-07-28 Thread via cfe-commits
github-actions[bot] wrote: @feyruzb Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build,

[clang] [[gnu::nonstring]] should work on pointers too (PR #150974)

2025-07-28 Thread Aaron Ballman via cfe-commits
AaronBallman wrote: /cherry-pick 837b2d464ff16fe0d892dcf2827747c97dd5465e https://github.com/llvm/llvm-project/pull/150974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix Clang bug that -Wformat-signedness is not reported properly. (PR #150962)

2025-07-28 Thread via cfe-commits
DeanSturtevant1 wrote: @AaronBallman,@karka228,@hazohelet -- would you care to review this pull request? Thanks - Dean https://github.com/llvm/llvm-project/pull/150962 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-

[clang] [[gnu::nonstring]] should work on pointers too (PR #150974)

2025-07-28 Thread via cfe-commits
llvmbot wrote: /pull-request llvm/llvm-project#150980 https://github.com/llvm/llvm-project/pull/150974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Implement `preserve_none` for 32-bit x86 (PR #150106)

2025-07-28 Thread Brandt Bucher via cfe-commits
brandtbucher wrote: > LGTM, but I'd like a second set of eyes on this. Maybe @weiguozhi, the author of 64-bit `preserve_none`? https://github.com/llvm/llvm-project/pull/150106 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.

[clang] [llvm] [AArch64][NEON] NEON intrinsic compilation error with -fno-lax-vector-conversion flag fix (PR #149329)

2025-07-28 Thread Amina Chabane via cfe-commits
https://github.com/Amichaxx updated https://github.com/llvm/llvm-project/pull/149329 >From 2895e5e7b56c1c611b39a5c85de92d18f3aae71a Mon Sep 17 00:00:00 2001 From: Amina Chabane Date: Tue, 15 Jul 2025 15:56:49 + Subject: [PATCH 1/6] [AArch64][NEON] Fix poly lane intrinsics under -fno-lax-ve

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
@@ -235,7 +237,7 @@ void TemplateParameterList::getAssociatedConstraints( ACs.emplace_back(E); } } - if (HasRequiresClause) + if (HasRequiresClause && getRequiresClause()) erichkeane wrote: Does this mean we can now have a requires clause

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
@@ -26,115 +27,116 @@ #include namespace clang { - /// Represents the parsed form of a C++ template argument. - class ParsedTemplateArgument { - public: -/// Describes the kind of template argument that was parsed. -enum KindType { - /// A template type parame

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
@@ -1746,6 +1754,16 @@ class TemplateTemplateParmDecl final return SourceRange(getTemplateParameters()->getTemplateLoc(), End); } + TemplateNameKind kind() const { erichkeane wrote: Mild preference for `templateKind` or something like that (perhaps som

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
https://github.com/erichkeane commented: A few comments, else looks reasonable. Thanks for the explaination! https://github.com/llvm/llvm-project/pull/150823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
@@ -339,6 +339,18 @@ bool TemplateArgument::isPackExpansion() const { llvm_unreachable("Invalid TemplateArgument Kind!"); } +bool TemplateArgument::isConceptOrConceptTemplateParameter() const { + bool isConcept = false; + if (getKind() == TemplateArgument::Template) { +

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
@@ -5144,6 +5163,56 @@ bool TreeTransform::TransformTemplateArguments( } +template +template +bool TreeTransform::TransformConceptTemplateArguments( +InputIterator First, InputIterator Last, TemplateArgumentListInfo &Outputs, +bool Uneval) { + + auto isConcept = []

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/150823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
@@ -5144,6 +5163,56 @@ bool TreeTransform::TransformTemplateArguments( } +template +template +bool TreeTransform::TransformConceptTemplateArguments( +InputIterator First, InputIterator Last, TemplateArgumentListInfo &Outputs, +bool Uneval) { + + auto isConcept = []

[clang] [flang] [llvm] [openmp] [clang][OpenMP] New OpenMP 6.0 threadset clause (PR #135807)

2025-07-28 Thread via cfe-commits
Ritanya-B-Bharadwaj wrote: I’ve made some basic changes to the flang frontend just to fix the build failure. The Clang side is already reviewed and approved. These flang changes are just temporary placeholders until someone takes up proper support for this feature in Fortran. https://github.

[clang] [Clang][Docs] Fix typo in clang.rst (PR #150907)

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

[clang] [flang] [llvm] add -floop-fuse to clang and flang (PR #142686)

2025-07-28 Thread Ryotaro Kasuga via cfe-commits
kasuga-fj wrote: You probably made a mistake with the rebase... https://github.com/llvm/llvm-project/pull/142686 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 5f20518 - [Clang][Docs] Fix typo in clang.rst (#150907)

2025-07-28 Thread via cfe-commits
Author: Tomer Shafir Date: 2025-07-29T00:13:46+08:00 New Revision: 5f20518f5b4734d01848dfe44d24aed195dc2043 URL: https://github.com/llvm/llvm-project/commit/5f20518f5b4734d01848dfe44d24aed195dc2043 DIFF: https://github.com/llvm/llvm-project/commit/5f20518f5b4734d01848dfe44d24aed195dc2043.diff

[clang] [Clang][Docs] Fix typo in clang.rst (PR #150907)

2025-07-28 Thread via cfe-commits
https://github.com/hstk30-hw closed https://github.com/llvm/llvm-project/pull/150907 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix Clang bug that -Wformat-signedness is not reported properly. (PR #150962)

2025-07-28 Thread via cfe-commits
DeanSturtevant1 wrote: Fixing build ... https://github.com/llvm/llvm-project/pull/150962 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
@@ -0,0 +1,82 @@ +! RUN: %flang_fc1 -emit-fir -o - %s | FileCheck --check-prefix=CHECK-UNINT %s +! RUN: %flang_fc1 -emit-fir -finit-logical=true -o - %s | FileCheck --check-prefix=CHECK-TRUE %s +! RUN: %flang_fc1 -emit-fir -finit-logical=false -o - %s | FileCheck --check-prefix=

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
@@ -6960,14 +6960,18 @@ def A_DASH : Joined<["-"], "A-">, Group; def static_libgfortran : Flag<["-"], "static-libgfortran">, Group; // "f" options with values for gfortran. +// Some of these options are visible for LLVM Flang too. def fblas_matmul_limit_EQ : Joined<["-"], "f

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
@@ -0,0 +1,82 @@ +! RUN: %flang_fc1 -emit-fir -o - %s | FileCheck --check-prefix=CHECK-UNINT %s +! RUN: %flang_fc1 -emit-fir -finit-logical=true -o - %s | FileCheck --check-prefix=CHECK-TRUE %s +! RUN: %flang_fc1 -emit-fir -finit-logical=false -o - %s | FileCheck --check-prefix=

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
@@ -6960,14 +6960,18 @@ def A_DASH : Joined<["-"], "A-">, Group; def static_libgfortran : Flag<["-"], "static-libgfortran">, Group; // "f" options with values for gfortran. +// Some of these options are visible for LLVM Flang too. def fblas_matmul_limit_EQ : Joined<["-"], "f

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
@@ -5720,6 +5720,79 @@ class FirConverter : public Fortran::lower::AbstractConverter { void instantiateVar(const Fortran::lower::pft::Variable &var, Fortran::lower::AggregateStoreMap &storeMap) { Fortran::lower::instantiateVariable(*this, var, local

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
@@ -1541,6 +1541,22 @@ bool CompilerInvocation::createFromArgs( else invoc.loweringOpts.setInitGlobalZero(false); + // -finit-logical + if (const auto *arg = + args.getLastArg(clang::driver::options::OPT_finit_logical_EQ)) { +llvm::StringRef argValue = llv

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
https://github.com/kiranchandramohan edited https://github.com/llvm/llvm-project/pull/150939 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
https://github.com/kiranchandramohan commented: A few trivial comments. https://github.com/llvm/llvm-project/pull/150939 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [flang][clang] Add support for -finit-logical in Flang (PR #150939)

2025-07-28 Thread Kiran Chandramohan via cfe-commits
@@ -6960,14 +6960,18 @@ def A_DASH : Joined<["-"], "A-">, Group; def static_libgfortran : Flag<["-"], "static-libgfortran">, Group; // "f" options with values for gfortran. +// Some of these options are visible for LLVM Flang too. def fblas_matmul_limit_EQ : Joined<["-"], "f

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex updated https://github.com/llvm/llvm-project/pull/126324 >From 894307419c0e1f001f4369a1e4fc2a11cf2e00ef Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Mon, 28 Jul 2025 07:37:01 -0700 Subject: [PATCH 1/3] [clang] Reland '__has_builtin should return false for aux t

[clang] [llvm] [OpenMP] Adds omp_target_is_accessible routine (PR #138294)

2025-07-28 Thread via cfe-commits
https://github.com/nicebert updated https://github.com/llvm/llvm-project/pull/138294 >From 025d36ef4386bf017e3a8db4f42076a6350ff4ff Mon Sep 17 00:00:00 2001 From: Nicole Aschenbrenner Date: Fri, 2 May 2025 09:58:23 -0400 Subject: [PATCH 1/2] [OpenMP] Adds omp_target_is_accessible routine Adds

[clang] [llvm] [OpenMP] Adds omp_target_is_accessible routine (PR #138294)

2025-07-28 Thread via cfe-commits
@@ -280,6 +280,7 @@ int omp_get_initial_device(void); void *omp_target_alloc(size_t Size, int DeviceNum); void omp_target_free(void *DevicePtr, int DeviceNum); int omp_target_is_present(const void *Ptr, int DeviceNum); +int omp_target_is_accessible(const void *Ptr, size_t Size,

[clang] [llvm] [OpenMP] Adds omp_target_is_accessible routine (PR #138294)

2025-07-28 Thread via cfe-commits
https://github.com/nicebert updated https://github.com/llvm/llvm-project/pull/138294 >From 025d36ef4386bf017e3a8db4f42076a6350ff4ff Mon Sep 17 00:00:00 2001 From: Nicole Aschenbrenner Date: Fri, 2 May 2025 09:58:23 -0400 Subject: [PATCH 1/3] [OpenMP] Adds omp_target_is_accessible routine Adds

[clang] [Clang] Reland '__has_builtin should return false for aux triple builtins' (PR #126324)

2025-07-28 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 approved this pull request. LG, thanks! https://github.com/llvm/llvm-project/pull/126324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix Clang bug that -Wformat-signedness is not reported properly. (PR #150962)

2025-07-28 Thread via cfe-commits
https://github.com/DeanSturtevant1 updated https://github.com/llvm/llvm-project/pull/150962 >From 1c6029240e6a19981105fc7561453fc2857e4703 Mon Sep 17 00:00:00 2001 From: Dean Sturtevant Date: Mon, 28 Jul 2025 10:30:50 -0400 Subject: [PATCH 1/3] Fix Clang bug that -Wformat-signedness is not repo

[clang] Fix Clang bug that -Wformat-signedness is not reported properly. (PR #150962)

2025-07-28 Thread via cfe-commits
https://github.com/DeanSturtevant1 updated https://github.com/llvm/llvm-project/pull/150962 >From 1c6029240e6a19981105fc7561453fc2857e4703 Mon Sep 17 00:00:00 2001 From: Dean Sturtevant Date: Mon, 28 Jul 2025 10:30:50 -0400 Subject: [PATCH 1/3] Fix Clang bug that -Wformat-signedness is not repo

[clang] [llvm] [Clang-Repl] Add custom function as lambda in launchExecutor and fetch PID of launched executor (PR #147478)

2025-07-28 Thread Abhinav Kumar via cfe-commits
https://github.com/kr-2003 updated https://github.com/llvm/llvm-project/pull/147478 >From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001 From: kr-2003 Date: Tue, 1 Jul 2025 18:55:21 +0530 Subject: [PATCH 01/18] pipes for redirection in oop jit --- .../clang/Interpreter/Remo

[clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

2025-07-28 Thread Erich Keane via cfe-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/150823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

  1   2   3   4   5   >