[clang] [AArch64] Change the coercion type of structs with pointer members. (PR #135064)

2025-07-20 Thread via cfe-commits
eaeltsin wrote: https://github.com/llvm/llvm-project/issues/149604 is what @weiguozhi got Following up my comments in this thread - this specific change looks correct, but we unfortunately have to keep it locally reverted until this lcim/coroutine issue is fixed :( https://github.com/llvm/ll

[clang] [RISCV] Add missing vcompress and vrgather intrinsic tests for zvfbfmin (PR #148129)

2025-07-20 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/148129 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format][NFC] Clean up around StringRef initializations (PR #149765)

2025-07-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Consistently use `constexpr StringRef Code("string literal");`. --- Full diff: https://github.com/llvm/llvm-project/pull/149765.diff 12 Files Affected: - (modified) clang/lib/Format/BreakableToken.cpp (+

[clang] [clang-format][NFC] Clean up around StringRef initializations (PR #149765)

2025-07-20 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/149765 Consistently use `constexpr StringRef Code("string literal");`. >From 318739aa86bc2ef00d2a32fc1141722b441ece41 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sun, 20 Jul 2025 22:28:24 -0700 Subject: [PATCH] [clan

[clang] fix: replace report_fatal_error with Diags and exit (PR #147959)

2025-07-20 Thread via cfe-commits
https://github.com/woruyu updated https://github.com/llvm/llvm-project/pull/147959 >From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001 From: woruyu <1214539...@qq.com> Date: Thu, 10 Jul 2025 21:08:24 +0800 Subject: [PATCH 1/4] fix: replace report_fatal_error with Diags and ex

[clang] [clang] Proofread UsersManual.rst (NFC) (PR #149763)

2025-07-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/149763.diff 1 Files Affected: - (modified) clang/docs/UsersManual.rst (+8-8) ``diff diff --git a/clang/docs/UsersManual.rst b/clan

[clang] [clang] Proofread UsersManual.rst (NFC) (PR #149763)

2025-07-20 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/149763 None >From 29aa8417ca73e877e8e21d89c7ea0e5f1c2c1313 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 20 Jul 2025 21:49:27 -0700 Subject: [PATCH] [clang] Proofread UsersManual.rst (NFC) --- clang/d

[clang] [PAC][clang] Add new features to pauthtest ABI (PR #113150)

2025-07-20 Thread Daniil Kovalev via cfe-commits
kovdan01 wrote: @MaskRay Would be glad to see your feedback considering the info from my comments above https://github.com/llvm/llvm-project/pull/113150 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[clang] [clang] Proofread LanguageExtensions.rst (PR #149729)

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

[clang] 1b8defd - [clang] Proofread LanguageExtensions.rst (#149729)

2025-07-20 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-07-20T20:42:24-07:00 New Revision: 1b8defddf4688bac09435b7a93515f61673591b2 URL: https://github.com/llvm/llvm-project/commit/1b8defddf4688bac09435b7a93515f61673591b2 DIFF: https://github.com/llvm/llvm-project/commit/1b8defddf4688bac09435b7a93515f61673591b2.diff L

[clang] f3a3270 - [clang-format][NFC] Delete redundant type names after FormatStyle::

2025-07-20 Thread Owen Pan via cfe-commits
Author: Owen Pan Date: 2025-07-20T20:27:37-07:00 New Revision: f3a3270dbca3649b7d56aaa42cb8481fb34e2d67 URL: https://github.com/llvm/llvm-project/commit/f3a3270dbca3649b7d56aaa42cb8481fb34e2d67 DIFF: https://github.com/llvm/llvm-project/commit/f3a3270dbca3649b7d56aaa42cb8481fb34e2d67.diff LOG:

[libclc] [libclc] Fix installed symlinks to be relative again (PR #149728)

2025-07-20 Thread Wenju He via cfe-commits
https://github.com/wenju-he edited https://github.com/llvm/llvm-project/pull/149728 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] [libclc] Fix installed symlinks to be relative again (PR #149728)

2025-07-20 Thread Wenju He via cfe-commits
@@ -425,17 +425,21 @@ function(add_libclc_builtin_set) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) endif() - if(CMAKE_HOST_UNIX OR LLVM_USE_SYMLINKS) -set(LIBCLC_LINK_OR_COPY create_symlink) - else() -set(LIBCLC_LINK_OR_COPY copy) - endif() - foreach(

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-20 Thread Owen Pan via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/148640 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] [libclc] Fix installed symlinks to be relative again (PR #149728)

2025-07-20 Thread Michał Górny via cfe-commits
@@ -425,17 +425,21 @@ function(add_libclc_builtin_set) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) endif() - if(CMAKE_HOST_UNIX OR LLVM_USE_SYMLINKS) -set(LIBCLC_LINK_OR_COPY create_symlink) - else() -set(LIBCLC_LINK_OR_COPY copy) - endif() - foreach(

[clang] [clang-format] Fix a bug in `BreakBeforeBinaryOperators: All` (PR #149695)

2025-07-20 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/149695 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 06ed4d2 - [clang-format] Fix a bug in `BreakBeforeBinaryOperators: All` (#149695)

2025-07-20 Thread via cfe-commits
Author: Owen Pan Date: 2025-07-20T19:01:46-07:00 New Revision: 06ed4d2c92ef7785f6c39e567b8bdefd2defdedb URL: https://github.com/llvm/llvm-project/commit/06ed4d2c92ef7785f6c39e567b8bdefd2defdedb DIFF: https://github.com/llvm/llvm-project/commit/06ed4d2c92ef7785f6c39e567b8bdefd2defdedb.diff LOG:

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

2025-07-20 Thread Alex Rønne Petersen via cfe-commits
alexrp wrote: > Fair point, ideally I'd like both the "proper" ELFv2 with BE to have its > target triple and the "loosened" ELFv2 to have one. Currently, LLVM will > enable the VSX and POWER8-specific parts of the ABI based on the endianess or > CPU, not the ABI. That should probably be change

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

2025-07-20 Thread Jens Reidel via cfe-commits
Gelbpunkt wrote: > This one claims to support old processors too, so seems like also a case of > "loosened" ELFv2? Correct, it isn't strictly ELFv2. > I'm just concerned about what downstream projects seem to be doing with the > term `elfv2`... Fair point, ideally I'd like both the "proper"

[clang] [RISCV] Add missing vcompress and vrgather intrinsic tests for zvfbfmin (PR #148129)

2025-07-20 Thread Jim Lin via cfe-commits
tclin914 wrote: Kindly ping. https://github.com/llvm/llvm-project/pull/148129 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-07-20 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/17] pipes for redirection in oop jit --- .../clang/Interpreter/Remo

[clang] [flang] [SPARC][Driver] Move feature mode selection to Arch/Sparc.cpp (PR #149652)

2025-07-20 Thread Brad Smith via cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/149652 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 38fc453 - [SPARC][Driver] Move feature mode selection to Arch/Sparc.cpp (#149652)

2025-07-20 Thread via cfe-commits
Author: Koakuma Date: 2025-07-20T21:33:06-04:00 New Revision: 38fc453afdb6a4511b7c8e189f12a92559ecc396 URL: https://github.com/llvm/llvm-project/commit/38fc453afdb6a4511b7c8e189f12a92559ecc396 DIFF: https://github.com/llvm/llvm-project/commit/38fc453afdb6a4511b7c8e189f12a92559ecc396.diff LOG:

[libclc] [libclc] Fix installed symlinks to be relative again (PR #149728)

2025-07-20 Thread Wenju He via cfe-commits
@@ -425,17 +425,21 @@ function(add_libclc_builtin_set) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) endif() - if(CMAKE_HOST_UNIX OR LLVM_USE_SYMLINKS) -set(LIBCLC_LINK_OR_COPY create_symlink) - else() -set(LIBCLC_LINK_OR_COPY copy) - endif() - foreach(

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

2025-07-20 Thread Alex Rønne Petersen via cfe-commits
alexrp wrote: > Arch Linux POWER This one claims to support old processors too, so seems like also a case of "loosened" ELFv2? > Also, this isn't exactly a fix limited to glibc target triples. It fixes the > data layout on any target triple that defaults to ELFv1 when `-mabi=elfv2` is > spec

[clang] [flang] [SPARC][Driver] Move feature mode selection to Arch/Sparc.cpp (PR #149652)

2025-07-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/149652 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-07-20 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/16] pipes for redirection in oop jit --- .../clang/Interpreter/Remo

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

2025-07-20 Thread Jens Reidel via cfe-commits
Gelbpunkt wrote: > Is this no longer the case? The page is probably correct in so far that glibc doesn't explicitly support it. However, out of the 64-bit big endian Linux distributions *using* glibc that I'm aware of (Arch Linux POWER, Void Linux for PowerPC, Gentoo), the first two use ELFv2

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

2025-07-20 Thread Alex Rønne Petersen via cfe-commits
alexrp wrote: The only Linux distro I can find that actually claims support for `powerpc64` + `elfv2` + glibc is [Void](https://voidlinux-ppc.org): > Void-ppc uses a variant of the modern ELFv2 ABI (loosened not to impose the > POWER8/VSX requirements of the specification) on 64-bit glibc, as

[clang] [llvm] Redirection local (PR #149753)

2025-07-20 Thread Abhinav Kumar via cfe-commits
https://github.com/kr-2003 closed https://github.com/llvm/llvm-project/pull/149753 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Redirection local (PR #149753)

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

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

2025-07-20 Thread Alex Rønne Petersen via cfe-commits
alexrp wrote: From https://sourceware.org/glibc/wiki/ABIList#powerpc (emphasis mine): > (The GCC distinction for 64-bit is actually ELFv1/ELFv2, **but the BE ELFv2 > and LE ELFv1 combinations aren't supported**.) Is this no longer the case? https://github.com/llvm/llvm-project/pull/149725 ___

[clang] [clang] [Sema] Check argument range for prefetchi* intrinsics (PR #149745)

2025-07-20 Thread Phoebe Wang via cfe-commits
phoebewang wrote: Thanks for the patch! You can add a test case for it like `clang/test/CodeGen/X86/sm3-error.c` https://github.com/llvm/llvm-project/pull/149745 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/ma

[clang] [clang-repl] Improve error message on failled undos (PR #149396)

2025-07-20 Thread Aaron Danen via cfe-commits
https://github.com/aadanen edited https://github.com/llvm/llvm-project/pull/149396 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Improve error message on failled undos (PR #149396)

2025-07-20 Thread Aaron Danen via cfe-commits
https://github.com/aadanen edited https://github.com/llvm/llvm-project/pull/149396 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] (PR #149396)

2025-07-20 Thread Aaron Danen via cfe-commits
aadanen wrote: Okay I think that does it :) https://github.com/llvm/llvm-project/pull/149396 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] (PR #149396)

2025-07-20 Thread Aaron Danen via cfe-commits
https://github.com/aadanen updated https://github.com/llvm/llvm-project/pull/149396 >From f3fbebdd6d940d36561ccf5177510095ba05077e Mon Sep 17 00:00:00 2001 From: Aaron Danen Date: Wed, 16 Jul 2025 19:44:58 -0700 Subject: [PATCH 1/4] clarified %undo error msg in clang-repl used grep -r "Too man

[clang] [clang-repl] (PR #149396)

2025-07-20 Thread Aaron Danen via cfe-commits
https://github.com/aadanen updated https://github.com/llvm/llvm-project/pull/149396 >From f3fbebdd6d940d36561ccf5177510095ba05077e Mon Sep 17 00:00:00 2001 From: Aaron Danen Date: Wed, 16 Jul 2025 19:44:58 -0700 Subject: [PATCH 1/4] clarified %undo error msg in clang-repl used grep -r "Too man

[clang] [PATCH 1/6] [clang] Improve nested name specifier AST representation (PR #147835)

2025-07-20 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: I have further split up this patch series, now the changes related to the NNS representation are moved last in the patch series: https://github.com/llvm/llvm-project/pull/149748 I have also moved some of the trivial changes into yet another patch: https://github.com/llvm/llvm-

[clang] [PATCH 1/6] [clang] Improve nested name specifier AST representation (PR #147835)

2025-07-20 Thread Matheus Izvekov via cfe-commits
@@ -326,7 +326,7 @@ Record *Program::getOrCreateRecord(const RecordDecl *RD) { const auto *RT = Spec.getType()->getAs(); if (!RT) return nullptr; - const RecordDecl *BD = RT->getDecl(); + const RecordDecl *BD = RT->getOriginalDecl()->getDefinitionO

[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)

2025-07-20 Thread Shashi Shankar via cfe-commits
shashforge wrote: > There is still unaddressed feedback Done https://github.com/llvm/llvm-project/pull/147400 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)

2025-07-20 Thread Shashi Shankar via cfe-commits
shashforge wrote: Hi @cor3ntin , Thank you for pointing me toward the simpler `isImplicit()` check—much cleaner! I’ve updated the patch and added the extra test; everything now builds and `check-clang` is green. Whenever you have a moment, could you please give the revision another look? I r

[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)

2025-07-20 Thread Shashi Shankar via cfe-commits
https://github.com/shashforge updated https://github.com/llvm/llvm-project/pull/147400 >From 29c3c9c6d25cc7c47d01a9d819ea37e92361aea2 Mon Sep 17 00:00:00 2001 From: Shashi Shankar Date: Mon, 7 Jul 2025 22:54:22 +0200 Subject: [PATCH 1/3] Sema: suppress deprecated field warnings in implicit spe

[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)

2025-07-20 Thread Shashi Shankar via cfe-commits
https://github.com/shashforge edited https://github.com/llvm/llvm-project/pull/147400 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)

2025-07-20 Thread Shashi Shankar via cfe-commits
https://github.com/shashforge updated https://github.com/llvm/llvm-project/pull/147400 >From 29c3c9c6d25cc7c47d01a9d819ea37e92361aea2 Mon Sep 17 00:00:00 2001 From: Shashi Shankar Date: Mon, 7 Jul 2025 22:54:22 +0200 Subject: [PATCH 1/3] Sema: suppress deprecated field warnings in implicit spe

[clang] [PATCH 1/6] [clang] Improve nested name specifier AST representation (PR #147835)

2025-07-20 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/147835 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PATCH 1/6] [clang] Improve nested name specifier AST representation (PR #147835)

2025-07-20 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/147835 ___ 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-07-20 Thread via cfe-commits
@@ -0,0 +1,16 @@ +// RUN: %clang_cc1 -verify %s -triple x86_64-unknown-unknown -DTEST_x64 +// RUN: %clang_cc1 -verify %s -triple i386-unknown-unknown -DTEST_x86 +// RUN: %clang_cc1 -verify %s -triple riscv32-unknown-unknown -DTEST_riscv32 +// RUN: %clang_cc1 -verify %s -triple ris

[clang] [PATCH 1/6] [clang] Improve nested name specifier AST representation (PR #147835)

2025-07-20 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/147835 ___ 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-07-20 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 1/6] [Clang] Add `__bu

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

2025-07-20 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 1/5] [Clang] Add `__bu

[clang] [clang] [Sema] Check argument range for prefetchi* intrinsics (PR #149745)

2025-07-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Timothy Herchen (anematode) Changes Fixes https://github.com/llvm/llvm-project/issues/144857 . I can create a test if desired, but I think the fix is trivial enough. image[clang] [clang] [Sema] Check argument range for prefetchi* intrinsics (PR #149745)
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timothy Herchen (anematode) Changes Fixes https://github.com/llvm/llvm-project/issues/144857 . I can create a test if desired, but I think the fix is trivial enough. image[clang] [clang] [Sema] Check argument range for prefetchi* intrinsics (PR #149745)
https://github.com/anematode created https://github.com/llvm/llvm-project/pull/149745 Fixes https://github.com/llvm/llvm-project/issues/144857 . I can create a test if desired, but I think the fix is trivial enough. https://github.com/user-attachments/assets/aaee8e5f-6e65-4f04-b8b9-e4ae1434d95

[libclc] [libclc] Fix installed symlinks to be relative again (PR #149728)

https://github.com/sylvestre approved this pull request. Thanks https://github.com/llvm/llvm-project/pull/149728 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Adding Loongarch64 to OpenBSD parts (PR #149737)

@@ -497,6 +497,7 @@ class LLVM_LIBRARY_VISIBILITY OpenBSDTargetInfo : public OSTargetInfo { this->MCountName = "_mcount"; break; case llvm::Triple::riscv64: +case llvm::Triple::loongarch64: break; brad0 wrote: Also make sure this is

[clang] Adding Loongarch64 to OpenBSD parts (PR #149737)

brad0 wrote: Are you really working on Loongarch64 support? https://github.com/llvm/llvm-project/pull/149737 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Adding Loongarch64 to OpenBSD parts (PR #149737)

@@ -167,6 +167,12 @@ void openbsd::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back("--no-relax"); } + if (Triple.isLoongArch64()) { +CmdArgs.push_back("-X"); +if (Args.hasArg(options::OPT_mno_relax)) + CmdArgs.push_back("--no-

[clang] Adding Loongarch64 to OpenBSD parts (PR #149737)

@@ -29,6 +29,19 @@ // CHECK-MIPS64-CPU: "-target-cpu" "mips3" // CHECK-MIPS64EL-CPU: "-target-cpu" "mips3" +// Check that LoongArch passes the correct linker emulation. +// +// RUN: %clang --target=loongarch64-unknown-openbsd -### %s %s 2>&1 \ +// RUN: | FileCheck --check-pr

[clang-tools-extra] [doc] Add documentation for clang-change-namespace (PR #148277)

@@ -0,0 +1,155 @@ +== +Clang-Change-Namespace +== + +.. contents:: + +.. toctree:: + :maxdepth: 1 + +:program:`clang-change-namespace` can be used to change the surrounding +namespaces of class/function definitions. + +Classes/functions in

[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)

https://github.com/shashforge updated https://github.com/llvm/llvm-project/pull/147400 >From 29c3c9c6d25cc7c47d01a9d819ea37e92361aea2 Mon Sep 17 00:00:00 2001 From: Shashi Shankar Date: Mon, 7 Jul 2025 22:54:22 +0200 Subject: [PATCH 1/3] Sema: suppress deprecated field warnings in implicit spe

[clang-tools-extra] [clang-tidy] Add parallel execution by default in 'run-clang-tidy' and 'clang-tidy-diff' (PR #149739)

vbvictor wrote: Note about [comment](https://github.com/llvm/llvm-project/issues/148624#issuecomment-3069680087) by Eugene: `run-clang-tidy` already tried to run on max cpu cores by default, so problem with LFS was here for 11 years since birth of the file in https://reviews.llvm.org/D5188.

[clang-tools-extra] [clang-tidy] Add parallel execution by default in 'run-clang-tidy' and 'clang-tidy-diff' (PR #149739)

llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Baranov Victor (vbvictor) Changes Change the default value of `-j` from `1` to `0` in `clang-tidy-diff.py` script to autodetect number of CPU cores to run on. Script `run-clang-tidy.py` already had this behavior by default. Bo

[clang-tools-extra] [clang-tidy] Add parallel execution by default in 'run-clang-tidy' and 'clang-tidy-diff' (PR #149739)

https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/149739 Change the default value of `-j` from `1` to `0` in `clang-tidy-diff.py` script to autodetect number of CPU cores to run on. Script `run-clang-tidy.py` already had this behavior by default. Both scripts now al

[clang] [clang-repl] (PR #149396)

https://github.com/aadanen updated https://github.com/llvm/llvm-project/pull/149396 >From f3fbebdd6d940d36561ccf5177510095ba05077e Mon Sep 17 00:00:00 2001 From: Aaron Danen Date: Wed, 16 Jul 2025 19:44:58 -0700 Subject: [PATCH 1/3] clarified %undo error msg in clang-repl used grep -r "Too man

[clang] Adding Loongarch64 to OpenBSD parts (PR #149737)

llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-driver Author: Slava "nerfur" Voronzoff (nerfur) Changes Adding Loongarch64 to OpenBSD parts --- Full diff: https://github.com/llvm/llvm-project/pull/149737.diff 4 Files Affected: - (modified) clang/lib/Basic/Targets.

[clang] Adding Loongarch64 to OpenBSD parts (PR #149737)

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] Adding Loongarch64 to OpenBSD parts (PR #149737)

https://github.com/nerfur created https://github.com/llvm/llvm-project/pull/149737 Adding Loongarch64 to OpenBSD parts >From 6b9eedcc624316a565cfc4d5eb8c87c67442378f Mon Sep 17 00:00:00 2001 From: "Slava \"nerfur\" Voronzoff" Date: Tue, 1 Jul 2025 20:01:34 +0300 Subject: [PATCH 1/5] OpenBSD in

[clang-tools-extra] [clang-tidy] modernize-use-std-print, format: Fix checks with Abseil functions (PR #142312)

vbvictor wrote: > @vbvictor Thanks for the review. I've rebased (fixing conflicts on the > release notes) and squashed the changes. I don't have commit access. Please > can you land the change for me if you're still happy with it? Sure, I'll merge in a couple of days in case anyone will want t

[clang] [flang] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [LV] Vectorize maxnum/minnum w/o fast-math flags. (PR #148239)

llvmbot wrote: /pull-request llvm/llvm-project#149736 https://github.com/llvm/llvm-project/pull/148239 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [LV] Vectorize maxnum/minnum w/o fast-math flags. (PR #148239)

fhahn wrote: /cherry-pick https://github.com/llvm/llvm-project/commit/004c67ea257039e4e98abc26dd4ac6e8f3d7a171 https://github.com/llvm/llvm-project/pull/148239 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mail

[clang] [flang] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [LV] Vectorize maxnum/minnum w/o fast-math flags. (PR #148239)

https://github.com/fhahn milestoned https://github.com/llvm/llvm-project/pull/148239 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [LV] Vectorize maxnum/minnum w/o fast-math flags. (PR #148239)

llvmbot wrote: >/cherry-pick 004c67ea257039e4e98abc26dd4ac6e8f3d7a171 Error: Command failed due to missing milestone. https://github.com/llvm/llvm-project/pull/148239 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-

[clang] [flang] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [LV] Vectorize maxnum/minnum w/o fast-math flags. (PR #148239)

fhahn wrote: /cherry-pick 004c67ea257039e4e98abc26dd4ac6e8f3d7a171 https://github.com/llvm/llvm-project/pull/148239 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Make `modernize-use-using`'s fix-its more robust (PR #149694)

https://github.com/localspook ready_for_review https://github.com/llvm/llvm-project/pull/149694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Make `modernize-use-using`'s fix-its more robust (PR #149694)

https://github.com/localspook edited https://github.com/llvm/llvm-project/pull/149694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Make `modernize-use-using`'s fix-its more robust (PR #149694)

https://github.com/localspook edited https://github.com/llvm/llvm-project/pull/149694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Make `modernize-use-using`'s fixits more robust (PR #149694)

https://github.com/localspook updated https://github.com/llvm/llvm-project/pull/149694 >From 823bfd458a0e03125d84fd676fbc284f09b50a5b Mon Sep 17 00:00:00 2001 From: Victor Chernyakin Date: Sat, 19 Jul 2025 23:43:55 -0700 Subject: [PATCH 1/2] [clang-tidy] Make `modernize-use-using`'s fixits more

[clang] [clang] Proofread LanguageExtensions.rst (PR #149729)

https://github.com/tgymnich approved this pull request. https://github.com/llvm/llvm-project/pull/149729 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Proofread LanguageExtensions.rst (PR #149729)

llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/149729.diff 1 Files Affected: - (modified) clang/docs/LanguageExtensions.rst (+9-9) ``diff diff --git a/clang/docs/LanguageExtensi

[clang] [clang] Proofread LanguageExtensions.rst (PR #149729)

https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/149729 None >From 11e6bf6f0962300440aa4c463480678f4619d21b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 20 Jul 2025 11:31:41 -0700 Subject: [PATCH] [clang] Proofread LanguageExtensions.rst --- clang/

[libclc] [libclc] Fix installed symlinks to be relative again (PR #149728)

https://github.com/mgorny created https://github.com/llvm/llvm-project/pull/149728 Fix the symlink creation logic to use relative paths instead of absolute, in order to ensure that the installed symlinks actually refer to the installed .bc files rather than the ones from the build directory.

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

llvmbot wrote: @llvm/pr-subscribers-backend-powerpc Author: Jens Reidel (Gelbpunkt) Changes Prior to this change, the data layout calculation would not account for explicitly set `-mabi=elfv2` on `powerpc64-unknown-linux-gnu`, a target that defaults to `elfv1`. This is loosely inspired

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

llvmbot wrote: @llvm/pr-subscribers-clang Author: Jens Reidel (Gelbpunkt) Changes Prior to this change, the data layout calculation would not account for explicitly set `-mabi=elfv2` on `powerpc64-unknown-linux-gnu`, a target that defaults to `elfv1`. This is loosely inspired by the equ

[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

https://github.com/Gelbpunkt created https://github.com/llvm/llvm-project/pull/149725 Prior to this change, the data layout calculation would not account for explicitly set `-mabi=elfv2` on `powerpc64-unknown-linux-gnu`, a target that defaults to `elfv1`. This is loosely inspired by the equiv

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

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/15] pipes for redirection in oop jit --- .../clang/Interpreter/Remo

[clang] Reland [clang][modules-driver] Add scanner to detect C++20 module presence (PR #147630)

https://github.com/naveen-seth updated https://github.com/llvm/llvm-project/pull/147630 >From 6b440de2ed76a6095c4b68ba1301dfbd19f9a285 Mon Sep 17 00:00:00 2001 From: Naveen Seth Hanig Date: Fri, 13 Jun 2025 09:19:21 +0200 Subject: [PATCH 1/5] Reland [clang][modules-driver] Add scanner to detect

[clang] [CIR] Upstream Cast kinds for ComplexType (PR #149717)

llvmbot wrote: @llvm/pr-subscribers-clangir Author: Amr Hesham (AmrDeveloper) Changes This change adds support for cast kinds for ComplexType https://github.com/llvm/llvm-project/issues/141365 --- Patch is 34.91 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/l

[clang] [CIR] Upstream Cast kinds for ComplexType (PR #149717)

llvmbot wrote: @llvm/pr-subscribers-clang Author: Amr Hesham (AmrDeveloper) Changes This change adds support for cast kinds for ComplexType https://github.com/llvm/llvm-project/issues/141365 --- Patch is 34.91 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llv

[clang] [CIR] Upstream Cast kinds for ComplexType (PR #149717)

https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/149717 This change adds support for cast kinds for ComplexType https://github.com/llvm/llvm-project/issues/141365 >From 8a3e3e87ef31fd347eb70f853a112af5d3c11630 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date:

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

@@ -0,0 +1,16 @@ +// RUN: %clang_cc1 -verify %s -triple x86_64-unknown-unknown -DTEST_x64 +// RUN: %clang_cc1 -verify %s -triple i386-unknown-unknown -DTEST_x86 +// RUN: %clang_cc1 -verify %s -triple riscv32-unknown-unknown -DTEST_riscv32 +// RUN: %clang_cc1 -verify %s -triple ris

[clang] [llvm] [clang][cuda] support __managed__ variables (PR #149716)

https://github.com/Acthinks created https://github.com/llvm/llvm-project/pull/149716 Closes #147373 >From f941f3065638f8c7c25fc1eeca1883cb9dfdb3cf Mon Sep 17 00:00:00 2001 From: Acthinks Date: Fri, 11 Jul 2025 15:58:09 +0800 Subject: [PATCH] [clang][cuda] support __managed__ variables Closes

[clang] [clang-format] Fix a bug in `BreakBeforeBinaryOperators: All` (PR #149695)

https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/149695 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Don't warn on zero literals with -std=c2y (PR #149688)

@@ -44,7 +44,9 @@ static const void *ptr = 0o0; /* ext-warning {{octal integer literals are a C2y #endif // 0 by itself is not deprecated, of course. -int k = 0; +int k1 = 0; +long k2 = 0l; +unsigned long long k3 = 0ull; anematode wrote: i like ur attitude

[clang] [clang] Don't warn on zero literals with -std=c2y (PR #149688)

https://github.com/anematode updated https://github.com/llvm/llvm-project/pull/149688 >From 5def3c282d446e6ac687cdef37710e9545814cbf Mon Sep 17 00:00:00 2001 From: Timothy Herchen Date: Sat, 19 Jul 2025 18:55:17 -0700 Subject: [PATCH 1/2] [clang] Don't warn on zero literals with -std=c2y Fixes

[clang] [clang] Don't warn on zero literals with -std=c2y (PR #149688)

@@ -44,7 +44,9 @@ static const void *ptr = 0o0; /* ext-warning {{octal integer literals are a C2y #endif // 0 by itself is not deprecated, of course. -int k = 0; +int k1 = 0; +long k2 = 0l; +unsigned long long k3 = 0ull; frederick-vs-ja wrote: Let's check t

[clang-tools-extra] [clang-tidy] Make `modernize-use-using`'s fixits more robust (PR #149694)

@@ -102,6 +102,10 @@ New check aliases Changes in existing checks ^^ +- Improved :doc:`modernize-use-using + ` check by removing many incorrect + fixits and providing fixits where before there was only a warning. EugeneZelenko wrote:

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

@@ -354,6 +354,10 @@ Changes in existing checks ` check by fixing some false positives involving smart pointers to arrays. +- Improved :doc:`readability-uppercase-literal-suffix EugeneZelenko wrote: Please rebase from `main` - Release Notes were cleared a

[clang] [Clang][OpenMP] Fixing Clang error for metadirective with multiple when clauses and no otherwise (PR #148583)

@@ -108,6 +108,12 @@ void foo1(void) { : parallel) otherwise(parallel for) for (int i=0; i<10; i++) ; + +#pragma omp metadirective when(user = {condition(1)} \ + : parallel for)

[clang] [Clang][OpenMP] Fixing Clang error for metadirective with multiple when clauses and no otherwise (PR #148583)

https://github.com/Ritanya-B-Bharadwaj updated https://github.com/llvm/llvm-project/pull/148583 >From cc247bc1eb330dd2d3ccebabc7c1d3b524073627 Mon Sep 17 00:00:00 2001 From: Ritanya B Bharadwaj Date: Mon, 14 Jul 2025 03:18:25 -0500 Subject: [PATCH 1/2] [Clang][OpenMP] Fixing error - 147336 ---

  1   2   >