[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread Baranov Victor via cfe-commits
vbvictor wrote: @thorsten-klein, by [LLVM Developer Policy](https://llvm.org/docs/DeveloperPolicy.html#email-addresses) you should have public email for making a contribution. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. https:

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread Thorsten Klein via cfe-commits
thorsten-klein wrote: My e-mail address is now public 👍 https://github.com/llvm/llvm-project/pull/124265 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

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

[clang-tools-extra] 00eb22f - added option `google-readability-namespace-comments.AllowNoNamespaceComments` (#124265)

2025-06-08 Thread via cfe-commits
Author: Thorsten Klein Date: 2025-06-08T13:19:40+03:00 New Revision: 00eb22fff99559cc97fc9b24a9dbe86b89e9beae URL: https://github.com/llvm/llvm-project/commit/00eb22fff99559cc97fc9b24a9dbe86b89e9beae DIFF: https://github.com/llvm/llvm-project/commit/00eb22fff99559cc97fc9b24a9dbe86b89e9beae.diff

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

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

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread via cfe-commits
github-actions[bot] wrote: @thorsten-klein 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

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread via cfe-commits
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 -- clang-tools-extra/test/clang-tidy/checkers/google/r

[clang] [CIR] Extend VecShuffleOp verifier to catch invalid index (PR #143262)

2025-06-08 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/143262 >From 5f98861a88e544ec80bbaf5fe0ffb650c2d71e67 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 7 Jun 2025 14:57:53 +0200 Subject: [PATCH 1/2] [CIR] Extend VecShuffleOp verifier to catch invalid index

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread Carlos Galvez via cfe-commits
carlosgalvezp wrote: @vbvictor it seems this was merged before the CI checks finished running, next time please wait for that ;) Could you or @thorsten-klein fix the broken autoformatter? https://github.com/llvm/llvm-project/pull/124265 ___ cfe-commi

[clang] [CIR] Implement folder for VecShuffleOp (PR #143260)

2025-06-08 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/143260 >From 14ffd458c4896bd4d5fb73f97c5745db70c8360e Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 7 Jun 2025 14:43:16 +0200 Subject: [PATCH 1/2] [CIR] Implement folder for VecShuffleOp --- clang/inclu

[clang] [Sema] Implement fix as suggested by FIXME (PR #143142)

2025-06-08 Thread via cfe-commits
https://github.com/lux-QAQ updated https://github.com/llvm/llvm-project/pull/143142 >From 08de6e4c0637af38e91ebfde91d7c63e5b2169dc Mon Sep 17 00:00:00 2001 From: LUX <1098346...@qq.com> Date: Fri, 6 Jun 2025 21:17:29 +0800 Subject: [PATCH] [Sema] Fix memory leak in DeductionFailureInfo (#143129)

[clang] [clang][analyzer] Correct SMT Layer for _BitInt cases refutations (PR #143310)

2025-06-08 Thread via cfe-commits
https://github.com/vabridgers created https://github.com/llvm/llvm-project/pull/143310 Since _BitInt was added later, ASTContext did not comprehend getting a type by bitwidth that's not a power of 2, and the SMT layer also did not comprehend this. This led to unexpected crashes using Z3 refuta

[clang] [clang][analyzer] Correct SMT Layer for _BitInt cases refutations (PR #143310)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (vabridgers) Changes Since _BitInt was added later, ASTContext did not comprehend getting a type by bitwidth that's not a power of 2, and the SMT layer also did not comprehend this. This led to unexpected crashes using Z3 refutation

[clang] [clang][analyzer] Correct SMT Layer for _BitInt cases refutations (PR #143310)

2025-06-08 Thread via cfe-commits
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 c,h,cpp -- clang/test/Analysis/bitint-z3.c clang/include/cl

[clang] [llvm] [WIP] ABI Lowering Library (PR #140112)

2025-06-08 Thread via cfe-commits
https://github.com/vortex73 updated https://github.com/llvm/llvm-project/pull/140112 >From 322c1cfb925f3073f3d3b30abe1b2e35ae7745f3 Mon Sep 17 00:00:00 2001 From: Narayan Sreekumar Date: Thu, 15 May 2025 23:13:50 +0530 Subject: [PATCH 1/7] [LLVM ABI] The Typesystem --- llvm/include/llvm/ABI/T

[clang] [llvm] [WIP] ABI Lowering Library (PR #140112)

2025-06-08 Thread via cfe-commits
https://github.com/vortex73 updated https://github.com/llvm/llvm-project/pull/140112 >From 322c1cfb925f3073f3d3b30abe1b2e35ae7745f3 Mon Sep 17 00:00:00 2001 From: Narayan Sreekumar Date: Thu, 15 May 2025 23:13:50 +0530 Subject: [PATCH 1/7] [LLVM ABI] The Typesystem --- llvm/include/llvm/ABI/T

[clang-tools-extra] [clang-tidy][NFC] run clang-format over 'cert', 'cppcore', 'fuchsia',… (PR #143316)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Baranov Victor (vbvictor) Changes … 'google' checks --- Patch is 23.03 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/143316.diff 22 Files Affected: - (modified) clang-tools-extra/clang

[clang] [clang][analyzer] Correct SMT Layer for _BitInt cases refutations (PR #143310)

2025-06-08 Thread via cfe-commits
https://github.com/vabridgers updated https://github.com/llvm/llvm-project/pull/143310 >From 4b86a568caa5e18b66e3e76825d4db6db195dfd5 Mon Sep 17 00:00:00 2001 From: Vince Bridgers Date: Sun, 8 Jun 2025 15:48:04 +0200 Subject: [PATCH 1/2] [clang][analyzer] Correct SMT Layer for _BitInt cases re

[clang-tools-extra] [clang-tidy][NFC] run clang-format over 'cert', 'cppcore', 'fuchsia',… (PR #143316)

2025-06-08 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/143316 … 'google' checks >From 50485a9c1c14325f7bf019827b461bcefe053d3c Mon Sep 17 00:00:00 2001 From: Baranov Victor Date: Sun, 8 Jun 2025 19:39:49 +0300 Subject: [PATCH] [clang-tidy][NFC] run clang-format over 'cer

[clang-tools-extra] [clangd] Use llvm::find (NFC) (PR #143317)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/143317.diff 1 Files Affected: - (modified) clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp (+5-7) ``diff diff --g

[clang-tools-extra] [clangd] Use llvm::find (NFC) (PR #143317)

2025-06-08 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/143317 None >From ea049e4ebb830c789ccc1e7d50cea84884922155 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 8 Jun 2025 09:00:26 -0700 Subject: [PATCH] [clangd] Use llvm::find (NFC) --- .../clangd/unittes

[clang-tools-extra] [clangd] Use llvm::find (NFC) (PR #143317)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/143317.diff 1 Files Affected: - (modified) clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp (+5-7) ``di

[clang] [Cygwin] va_list must be treated like normal Windows (PR #143115)

2025-06-08 Thread Martin Storsjö via cfe-commits
@@ -0,0 +1,37 @@ +// RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm < %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-pc-cygwin -emit-llvm < %s | FileCheck %s + +// copy ms_abi block only from ../ms_abi.c mstorsjo wrote: Not sure how relevant the comm

[clang] [Cygwin] va_list must be treated like normal Windows (PR #143115)

2025-06-08 Thread Martin Storsjö via cfe-commits
https://github.com/mstorsjo approved this pull request. LGTM, with one minor comment. https://github.com/llvm/llvm-project/pull/143115 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] va_list must be treated like normal Windows (PR #143115)

2025-06-08 Thread Martin Storsjö via cfe-commits
https://github.com/mstorsjo edited https://github.com/llvm/llvm-project/pull/143115 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [ARM] Handle roundeven for MVE. (PR #142557)

2025-06-08 Thread David Green via cfe-commits
https://github.com/davemgreen closed https://github.com/llvm/llvm-project/pull/142557 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 6baaa0a - [ARM] Handle roundeven for MVE. (#142557)

2025-06-08 Thread via cfe-commits
Author: David Green Date: 2025-06-08T18:23:50+01:00 New Revision: 6baaa0afc3214263b89e5ccfc1eebc63ab82bb68 URL: https://github.com/llvm/llvm-project/commit/6baaa0afc3214263b89e5ccfc1eebc63ab82bb68 DIFF: https://github.com/llvm/llvm-project/commit/6baaa0afc3214263b89e5ccfc1eebc63ab82bb68.diff L

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread Thorsten Klein via cfe-commits
thorsten-klein wrote: I have no access to a computer today. I can fix tomorrow, if it has not been fixed before. https://github.com/llvm/llvm-project/pull/124265 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[clang] [CIR][NFS] Add test cases for VecShuffle with -1 index (PR #143304)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Amr Hesham (AmrDeveloper) Changes Add a test case for __builtin_shufflevector with -1 index, it was useful in the incubator to catch an issue in the folder --- Full diff: https://github.com/llvm/llvm-project/pull/143304.diff 2 Files Af

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread Baranov Victor via cfe-commits
vbvictor wrote: I think I've waited for all checks to pass.. I think the main problem is that when this PR was first published, there wasn't a "clang-format job" so It didn't run on any commits before this got merged into main. https://github.com/llvm/llvm-project/pull/124265

[clang] [CIR][NFS] Add test cases for VecShuffle with -1 index (PR #143304)

2025-06-08 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/143304 Add a test case for __builtin_shufflevector with -1 index, it was useful in the incubator to catch an issue in the folder >From c6d78b93437bf1145972146f189a3c0a39e20219 Mon Sep 17 00:00:00 2001 From: AmrD

[clang-tools-extra] [clang-tidy][NFC] fix formatting of `namespace-comment-check` (PR #143305)

2025-06-08 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/143305 Fixed formatting and codestyle issues in `namespace-comment-check` Follow up to https://github.com/llvm/llvm-project/pull/124265. >From 69518ec57cfae7840469fd05b97a413c10945cb2 Mon Sep 17 00:00:00 2001 From: V

[clang-tools-extra] [clang-tidy][NFC] fix formatting of `namespace-comment-check` (PR #143305)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Baranov Victor (vbvictor) Changes Fixed formatting and codestyle issues in `namespace-comment-check` Follow up to https://github.com/llvm/llvm-project/pull/124265. --- Full diff: https://github.com/llvm/llvm-project/pull/143305.diff

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread Baranov Victor via cfe-commits
vbvictor wrote: > I think the main problem is that when this PR was first published, there > wasn't a "clang-format job" so It didn't run on any commits before this got > merged into main. Actually, there is a failed job if you hover over a red cross next to one of the commits, my bad. Follow

[clang] 5c76ae2 - [Clang] Support constexpr asm at global scope. (#143268)

2025-06-08 Thread via cfe-commits
Author: Corentin Jabot Date: 2025-06-08T09:16:57+02:00 New Revision: 5c76ae28940b91d358186c0afccad1fd7ac8a13e URL: https://github.com/llvm/llvm-project/commit/5c76ae28940b91d358186c0afccad1fd7ac8a13e DIFF: https://github.com/llvm/llvm-project/commit/5c76ae28940b91d358186c0afccad1fd7ac8a13e.diff

[clang] [Clang] Support constexpr asm at global scope. (PR #143268)

2025-06-08 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/143268 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream splat op for VectorType (PR #139827)

2025-06-08 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/139827 >From c3a0990b0b72f9a0cdf4968f0b9197745dedb7ae Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Tue, 13 May 2025 21:35:06 +0200 Subject: [PATCH 1/5] [CIR] Upstream splat op for VectorType --- clang/inclu

[clang-tools-extra] [clang-tidy] Fix false positives with template in `misc-unconventional-assign-operator` check (PR #143292)

2025-06-08 Thread via cfe-commits
@@ -208,6 +208,11 @@ Changes in existing checks ` check by fixing false positives on ``operator""`` with template parameters. +- Improved :doc:`misc-unconventional-assign-operator EugeneZelenko wrote: Should be before `misc-unused-using-decls`. https://g

[clang] [Clang] Added explanation why a is constructible evaluated to false. (PR #143309)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Shamshura Egor (egorshamshura) Changes Also fixed problem with ```ExtractTypeTraitFromExpression```. In case ```std::is_xxx_v<>``` with variadic pack it tries to get template argument, but fails in expression ```Arg.getAsType()``` due to

[clang-tools-extra] [clang-tidy] Fix false positives with template in `misc-unconventional-assign-operator` check (PR #143292)

2025-06-08 Thread via cfe-commits
https://github.com/flovent updated https://github.com/llvm/llvm-project/pull/143292 >From 311bc80c0e5ab787aef8476dae51bc16805d728b Mon Sep 17 00:00:00 2001 From: flovent <144676429+flov...@users.noreply.github.com> Date: Sun, 8 Jun 2025 10:46:48 +0800 Subject: [PATCH 1/3] [clang-tidy] Fix false

[clang-tools-extra] [llvm] [llvm][ADT] Add wrappers to `std::includes` (PR #143297)

2025-06-08 Thread Rahul Joshi via cfe-commits
https://github.com/jurahul approved this pull request. https://github.com/llvm/llvm-project/pull/143297 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 8a5c8eb - [NFC][Clang] Adopt simplified `getTrailingObjects` in AST/Type (#143258)

2025-06-08 Thread via cfe-commits
Author: Rahul Joshi Date: 2025-06-08T07:42:00-07:00 New Revision: 8a5c8eb0be699db1c9b891e6fe6adf068299b9fc URL: https://github.com/llvm/llvm-project/commit/8a5c8eb0be699db1c9b891e6fe6adf068299b9fc DIFF: https://github.com/llvm/llvm-project/commit/8a5c8eb0be699db1c9b891e6fe6adf068299b9fc.diff L

[clang] [NFC][Clang] Adopt simplified `getTrailingObjects` in AST/Type (PR #143258)

2025-06-08 Thread Rahul Joshi via cfe-commits
https://github.com/jurahul closed https://github.com/llvm/llvm-project/pull/143258 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] b0ff07e - [NFC][Clang] Adopt simplified `getTrailingObjects` in TemplateBase (#143257)

2025-06-08 Thread via cfe-commits
Author: Rahul Joshi Date: 2025-06-08T07:41:26-07:00 New Revision: b0ff07e0ccac9efcfaca5f59261a605c65549801 URL: https://github.com/llvm/llvm-project/commit/b0ff07e0ccac9efcfaca5f59261a605c65549801 DIFF: https://github.com/llvm/llvm-project/commit/b0ff07e0ccac9efcfaca5f59261a605c65549801.diff L

[clang] [NFC][Clang] Adopt simplified `getTrailingObjects` in TemplateBase (PR #143257)

2025-06-08 Thread Rahul Joshi via cfe-commits
https://github.com/jurahul closed https://github.com/llvm/llvm-project/pull/143257 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Added explanation why a is constructible evaluated to false. (PR #143309)

2025-06-08 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin commented: Thanks a lot for working on that https://github.com/llvm/llvm-project/pull/143309 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Added explanation why a is constructible evaluated to false. (PR #143309)

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

[clang] [Clang] Added explanation why a is constructible evaluated to false. (PR #143309)

2025-06-08 Thread Corentin Jabot via cfe-commits
@@ -2159,6 +2167,26 @@ static void DiagnoseNonTriviallyCopyableReason(Sema &SemaRef, } } +static void DiagnoseNonConstructibleReason(Sema &SemaRef, SourceLocation Loc, + QualType T) { + SemaRef.Diag(Loc, diag::note_unsatisfied_trai

[clang] [clang-format] Fix an off-by-1 bug with -length option (PR #143302)

2025-06-08 Thread Owen Pan via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/143302 >From 68f668608d800c1411fd259be569bd3db36d1b12 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sun, 8 Jun 2025 00:36:08 -0700 Subject: [PATCH] [clang-format] Fix an off-by-1 bug with -length option Also validate t

[libunwind] [libunwind] Remove checks for -nostdlib++ (PR #143162)

2025-06-08 Thread Nikolas Klauser via cfe-commits
https://github.com/philnik777 updated https://github.com/llvm/llvm-project/pull/143162 >From a5c4dbe693af9b1f2dd6ef45aa803453c5fbfe28 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Fri, 6 Jun 2025 17:31:23 +0200 Subject: [PATCH] [libunwind] Remove checks for -nostdlib++ --- libunwind/cm

[clang] [CIR] Implement folder for VecShuffleOp (PR #143260)

2025-06-08 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/143260 >From 14ffd458c4896bd4d5fb73f97c5745db70c8360e Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 7 Jun 2025 14:43:16 +0200 Subject: [PATCH 1/3] [CIR] Implement folder for VecShuffleOp --- clang/inclu

[clang-tools-extra] ce46adb - [clang-tidy][NFC] run clang-format over 'android', 'boost' and 'bugprone' checks (#143315)

2025-06-08 Thread via cfe-commits
Author: Baranov Victor Date: 2025-06-08T23:22:05+03:00 New Revision: ce46adb8b7ce645353eccaedf31ed9765dab77bb URL: https://github.com/llvm/llvm-project/commit/ce46adb8b7ce645353eccaedf31ed9765dab77bb DIFF: https://github.com/llvm/llvm-project/commit/ce46adb8b7ce645353eccaedf31ed9765dab77bb.diff

[clang-tools-extra] 68070f9 - [clang-tidy][NFC] run clang-format over 'cert', 'cppcore', 'fuchsia',… (#143316)

2025-06-08 Thread via cfe-commits
Author: Baranov Victor Date: 2025-06-08T23:22:55+03:00 New Revision: 68070f908bb7ac5f0b5fa9722caa504ecf723f6b URL: https://github.com/llvm/llvm-project/commit/68070f908bb7ac5f0b5fa9722caa504ecf723f6b DIFF: https://github.com/llvm/llvm-project/commit/68070f908bb7ac5f0b5fa9722caa504ecf723f6b.diff

[clang-tools-extra] 65d6662 - [clang-tidy][NFC] run clang-format over `abseil` and `altera` checks. (#143314)

2025-06-08 Thread via cfe-commits
Author: Baranov Victor Date: 2025-06-08T23:21:35+03:00 New Revision: 65d66625b3e2b8322ed99d82edabecbafcd0885b URL: https://github.com/llvm/llvm-project/commit/65d66625b3e2b8322ed99d82edabecbafcd0885b DIFF: https://github.com/llvm/llvm-project/commit/65d66625b3e2b8322ed99d82edabecbafcd0885b.diff

[clang-tools-extra] [clang-tidy][NFC] run clang-format over 'cert', 'cppcore', 'fuchsia',… (PR #143316)

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

[clang-tools-extra] [clang-tidy][NFC] run clang-format over 'android', 'boost' and 'bugprone' checks (PR #143315)

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

[clang-tools-extra] [clang-tidy][NFC] run clang-format over `abseil` and `altera` checks. (PR #143314)

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

[clang] 366f488 - [clang] AST: fix dependency calculation for TypedefTypes (#143291)

2025-06-08 Thread via cfe-commits
Author: Matheus Izvekov Date: 2025-06-08T17:07:36-03:00 New Revision: 366f48890d643e15e1317ada300f2cc1be437721 URL: https://github.com/llvm/llvm-project/commit/366f48890d643e15e1317ada300f2cc1be437721 DIFF: https://github.com/llvm/llvm-project/commit/366f48890d643e15e1317ada300f2cc1be437721.dif

[clang] [clang] AST: fix dependency calculation for TypedefTypes (PR #143291)

2025-06-08 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/143291 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] run clang-format over `abseil` and `altera` checks. (PR #143314)

2025-06-08 Thread Baranov Victor via cfe-commits
vbvictor wrote: It appeared relatively easy to review, I'll make next slightly bigger https://github.com/llvm/llvm-project/pull/143314 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] run clang-format over clang-tidy checks and tool code. (PR #143324)

2025-06-08 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/143324 Last commit, with this merged `clang-tidy` should be 100% `clang-format` compliant. Time to check formatting in new PRs:) >From 287a34835e91240ddd786d62e70e9549ccb88d79 Mon Sep 17 00:00:00 2001 From: Victor Ba

[clang] [llvm] [CodeGen][COFF] Always emit CodeView compiler info on Windows targets (PR #142970)

2025-06-08 Thread Jacek Caban via cfe-commits
https://github.com/cjacek updated https://github.com/llvm/llvm-project/pull/142970 >From 0e2aaa573e4de05c127c67f8c17ca3715d7b04c2 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 4 Jun 2025 15:58:59 +0200 Subject: [PATCH] [CodeGen][COFF] Always emit CodeView compiler info on Windows targe

[clang-tools-extra] [clang-tidy][NFC] run clang-format over clang-tidy checks and tool code. (PR #143324)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra @llvm/pr-subscribers-clang-tidy Author: Baranov Victor (vbvictor) Changes Last commit, with this merged `clang-tidy` should be 100% `clang-format` compliant. Time to check formatting in new PRs:) --- Patch is 54.53 KiB, truncated to

[clang] [llvm] [CodeGen][COFF] Always emit CodeView compiler info on Windows targets (PR #142970)

2025-06-08 Thread Jacek Caban via cfe-commits
cjacek wrote: The new version avoids creating unnecessary labels (and most of `DebugHandlerBase`) by setting `Asm` to null. I also added handling for unknown architecture types in `mapArchToCVCPUType`, which is triggered when running some of the Generic tests on Windows. Additionally, I tweake

[clang] [llvm] Enable WPD without lto (PR #141777)

2025-06-08 Thread Hassnaa Hamdi via cfe-commits
hassnaaHamdi wrote: Hi @teresajohnson what do you think? For the case of PGO, I think we may disable it. I think The speculative devirtualization is useful for cases where we don't have enough information. https://github.com/llvm/llvm-project/pull/141777 __

[clang] [Cygwin] wint_t is unsigned int (PR #143117)

2025-06-08 Thread via cfe-commits
https://github.com/jeremyd2019 approved this pull request. LGTM. @mstorsjo ? https://github.com/llvm/llvm-project/pull/143117 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] wint_t is unsigned int (PR #143117)

2025-06-08 Thread Martin Storsjö via cfe-commits
https://github.com/mstorsjo approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/143117 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Use llvm::find (NFC) (PR #143317)

2025-06-08 Thread Tim Gymnich via cfe-commits
https://github.com/tgymnich approved this pull request. https://github.com/llvm/llvm-project/pull/143317 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] run clang-format over `abseil` and `altera` checks. (PR #143314)

2025-06-08 Thread Carlos Galvez via cfe-commits
https://github.com/carlosgalvezp approved this pull request. LGTM. Personally I think it would have been fine to do it all in one patch, less commits to add to the git-blame-ignore later. But it's ok! https://github.com/llvm/llvm-project/pull/143314 _

[clang-tools-extra] [clang-tidy][NFC] run clang-format over 'android', 'boost' and 'bugprone' checks (PR #143315)

2025-06-08 Thread Carlos Galvez via cfe-commits
https://github.com/carlosgalvezp approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/143315 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] run clang-format over 'cert', 'cppcore', 'fuchsia',… (PR #143316)

2025-06-08 Thread Carlos Galvez via cfe-commits
https://github.com/carlosgalvezp approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/143316 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Implement folder for VecCmpOp (PR #143322)

2025-06-08 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/143322 This change adds a folder for the VecCmpOp Issue https://github.com/llvm/llvm-project/issues/136487 >From e45e40fe353af82a05b3225fdebbcdc402bd5567 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sun, 8

[clang] [clang] AST: fix dependency calculation for TypedefTypes (PR #143291)

2025-06-08 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/143291 >From d623054729e75adc5299ecd426b19863962cafbc Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Sat, 7 Jun 2025 21:33:07 -0300 Subject: [PATCH] [clang] AST: fix dependency calculation for TypedefTypes The

[clang] [CIR] Implement folder for VecCmpOp (PR #143322)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Amr Hesham (AmrDeveloper) Changes This change adds a folder for the VecCmpOp Issue https://github.com/llvm/llvm-project/issues/136487 --- Full diff: https://github.com/llvm/llvm-project/pull/143322.diff 4 Files Affected: - (modified)

[clang] [CIR] Implement folder for VecShuffleOp (PR #143260)

2025-06-08 Thread Henrich Lauko via cfe-commits
@@ -1580,9 +1580,49 @@ OpFoldResult cir::VecExtractOp::fold(FoldAdaptor adaptor) { } //===--===// -// VecShuffle +// VecShuffleOp //===--

[clang] [CIR] Extend VecShuffleOp verifier to catch invalid index (PR #143262)

2025-06-08 Thread Henrich Lauko via cfe-commits
https://github.com/xlauko approved this pull request. lgtm https://github.com/llvm/llvm-project/pull/143262 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Extend VecShuffleOp verifier to catch invalid index (PR #143262)

2025-06-08 Thread Henrich Lauko via cfe-commits
https://github.com/xlauko edited https://github.com/llvm/llvm-project/pull/143262 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR][NFS] Add test cases for VecShuffle with -1 index (PR #143304)

2025-06-08 Thread Henrich Lauko via cfe-commits
https://github.com/xlauko approved this pull request. lgtm https://github.com/llvm/llvm-project/pull/143304 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR][NFS] Add test cases for VecShuffle with -1 index (PR #143304)

2025-06-08 Thread Henrich Lauko via cfe-commits
https://github.com/xlauko edited https://github.com/llvm/llvm-project/pull/143304 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 6edfc6c - [clang-tools-extra] Use llvm::any_of (NFC) (#143281)

2025-06-08 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-06-08T01:34:24-07:00 New Revision: 6edfc6ce6ced8eaa34238eb10904d6f91730f942 URL: https://github.com/llvm/llvm-project/commit/6edfc6ce6ced8eaa34238eb10904d6f91730f942 DIFF: https://github.com/llvm/llvm-project/commit/6edfc6ce6ced8eaa34238eb10904d6f91730f942.diff L

[clang] [NFC][Clang] Adopt simplified `getTrailingObjects` in AST/Type (PR #143258)

2025-06-08 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata approved this pull request. LGTM. Thanks! https://github.com/llvm/llvm-project/pull/143258 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][Clang] Adopt simplified `getTrailingObjects` in TemplateBase (PR #143257)

2025-06-08 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata approved this pull request. LGTM. Thanks! https://github.com/llvm/llvm-project/pull/143257 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-move] Teach getDeclarationList to return ArrayRef (NFC) (PR #143278)

2025-06-08 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/143278 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tools-extra] Use llvm::any_of (NFC) (PR #143281)

2025-06-08 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/143281 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Add options to control wrapped lambda brace indent. (PR #143249)

2025-06-08 Thread via cfe-commits
https://github.com/rmarker updated https://github.com/llvm/llvm-project/pull/143249 >From 212f9142a084c4d7bb11423565fb1f0eae93c35f Mon Sep 17 00:00:00 2001 From: rmarker Date: Sat, 7 Jun 2025 20:29:18 +0930 Subject: [PATCH 1/3] [clang-format] Add options to control wrapped lambda brace indent.

[clang-tools-extra] 239c8ac - [clang-tidy] Fix false positives with deducing this in `readability-convert-member-functions-to-static` check (#141391)

2025-06-08 Thread via cfe-commits
Author: flovent Date: 2025-06-08T09:58:24+03:00 New Revision: 239c8ac2680fd579a09e27eb2c89ba71ae1fce36 URL: https://github.com/llvm/llvm-project/commit/239c8ac2680fd579a09e27eb2c89ba71ae1fce36 DIFF: https://github.com/llvm/llvm-project/commit/239c8ac2680fd579a09e27eb2c89ba71ae1fce36.diff LOG:

[clang-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-08 Thread Denis Mikhailov via cfe-commits
denzor200 wrote: > Did you have a chance to run the test on a large codebase (e.g. the > llvm-project) and see if we get any FPs in this regard? Here is the full result: [1.log](https://github.com/user-attachments/files/20644432/1.log) At the first sight no FP at all https://github.com/llvm/l

[clang] [llvm] [WIP] ABI Lowering Library (PR #140112)

2025-06-08 Thread via cfe-commits
@@ -0,0 +1,303 @@ +#ifndef LLVM_ABI_TYPES_H +#define LLVM_ABI_TYPES_H + +#include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Allocator.h" +#include + +namespace llvm { +namespace abi { + +enum class TypeKind { + Void, + Integer, + Float, + Pointer, + Array, + Vector, +

[clang] [llvm] [WIP] ABI Lowering Library (PR #140112)

2025-06-08 Thread via cfe-commits
@@ -136,9 +136,69 @@ const llvm::abi::Type *QualTypeMapper::convertRecordType(const RecordType *RT) { if (RD->isUnion()) return convertUnionType(RD); + + // Handle C++ classes with base classes + auto *const CXXRd = dyn_cast(RD); + if (CXXRd && (CXXRd->getNumBases()

[clang] [Clang] Added explanation why a is constructible evaluated to false. (PR #143309)

2025-06-08 Thread Shamshura Egor via cfe-commits
https://github.com/egorshamshura created https://github.com/llvm/llvm-project/pull/143309 Also fixed problem with ```ExtractTypeTraitFromExpression```. In case ```std::is_xxx_v<>``` with variadic pack it tries to get template argument, but fails in expression ```Arg.getAsType()``` due to ```Ar

[clang] [Clang] Added explanation why a is constructible evaluated to false. (PR #143309)

2025-06-08 Thread Shamshura Egor via cfe-commits
https://github.com/egorshamshura edited https://github.com/llvm/llvm-project/pull/143309 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [WIP] ABI Lowering Library (PR #140112)

2025-06-08 Thread via cfe-commits
https://github.com/vortex73 updated https://github.com/llvm/llvm-project/pull/140112 >From 322c1cfb925f3073f3d3b30abe1b2e35ae7745f3 Mon Sep 17 00:00:00 2001 From: Narayan Sreekumar Date: Thu, 15 May 2025 23:13:50 +0530 Subject: [PATCH 1/8] [LLVM ABI] The Typesystem --- llvm/include/llvm/ABI/T

[clang] [clang-format] Fix an off-by-1 bug with -length option (PR #143302)

2025-06-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Also validate the argument value. Fixes #56245 --- Full diff: https://github.com/llvm/llvm-project/pull/143302.diff 3 Files Affected: - (modified) clang/test/Format/multiple-inputs-error.cpp (+1-1) - (

[clang] [clang] AST: fix dependency calculation for TypedefTypes (PR #143291)

2025-06-08 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin approved this pull request. https://github.com/llvm/llvm-project/pull/143291 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix an off-by-1 bug with -length option (PR #143302)

2025-06-08 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/143302 Also validate the argument value. Fixes #56245 >From 30e0165a2d5c7ee8fc6b7f1edcf9322e18f4334e Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sun, 8 Jun 2025 00:36:08 -0700 Subject: [PATCH] [clang-format] Fix an

[clang-tools-extra] 0613f8b - [clang-move] Teach getDeclarationList to return ArrayRef (NFC) (#143278)

2025-06-08 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-06-08T01:34:02-07:00 New Revision: 0613f8b9e49537c7493870ad971fdaf353a2a90d URL: https://github.com/llvm/llvm-project/commit/0613f8b9e49537c7493870ad971fdaf353a2a90d DIFF: https://github.com/llvm/llvm-project/commit/0613f8b9e49537c7493870ad971fdaf353a2a90d.diff L

[clang-tools-extra] 55c86c5 - [clang-tidy][NFC] fix formatting of `namespace-comment-check` (#143305)

2025-06-08 Thread via cfe-commits
Author: Baranov Victor Date: 2025-06-08T13:51:17+02:00 New Revision: 55c86c5f77437c15fd29936cc8ad48b2097660b3 URL: https://github.com/llvm/llvm-project/commit/55c86c5f77437c15fd29936cc8ad48b2097660b3 DIFF: https://github.com/llvm/llvm-project/commit/55c86c5f77437c15fd29936cc8ad48b2097660b3.diff

[clang-tools-extra] [clang-tidy][NFC] fix formatting of `namespace-comment-check` (PR #143305)

2025-06-08 Thread Carlos Galvez via cfe-commits
https://github.com/carlosgalvezp closed https://github.com/llvm/llvm-project/pull/143305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

2025-06-08 Thread Carlos Galvez via cfe-commits
carlosgalvezp wrote: What I saw is that some checks don't run automatically, but must be manually triggered (I guess by a maintainer). I did click on the button to run them and immediately after you merged the patch, good syncing :) I understand this might be done to save CI resources, but cla

[clang-tools-extra] [clang-tidy][NFC] fix formatting of `namespace-comment-check` (PR #143305)

2025-06-08 Thread Carlos Galvez via cfe-commits
https://github.com/carlosgalvezp approved this pull request. https://github.com/llvm/llvm-project/pull/143305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

  1   2   >