[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread Nikolas Klauser via cfe-commits
philnik777 wrote: > Please split the PR by subproject to it is easier to review and approve. Exactly what I was about to say. I don't understand why this happens again and again though. Maybe we should add some documentation somewhere that cross-project patches should be split up if it's not s

[clang-tools-extra] [clang-tidy] do not diagnose array types within implicit instantiations of a template (PR #132924)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. Generally LGTM, but there is one issue that must be fixed https://github.com/llvm/llvm-project/pull/132924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/ma

[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)

2025-08-31 Thread via cfe-commits
https://github.com/moorabbit updated https://github.com/llvm/llvm-project/pull/148281 >From 029d9fce6cdb75ea4819a107c7ed9f074bb36678 Mon Sep 17 00:00:00 2001 From: moorabbit <215698969+moorab...@users.noreply.github.com> Date: Mon, 7 Jul 2025 09:25:46 -0400 Subject: [PATCH 01/17] [Clang] Add `__

[libunwind] e57f0e9 - [libunwind] fix pc range condition check bug (#154902)

2025-08-31 Thread via cfe-commits
Author: Wu Yingcong Date: 2025-09-01T09:15:52+08:00 New Revision: e57f0e928d7b92f536a646d8ba1c26916b09e67e URL: https://github.com/llvm/llvm-project/commit/e57f0e928d7b92f536a646d8ba1c26916b09e67e DIFF: https://github.com/llvm/llvm-project/commit/e57f0e928d7b92f536a646d8ba1c26916b09e67e.diff L

[clang] Improve HeuristicResolver further so it can replace most of getApproximateType() in SemaCodeComplete (PR #156282)

2025-08-31 Thread Nathan Ridge via cfe-commits
HighCommander4 wrote: (Originally submitted as https://github.com/llvm/llvm-project/pull/151643. Resubmitting in a user branch so I can stack this on top of this.) https://github.com/llvm/llvm-project/pull/156282 ___ cfe-commits mailing list cfe-commi

[clang] Improve HeuristicResolver further so it can replace most of getApproximateType() in SemaCodeComplete (PR #156282)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Nathan Ridge (HighCommander4) Changes Fixes https://github.com/clangd/clangd/issues/2432 --- Full diff: https://github.com/llvm/llvm-project/pull/156282.diff 4 Files Affected: - (modified) clang/include/clang/Sema/HeuristicResolver.h (+

[clang] [clang-tools-extra] [clangd] Use HeuristicResolver to try to resolve dependent 'auto' (PR #155556)

2025-08-31 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 closed https://github.com/llvm/llvm-project/pull/16 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Improve HeuristicResolver further so it can replace most of getApproximateType() in SemaCodeComplete (PR #156282)

2025-08-31 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 edited https://github.com/llvm/llvm-project/pull/156282 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread Valentin Clement バレンタイン クレメン via cfe-commits
https://github.com/clementval commented: Please split the PR by subproject to it is easier to review and approve. https://github.com/llvm/llvm-project/pull/156270 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[libclc] [NFC][libclc] Move _CLC_V_V_VP_VECTORIZE macro into clc_lgamma_r.cl and delete clcmacro.h (PR #156280)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Wenju He (wenju-he) Changes clcmacro.h only defines _CLC_V_V_VP_VECTORIZE which is only used in clc/lib/generic/math/clc_lgamma_r.cl. --- Patch is 30.44 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/l

[libclc] [NFC][libclc] Move _CLC_V_V_VP_VECTORIZE macro into clc_lgamma_r.cl and delete clcmacro.h (PR #156280)

2025-08-31 Thread Wenju He via cfe-commits
https://github.com/wenju-he created https://github.com/llvm/llvm-project/pull/156280 clcmacro.h only defines _CLC_V_V_VP_VECTORIZE which is only used in clc/lib/generic/math/clc_lgamma_r.cl. >From 4125c7faf2d70b4059da9f56d29024e359307513 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Mon, 1 Se

[clang] [clang-format] Allow array alignment on non-rectangular arrays (PR #143781)

2025-08-31 Thread via cfe-commits
owenca wrote: > @owenca just a friendly bump on this review. The main question is currently > whether changing tests is acceptable. See https://github.com/llvm/llvm-project/pull/143781#issuecomment-3071784802. For example, https://github.com/llvm/llvm-project/pull/143781#discussion_r231291108

[clang] [clang-format] Allow array alignment on non-rectangular arrays (PR #143781)

2025-08-31 Thread via cfe-commits
@@ -22118,11 +22133,14 @@ TEST_F(FormatTest, CatchAlignArrayOfStructuresRightAlignment) { verifyFormat( "test demo[] = {\n" - "{ 7,23,\n" - " \"hello world i am a very long line that really, in any\"\n" - " \"just world, ought to be spli

[clang] [clang-format] Allow array alignment on non-rectangular arrays (PR #143781)

2025-08-31 Thread via cfe-commits
owenca wrote: > @owenca just a friendly bump on this review. The main question is currently > whether changing tests is acceptable. Can you first give us an overview of what you are fixing/changing? Then we can determine if an existing test case can be changed. https://github.com/llvm/llvm-pr

[clang] [llvm] Trying to fix undefined symbol error caused by iterator variable (PR #141507)

2025-08-31 Thread via cfe-commits
ShashwathiNavada wrote: @efriedma-quic Please review this PR at your convenience, so we can proceed with closing it. Thank you! https://github.com/llvm/llvm-project/pull/141507 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm

[clang] [clang-tools-extra] [llvm] [ADT] Refactor StringMap iterators (NFC) (PR #156137)

2025-08-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/156137 ___ 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] Enable `readability-convert-member-functions-to-static` in the codebase (PR #156265)

2025-08-31 Thread Victor Chernyakin via cfe-commits
https://github.com/localspook updated https://github.com/llvm/llvm-project/pull/156265 >From c368372b8cc915a401a5dcbf6346e23a101f95e4 Mon Sep 17 00:00:00 2001 From: Victor Chernyakin Date: Sun, 31 Aug 2025 17:18:42 -0700 Subject: [PATCH 1/2] [clang-tidy][NFC] Enable `readability-convert-member

[clang-tools-extra] [clang-tidy] New bugprone-derived-method-shadowing-base-method (PR #154746)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. https://github.com/llvm/llvm-project/pull/154746 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (PR #155957)

2025-08-31 Thread Aiden Grossman via cfe-commits
https://github.com/boomanaiden154 milestoned https://github.com/llvm/llvm-project/pull/155957 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Add new '-hide-progress' option to tidy-scripts for suppressing progress information (PR #154416)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. https://github.com/llvm/llvm-project/pull/154416 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] [libclc] update __clc_mem_fence: add MemorySemantic arg and use __builtin_amdgcn_fence for AMDGPU (PR #152275)

2025-08-31 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/152275 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Support direct initialization in modernize smart pointer (PR #154732)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. https://github.com/llvm/llvm-project/pull/154732 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread Thurston Dang via cfe-commits
@@ -427,7 +427,11 @@ void IRNormalizer::reorderInstructions(Function &F) const { // Process the remaining instructions. // // TODO: Do more a intelligent sorting of these instructions. For example, +<<< Updated upstream // separate between dead ins

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread Thurston Dang via cfe-commits
@@ -741,7 +741,7 @@ const char *UnicodeNameToCodepointDict = "GLOVETED PLANT OF PAPERCUBE ROOTPIDERY HAT OF MEATFISH TAILZENE RINGITRA " "SIGN OVER BALCRESCENDO PLUS SAGT ON BONEFINAL NUN PLUS TUR PLUS ZA7FINAL " "NGAFINAL MEMPANYANGGAAISED DOTLOWER DOTATTACHED PLU

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. These ch

[clang-tools-extra] [clang-tidy] Support direct initialization in modernize smart pointer (PR #154732)

2025-08-31 Thread Liu Ke via cfe-commits
https://github.com/Sockke updated https://github.com/llvm/llvm-project/pull/154732 >From e7589f4a4b1a0dbc387020205746100ac21262a9 Mon Sep 17 00:00:00 2001 From: Sockke Date: Thu, 21 Aug 2025 18:42:20 +0800 Subject: [PATCH 1/3] [clang-tidy] Support direct initialization in modernize smart point

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. These c

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. Th

[clang] [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (PR #155957)

2025-08-31 Thread via cfe-commits
llvmbot wrote: /pull-request llvm/llvm-project#156271 https://github.com/llvm/llvm-project/pull/155957 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. The

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the proje

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-llvm Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. Thes

[clang] [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (PR #155957)

2025-08-31 Thread Aiden Grossman via cfe-commits
boomanaiden154 wrote: /cherry-pick 7fca1f841b4c226d50ab7bad64de5db225d4193b https://github.com/llvm/llvm-project/pull/155957 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-libc Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. These cha

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. T

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-regalloc Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project.

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-spir-v Author: Austin Jiang (AustinBoyuJiang) Changes Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project.

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] [clang-tools-extra] [compiler-rt] [flang] [libc] [libcxx] [lldb] [llvm] [mlir] [openmp] Fix typos and spelling errors across codebase (PR #156270)

2025-08-31 Thread Austin Jiang via cfe-commits
https://github.com/AustinBoyuJiang created https://github.com/llvm/llvm-project/pull/156270 Corrected various spelling mistakes such as 'occurred', 'receiver', 'initialized', 'length', and others in comments, variable names, function names, and documentation throughout the project. These chang

[libclc] a247da4 - [libclc] update __clc_mem_fence: add MemorySemantic arg and use __builtin_amdgcn_fence for AMDGPU (#152275)

2025-08-31 Thread via cfe-commits
Author: Wenju He Date: 2025-09-01T11:03:45+08:00 New Revision: a247da4f9363116c54b91a37755edd994c56dbf8 URL: https://github.com/llvm/llvm-project/commit/a247da4f9363116c54b91a37755edd994c56dbf8 DIFF: https://github.com/llvm/llvm-project/commit/a247da4f9363116c54b91a37755edd994c56dbf8.diff LOG:

[libclc] [libclc] update __clc_mem_fence: add MemorySemantic arg and use __builtin_amdgcn_fence for AMDGPU (PR #152275)

2025-08-31 Thread Wenju He via cfe-commits
https://github.com/wenju-he closed https://github.com/llvm/llvm-project/pull/152275 ___ 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] Enable `readability-convert-member-functions-to-static` in the codebase (PR #156265)

2025-08-31 Thread Victor Chernyakin via cfe-commits
https://github.com/localspook created https://github.com/llvm/llvm-project/pull/156265 Closes #156158. Ironically, one warning found in `ConvertMemberFunctionsToStatic.cpp` >From c368372b8cc915a401a5dcbf6346e23a101f95e4 Mon Sep 17 00:00:00 2001 From: Victor Chernyakin Date: Sun, 31 Aug 2025 1

[clang] [llvm] [RISCV][MC] Add MC support of Zibi experimental extension (PR #127463)

2025-08-31 Thread Boyao Wang via cfe-commits
https://github.com/BoyaoWang430 updated https://github.com/llvm/llvm-project/pull/127463 >From 33210107ae2db3b0c1d0ab038b4cc1c02acb3a29 Mon Sep 17 00:00:00 2001 From: wangboyao Date: Thu, 3 Jul 2025 16:08:15 +0800 Subject: [PATCH 1/2] [RISCV][MC] Add MC support of Zibi experimental extension T

[libclc] [libclc] update __clc_mem_fence: add MemorySemantic arg and use __builtin_amdgcn_fence for AMDGPU (PR #152275)

2025-08-31 Thread Wenju He via cfe-commits
wenju-he wrote: kindly ping @arsenm @frasercrmck to review the last commit. It is a renaming commit. https://github.com/llvm/llvm-project/pull/152275 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listin

[clang] a428b30 - [ADT] Refactor StringMap iterators (NFC) (#156137)

2025-08-31 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-08-31T19:18:21-07:00 New Revision: a428b3081a1aa73e3fddb70127ba3e0fb85d6e3d URL: https://github.com/llvm/llvm-project/commit/a428b3081a1aa73e3fddb70127ba3e0fb85d6e3d DIFF: https://github.com/llvm/llvm-project/commit/a428b3081a1aa73e3fddb70127ba3e0fb85d6e3d.diff L

[clang] [clang-tools-extra] [llvm] [ADT] Refactor StringMap iterators (NFC) (PR #156137)

2025-08-31 Thread Jakub Kuderski via cfe-commits
https://github.com/kuhar approved this pull request. https://github.com/llvm/llvm-project/pull/156137 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libunwind] fix pc range condition check bug (PR #154902)

2025-08-31 Thread Wu Yingcong via cfe-commits
https://github.com/yingcong-wu closed https://github.com/llvm/llvm-project/pull/154902 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Serialization] Fix lazy template loading (PR #133057)

2025-08-31 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > > > Ok, that's progress at least. I will then land the PR with the fix some > > > time soon and we can take that item off the list. > > > > > > How can we make sure the new reported errors are not triggered by #154158? > > #154158 "relaxes" a check so that more conversion

[clang] [clang-tools-extra] [clang-tidy] `bugprone-unchecked-optional-access`: handle `BloombergLP::bdlb:NullableValue::makeValue` to prevent false-positives (PR #144313)

2025-08-31 Thread Valentyn Yukhymenko via cfe-commits
https://github.com/BaLiKfromUA updated https://github.com/llvm/llvm-project/pull/144313 >From b2e5ee18bf7f03bbf5f99ef124ef707dc3116886 Mon Sep 17 00:00:00 2001 From: Valentyn Yukhymenko Date: Mon, 16 Jun 2025 08:55:06 +0100 Subject: [PATCH 1/4] first iteration of fix --- .../bde/types/bdlb_nu

[clang] 2e12299 - [PseudoProbe] Support emitting to COFF object (#123870)

2025-08-31 Thread via cfe-commits
Author: Haohai Wen Date: 2025-09-01T08:31:40+08:00 New Revision: 2e122990391b2ba062e6308a12cfedf7206270ba URL: https://github.com/llvm/llvm-project/commit/2e122990391b2ba062e6308a12cfedf7206270ba DIFF: https://github.com/llvm/llvm-project/commit/2e122990391b2ba062e6308a12cfedf7206270ba.diff LO

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 96b664cb2f16fc8ad29d0273cc62be906afb2491 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH 1/4] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tes

[clang-tools-extra] [clang-tidy] Add new check 'llvm-use-ranges' (PR #152047)

2025-08-31 Thread Julian Schmidt via cfe-commits
@@ -0,0 +1,60 @@ +.. title:: clang-tidy - llvm-use-ranges + +llvm-use-ranges +=== + +Finds calls to STL library iterator algorithms that could be replaced with +LLVM range-based algorithms from ``llvm/ADT/STLExtras.h``. + +Example +--- + +.. code-block:: c++ + + a

[clang] [llvm] [PseudoProbe] Support emitting to COFF object (PR #123870)

2025-08-31 Thread Haohai Wen via cfe-commits
https://github.com/HaohaiWen closed https://github.com/llvm/llvm-project/pull/123870 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [clang-tidy] `bugprone-unchecked-optional-access`: handle `BloombergLP::bdlb:NullableValue::makeValue` to prevent false-positives (PR #144313)

2025-08-31 Thread Valentyn Yukhymenko via cfe-commits
https://github.com/BaLiKfromUA updated https://github.com/llvm/llvm-project/pull/144313 >From b2e5ee18bf7f03bbf5f99ef124ef707dc3116886 Mon Sep 17 00:00:00 2001 From: Valentyn Yukhymenko Date: Mon, 16 Jun 2025 08:55:06 +0100 Subject: [PATCH 1/4] first iteration of fix --- .../bde/types/bdlb_nu

[clang] [clang-tools-extra] [clang-tidy] `bugprone-unchecked-optional-access`: handle `BloombergLP::bdlb:NullableValue::makeValue` to prevent false-positives (PR #144313)

2025-08-31 Thread Valentyn Yukhymenko via cfe-commits
@@ -985,6 +985,20 @@ auto buildTransferMatchSwitch() { isOptionalMemberCallWithNameMatcher(hasName("isNull")), transferOptionalIsNullCall) + // NullableValue::makeValue, NullableValue::makeValueInplace + // Only NullableValue has these methods, bu

[clang-tools-extra] [clang-tidy][NFC] Enable `readability-convert-member-functions-to-static` in the codebase (PR #156265)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Victor Chernyakin (localspook) Changes Closes #156158. Ironically, one warning found in `ConvertMemberFunctionsToStatic.cpp` --- Patch is 35.14 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/p

[clang-tools-extra] [clang-tidy][NFC] Enable `readability-convert-member-functions-to-static` in the codebase (PR #156265)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Victor Chernyakin (localspook) Changes Closes #156158. Ironically, one warning found in `ConvertMemberFunctionsToStatic.cpp` --- Patch is 35.14 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-pr

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 96b664cb2f16fc8ad29d0273cc62be906afb2491 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH 1/4] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tes

[clang-tools-extra] [clang-tidy] Teach `readability-uppercase-literal-suffix` about C++23 and C23 suffixes (PR #148275)

2025-08-31 Thread Victor Chernyakin via cfe-commits
https://github.com/localspook closed https://github.com/llvm/llvm-project/pull/148275 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [Clang-Tidy] Handle nested-name-specifier in "llvm-prefer-isa-or-dyn-cast-in-conditionals" (PR #155982)

2025-08-31 Thread Congcong Cai via cfe-commits
@@ -76,6 +136,16 @@ bool foo(Y *y, Z *z) { // CHECK-MESSAGES: :[[@LINE-2]]:7: warning: isa_and_nonnull<> is preferred // CHECK-FIXES: if (isa_and_nonnull(z->bar())) + if (z->bar() && cast_or_null(z->bar())) +return true; + // CHECK-MESSAGES: :[[@LINE-2]]:7: warning:

[clang] [clang-tools-extra] [clang-tidy] `bugprone-unchecked-optional-access`: handle `BloombergLP::bdlb:NullableValue::makeValue` to prevent false-positives (PR #144313)

2025-08-31 Thread Valentyn Yukhymenko via cfe-commits
https://github.com/BaLiKfromUA updated https://github.com/llvm/llvm-project/pull/144313 >From b2e5ee18bf7f03bbf5f99ef124ef707dc3116886 Mon Sep 17 00:00:00 2001 From: Valentyn Yukhymenko Date: Mon, 16 Jun 2025 08:55:06 +0100 Subject: [PATCH 1/3] first iteration of fix --- .../bde/types/bdlb_nu

[clang-tools-extra] [clang-tidy] New bugprone-derived-method-shadowing-base-method (PR #154746)

2025-08-31 Thread Julian Schmidt via cfe-commits
@@ -0,0 +1,132 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang-tools-extra] [clang-tidy] New bugprone-derived-method-shadowing-base-method (PR #154746)

2025-08-31 Thread Julian Schmidt via cfe-commits
@@ -0,0 +1,132 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang-tools-extra] [clang-tidy] Teach `readability-uppercase-literal-suffix` about C++23 and C23 suffixes (PR #148275)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. https://github.com/llvm/llvm-project/pull/148275 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] unnecessary-value-param: Allow moving of value arguments. (PR #145871)

2025-08-31 Thread Julian Schmidt via cfe-commits
5chmidti wrote: LGTM on the code itself at least. The concerns of the others are still valid IMO, but I think ignoring variables that are only moved would be 'right'? This change does not suggest using `move` it only ignores cases where a value param is only moved. https://github.com/llvm/llv

[clang-tools-extra] [clang-tidy] do not diagnose array types within implicit instantiations of a template (PR #132924)

2025-08-31 Thread Julian Schmidt via cfe-commits
@@ -39,6 +39,55 @@ AST_MATCHER(clang::ParmVarDecl, isArgvOfMain) { return FD ? FD->isMain() : false; } +template +const TargetType *getAs(const NodeType *Node) { + if constexpr (std::is_same_v) +return Node->template get(); + else +return llvm::dyn_cast(Node); +}

[clang-tools-extra] [clang-tidy] unnecessary-value-param: Allow moving of value arguments. (PR #145871)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. https://github.com/llvm/llvm-project/pull/145871 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Add new check 'llvm-use-ranges' (PR #152047)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. https://github.com/llvm/llvm-project/pull/152047 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Raise minimum standard level for several checks from C++98 to C++11 (PR #152401)

2025-08-31 Thread Julian Schmidt via cfe-commits
https://github.com/5chmidti approved this pull request. https://github.com/llvm/llvm-project/pull/152401 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][initlist] handle incomplete array type in Constant Expr Calculation (PR #155080)

2025-08-31 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin approved this pull request. This needs a changelog entry. LGTM otherwise. Thanks! https://github.com/llvm/llvm-project/pull/155080 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)

2025-08-31 Thread via cfe-commits
https://github.com/moorabbit edited https://github.com/llvm/llvm-project/pull/148281 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)

2025-08-31 Thread via cfe-commits
https://github.com/moorabbit edited https://github.com/llvm/llvm-project/pull/148281 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)

2025-08-31 Thread via cfe-commits
@@ -0,0 +1,14 @@ +; RUN: llc < %s -mtriple=armv7 | FileCheck %s --check-prefix=armv7 +; RUN: llc < %s -mtriple=aarch64 | FileCheck %s --check-prefix=aarch64 moorabbit wrote: Sounds good. I kept all the tests. I moved the aarch64 test under llvm/test/CodeGen/AArch

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 96b664cb2f16fc8ad29d0273cc62be906afb2491 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH 1/4] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tes

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow created https://github.com/llvm/llvm-project/pull/156260 This PR updates the constexpr tests for the BMI, BMI2, and TBM intrinsics. The existing `char` array-based tests are replaced with the `TEST_CONSTEXPR` helper macro to improve readability and align with modern t

[clang] [Clang-Repl] Sinking RemoteJITUtils into Interpreter class(Refactoring) (PR #155140)

2025-08-31 Thread Abhinav Kumar via cfe-commits
@@ -0,0 +1,45 @@ +//===-- OutOfProcessJITConfig.h - Struct for Out-Of-Process JIT--*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 96b664cb2f16fc8ad29d0273cc62be906afb2491 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH 1/3] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tes

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow reopened https://github.com/llvm/llvm-project/pull/156260 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow closed https://github.com/llvm/llvm-project/pull/156260 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Support ZVqdot Codegen and C intrinsics (PR #154915)

2025-08-31 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/154915 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 96b664cb2f16fc8ad29d0273cc62be906afb2491 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH 1/2] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tes

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 96b664cb2f16fc8ad29d0273cc62be906afb2491 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH 1/2] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tes

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 96b664cb2f16fc8ad29d0273cc62be906afb2491 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tests i

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 0f2d218a5f2b4b3a477ac83e2d39b957854bc281 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tests i

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
https://github.com/bursow updated https://github.com/llvm/llvm-project/pull/156260 >From 0f2d218a5f2b4b3a477ac83e2d39b957854bc281 Mon Sep 17 00:00:00 2001 From: Burhan Date: Sun, 31 Aug 2025 21:14:20 +0300 Subject: [PATCH] [X86] Update BMI, BMI2 and TBM constexpr tests Update constexpr tests i

[clang] [X86] Update BMI, BMI2 and TBM constexpr tests (PR #156260)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: None (bursow) Changes This PR updates the constexpr tests for the BMI, BMI2, and TBM intrinsics. The existing `char` array-based tests are replaced with the `TEST_CONSTEXPR` helper macro to improve readability and align with modern

[clang] [Clang-Repl] Sinking RemoteJITUtils into Interpreter class(Refactoring) (PR #155140)

2025-08-31 Thread Abhinav Kumar via cfe-commits
https://github.com/kr-2003 edited https://github.com/llvm/llvm-project/pull/155140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AArch64] Use .i16.f16 intrinsic formats for vcvth*_[s|u]16_f16 (PR #156029)

2025-08-31 Thread Kajetan Puchalski via cfe-commits
mrkajetanp wrote: This can now move ahead. I think the only question is whether to keep `vcvth_s16_f16` generating the intrinsic `llvm.aarch64.neon.fcvtzs.i16.f16` or to change it to now generate `llvm.fptosi.sat.i16.f16`. They both will generate the same assembly in the end. The same for `fcv

[clang] [Clang-Repl] Sinking RemoteJITUtils into Interpreter class(Refactoring) (PR #155140)

2025-08-31 Thread Abhinav Kumar via cfe-commits
https://github.com/kr-2003 edited https://github.com/llvm/llvm-project/pull/155140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AArch64] Use .i16.f16 intrinsic formats for vcvth*_[s|u]16_f16 (PR #156029)

2025-08-31 Thread Kajetan Puchalski via cfe-commits
https://github.com/mrkajetanp updated https://github.com/llvm/llvm-project/pull/156029 >From 594e732db16a4f21aa11c5899fcf2a662d33c817 Mon Sep 17 00:00:00 2001 From: Kajetan Puchalski Date: Fri, 29 Aug 2025 14:09:03 + Subject: [PATCH] [clang][AArch64] Use .i16.f16 intrinsic formats for vcvt

[clang] [Clang-Repl] Add Lambda Support, PID Retrieval, and Dynamic liborc_rt Path in Clang-Repl (PR #155140)

2025-08-31 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,45 @@ +//===-- OutOfProcessJITConfig.h - Struct for Out-Of-Process JIT--*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [Clang-Repl] Add Lambda Support, PID Retrieval, and Dynamic liborc_rt Path in Clang-Repl (PR #155140)

2025-08-31 Thread Abhinav Kumar via cfe-commits
@@ -0,0 +1,45 @@ +//===-- OutOfProcessJITConfig.h - Struct for Out-Of-Process JIT--*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [llvm] [RISCV][MC] Add MC support of Zibi experimental extension (PR #127463)

2025-08-31 Thread Sam Elliott via cfe-commits
@@ -173,8 +173,14 @@ ; RUN: llc -mtriple=riscv32 -mattr=+smmpm %s -o - | FileCheck --check-prefix=RV32SMMPM %s ; RUN: llc -mtriple=riscv32 -mattr=+sspm %s -o - | FileCheck --check-prefix=RV32SSPM %s ; RUN: llc -mtriple=riscv32 -mattr=+supm %s -o - | FileCheck --check-prefix=

[clang] [CIR] Add support for atomic compare-and-swap (PR #156253)

2025-08-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sirui Mu (Lancern) Changes This patch adds support for atomic compare-and-swap operations, including the following C/C++ instrinsics: - `__atomic_compare_exchange` - `__atomic_compare_exchange_n` - `__c11_atomic_compare_exchange_str

[clang] [CIR] Add support for atomic compare-and-swap (PR #156253)

2025-08-31 Thread Sirui Mu via cfe-commits
https://github.com/Lancern created https://github.com/llvm/llvm-project/pull/156253 This patch adds support for atomic compare-and-swap operations, including the following C/C++ instrinsics: - `__atomic_compare_exchange` - `__atomic_compare_exchange_n` - `__c11_atomic_compare_exchange_st

[clang] feat: Add AVX512 support for constant interpreter test (PR #156227)

2025-08-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/18666 Here is the relevant piece of the

[clang] [clang][modules-driver] Add initial support for driver-managed module builds (PR #156248)

2025-08-31 Thread Naveen Seth Hanig via cfe-commits
https://github.com/naveen-seth updated https://github.com/llvm/llvm-project/pull/156248 >From 9760106dbd916861d396b90cc30262a13a01c9c2 Mon Sep 17 00:00:00 2001 From: Naveen Seth Hanig Date: Mon, 25 Aug 2025 02:36:42 +0200 Subject: [PATCH 1/2] [clang][modules-driver] Move logic to enable -fmodu

[clang] [clang] -fstrict-enums optimization for by-value parameters (PR #154807)

2025-08-31 Thread via cfe-commits
keinflue wrote: ping for review request But if there is no interest in adding this, that's also fine by me. https://github.com/llvm/llvm-project/pull/154807 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

  1   2   >