[clang] [clang-tools-extra] [libcxx] [llvm] [libc++][ranges] P2542R8: Implement `views::concat` (PR #120920)

2025-02-16 Thread Nhat Nguyen via cfe-commits
https://github.com/changkhothuychung updated https://github.com/llvm/llvm-project/pull/120920 error: too big or took too long to generate ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit

[clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2025-02-16 Thread via cfe-commits
h-vetinari wrote: Congratulations on getting this big piece of work merged! 👏 🥳 I'll start rebuilding from main after LLVM 20.1 is GA https://github.com/llvm/llvm-project/pull/110217 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lis

[clang] [HLSL] Implement the 'and' HLSL function (PR #127098)

2025-02-16 Thread Farzon Lotfi via cfe-commits
https://github.com/farzonl edited https://github.com/llvm/llvm-project/pull/127098 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL] Implement the 'and' HLSL function (PR #127098)

2025-02-16 Thread Farzon Lotfi via cfe-commits
https://github.com/farzonl edited https://github.com/llvm/llvm-project/pull/127098 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Fix] Speedup -Wunsafe-buffer-usage when using clang modules. (PR #127161)

2025-02-16 Thread Takuto Ikuta via cfe-commits
@@ -2546,14 +2546,27 @@ static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { class CallableVisitor : public DynamicRecursiveASTVisitor { private: llvm::function_ref Callback; + const Module *const TUModule; public: - CallableVisitor(llvm::funct

[clang] [clang] Fix missing installed header (PR #95979)

2025-02-16 Thread Evan Wilde via cfe-commits
etcwilde wrote: For folks landing here, this should be fixed in CMake 4.1 by policy [CMP0187](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10271). https://github.com/llvm/llvm-project/pull/95979 ___ cfe-commits mailing list cfe-commits@list

[clang] [HLSL] Implement the 'and' HLSL function (PR #127098)

2025-02-16 Thread Farzon Lotfi via cfe-commits
https://github.com/farzonl edited https://github.com/llvm/llvm-project/pull/127098 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix const-ness of local primitive temporary (PR #127405)

2025-02-16 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-win` running on `avx512-intel64-win` while building `clang` at step 4 "cmake stage 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/81/builds/4806 Here is the relevant pi

[clang] [clang][bytecode] Fix const-ness of local primitive temporary (PR #127405)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/127405 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode][NFC] Move reduced libcxx tests to a subdir (PR #127438)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/127438 None >From dad619ca73c2c68ffec025f9e5f99501fe649047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Mon, 17 Feb 2025 06:35:03 +0100 Subject: [PATCH] [clang][bytecode][NFC] Move reduced libcx

[clang] [clang][bytecode][NFC] Move reduced libcxx tests to a subdir (PR #127438)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/127438.diff 2 Files Affected: - (renamed) clang/test/AST/ByteCode/libcxx/allocate-arrays.cpp () - (renamed) clang/test/AST/ByteCode/libcxx/non-con

[clang] [Fix] Speedup -Wunsafe-buffer-usage when using clang modules. (PR #127161)

2025-02-16 Thread via cfe-commits
https://github.com/matts1 updated https://github.com/llvm/llvm-project/pull/127161 >From 46dc2732948e2776909d2ec752a235f22ac471f3 Mon Sep 17 00:00:00 2001 From: Matt Stark Date: Fri, 14 Feb 2025 14:14:03 +1100 Subject: [PATCH] [Fix] Speedup -Wunsafe-buffer-usage when using clang modules. See h

[clang] c3cae9d - [clang][bytecode] Fix const-ness of local primitive temporary (#127405)

2025-02-16 Thread via cfe-commits
Author: Timm Baeder Date: 2025-02-17T06:24:30+01:00 New Revision: c3cae9d6fccc96297e832a09f5230346ef4c42f3 URL: https://github.com/llvm/llvm-project/commit/c3cae9d6fccc96297e832a09f5230346ef4c42f3 DIFF: https://github.com/llvm/llvm-project/commit/c3cae9d6fccc96297e832a09f5230346ef4c42f3.diff L

[clang] [clang][Index] Use HeuristicResolver in libIndex (PR #125153)

2025-02-16 Thread Nathan Ridge via cfe-commits
@@ -168,51 +169,33 @@ class BodyIndexer : public RecursiveASTVisitor { Parent, ParentDC, Roles, Relations, E); } - bool indexDependentReference( - const Expr *E, const Type *T, const DeclarationNameInfo &NameInfo, - llvm::funct

[clang] Clang/bug113094 (PR #127439)

2025-02-16 Thread via cfe-commits
https://github.com/pradt2 created https://github.com/llvm/llvm-project/pull/127439 This addresses issue #113094 >From cfea7537eea19c4cff89d1e2a35dff2caff00106 Mon Sep 17 00:00:00 2001 From: pradt2 <12902844+pra...@users.noreply.github.com> Date: Sun, 16 Feb 2025 00:22:42 -0800 Subject: [PATCH

[clang] Clang/bug113094 (PR #127439)

2025-02-16 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-format] Fix a bug in annotating braces (PR #127306)

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

[clang] Clang/bug113094 (PR #127439)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (pradt2) Changes This addresses issue #113094 --- Full diff: https://github.com/llvm/llvm-project/pull/127439.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaType.cpp (+6-7) - (added) clang/test/Sema/bug113094.cpp (+6)

[clang] f1627e1 - [clang][bytecode][NFC] Move reduced libcxx tests to a subdir (#127438)

2025-02-16 Thread via cfe-commits
Author: Timm Baeder Date: 2025-02-17T07:02:54+01:00 New Revision: f1627e1a9e2482106ba2ea3bcd22ecaff257950d URL: https://github.com/llvm/llvm-project/commit/f1627e1a9e2482106ba2ea3bcd22ecaff257950d DIFF: https://github.com/llvm/llvm-project/commit/f1627e1a9e2482106ba2ea3bcd22ecaff257950d.diff L

[clang] [clang][bytecode][NFC] Move reduced libcxx tests to a subdir (PR #127438)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/127438 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Index] Use HeuristicResolver in libIndex (PR #125153)

2025-02-16 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 updated https://github.com/llvm/llvm-project/pull/125153 >From 55461723ee7849fe9247455f0bfd5cfd252596ea Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Thu, 30 Jan 2025 21:31:12 -0500 Subject: [PATCH] [clang][Index] Use HeuristicResolver in libIndex The uses

[clang] [clang][Index] Use HeuristicResolver in libIndex (PR #125153)

2025-02-16 Thread Younan Zhang via cfe-commits
@@ -168,51 +169,33 @@ class BodyIndexer : public RecursiveASTVisitor { Parent, ParentDC, Roles, Relations, E); } - bool indexDependentReference( - const Expr *E, const Type *T, const DeclarationNameInfo &NameInfo, - llvm::funct

[clang] [clang-linker-wrapper] Avoid repeated hash lookups (NFC) (PR #127443)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/127443.diff 1 Files Affected: - (modified) clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp (+3-2) ``diff diff --git a/clan

[clang-tools-extra] [clang-tidy] Avoid repeated hash lookups (NFC) (PR #127444)

2025-02-16 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/127444.diff 1 Files Affected: - (modified) clang-tools-extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp (+4-4) `

[clang] [clang][bytecode] Fix rejecting non-constexpr array ctors (PR #127448)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/127448 We shouldn't abort here when compiling, this is happening (and properly diagnosed) when interpreting the bytecode. >From 0fdf2160faa4ed9ccd2f36e8333575bf075e0755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=2

[clang] [clang][bytecode] Fix rejecting non-constexpr array ctors (PR #127448)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes We shouldn't abort here when compiling, this is happening (and properly diagnosed) when interpreting the bytecode. --- Full diff: https://github.com/llvm/llvm-project/pull/127448.diff 2 Files Affected: -

[clang] [Driver][MSVC] Add lto-sample-profile option for lld-link (PR #127442)

2025-02-16 Thread via cfe-commits
https://github.com/tianleliu edited https://github.com/llvm/llvm-project/pull/127442 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Avoid repeated hash lookups (NFC) (PR #127444)

2025-02-16 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/127444 None >From 4dfb98f2290a1af132edd3c5658a9c35bc48c1ed Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 16 Feb 2025 08:22:46 -0800 Subject: [PATCH] [clang-tidy] Avoid repeated hash lookups (NFC) ---

[clang] d64cf19 - [clang][bytecode] Add Descriptor::dumpFull (#127386)

2025-02-16 Thread via cfe-commits
Author: Timm Baeder Date: 2025-02-16T12:15:43+01:00 New Revision: d64cf1998367cb7d0df398991808f3eed12f084f URL: https://github.com/llvm/llvm-project/commit/d64cf1998367cb7d0df398991808f3eed12f084f DIFF: https://github.com/llvm/llvm-project/commit/d64cf1998367cb7d0df398991808f3eed12f084f.diff L

[clang] [clang][bytecode] Add Descriptor::dumpFull (PR #127386)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/127386 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86] Add missing explicit conversion for AMXAVX512 and SHA (PR #127385)

2025-02-16 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/127385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] dab9156 - [X86] Add missing explicit conversion for AMXAVX512 and SHA (#127385)

2025-02-16 Thread via cfe-commits
Author: Phoebe Wang Date: 2025-02-16T19:35:09+08:00 New Revision: dab9156923133b4ce3c40efcae4f80b0d720e72f URL: https://github.com/llvm/llvm-project/commit/dab9156923133b4ce3c40efcae4f80b0d720e72f DIFF: https://github.com/llvm/llvm-project/commit/dab9156923133b4ce3c40efcae4f80b0d720e72f.diff L

[clang] [clang][bytecode] Add Descriptor::dumpFull (PR #127386)

2025-02-16 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 7 "Add check check-offload". Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/13104 Here is the r

[clang] [X86] Add missing explicit conversion for AMXAVX512 and SHA (PR #127385)

2025-02-16 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/127385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix dynamic array allocation return values (PR #127387)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/127387 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] e8d8488 - [clang][bytecode] Fix dynamic array allocation return values (#127387)

2025-02-16 Thread via cfe-commits
Author: Timm Baeder Date: 2025-02-16T12:24:35+01:00 New Revision: e8d848824bbd76892a7b371a8409b0fb378a55a4 URL: https://github.com/llvm/llvm-project/commit/e8d848824bbd76892a7b371a8409b0fb378a55a4 DIFF: https://github.com/llvm/llvm-project/commit/e8d848824bbd76892a7b371a8409b0fb378a55a4.diff L

[clang] [X86] Add missing explicit conversion for AMXAVX512 and SHA (PR #127385)

2025-02-16 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building `clang` at step 6 "test-openmp". Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/15868 Here is the relevant piece of

[clang] [Clang] [NFC] Remove outdated FIXME (PR #126978)

2025-02-16 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/6572 Here is the releva

[clang] [X86] Add missing explicit conversion for AMXAVX512 and SHA (PR #127385)

2025-02-16 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/127385 Address the X86 part of #126491 >From 80e85d3a44657df64fd9136156d36b096003b58e Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Sun, 16 Feb 2025 18:17:39 +0800 Subject: [PATCH] [X86] Add missing explicit

[clang] [X86] Add missing explicit conversion for AMXAVX512 and SHA (PR #127385)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Phoebe Wang (phoebewang) Changes Address the X86 part of #126491 --- Full diff: https://github.com/llvm/llvm-project/pull/127385.diff 4 Files Affected: - (modified) clang/lib/Headers/amxavx512intrin.h (+1-1) - (modified) clang/li

[clang] [clang-tools-extra] [libcxx] [llvm] [libc++][ranges] P2542R8: Implement `views::concat` (PR #120920)

2025-02-16 Thread A. Jiang via cfe-commits
@@ -0,0 +1,638 @@ +// -*- 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

[clang] [AST] Avoid repeated map lookups (NFC) (PR #127369)

2025-02-16 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/127369 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Avoid repeated hash lookups (NFC) (PR #127370)

2025-02-16 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/127370 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [libcxx] [llvm] [libc++][ranges] P2542R8: Implement `views::concat` (PR #120920)

2025-02-16 Thread Hristo Hristov via cfe-commits
H-G-Hristov wrote: > > @changkhothuychung The be more specific. You should add the paper entry > > here: > > https://github.com/llvm/llvm-project/blob/4887e41055686eede9c155e6b3296b92fe86c2d5/libcxx/docs/ReleaseNotes/21.rst?plain=1#L41 > > > > And update the status accordingly: > > https://gith

[clang-tools-extra] [clangd] Enable parsing of forwarding functions in the preamble by default (PR #127359)

2025-02-16 Thread Tobias Ribizel via cfe-commits
https://github.com/upsj commented: Maybe for consistency we should also change the other defaults that IIRC are used to configure tests: https://github.com/llvm/llvm-project/blob/dbc98cfa46d52ede06e8be7fc5e855d807ba0fac/clang-tools-extra/clangd/ClangdServer.h#L187 https://github.com/llvm/llvm-pr

[clang] [clang-tools-extra] [libcxx] [llvm] [libc++][ranges] P2542R8: Implement `views::concat` (PR #120920)

2025-02-16 Thread Hristo Hristov via cfe-commits
@@ -54,7 +54,7 @@ "`P3142R0 `__","Printing Blank Lines with ``println``","2024-03 (Tokyo)","|Complete|","19","Implemented as a DR against C++23. (MSVC STL and libstdc++ will do the same.)" "`P2845R8 `__","Formatting of ``s

[clang] [Clang] [NFC] Remove outdated FIXME (PR #126978)

2025-02-16 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/126978 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 538b8f8 - [Clang] [NFC] Remove outdated FIXME (#126978)

2025-02-16 Thread via cfe-commits
Author: MagentaTreehouse Date: 2025-02-16T10:08:30+01:00 New Revision: 538b8f8008b95782ea1967284e22500c72aec67d URL: https://github.com/llvm/llvm-project/commit/538b8f8008b95782ea1967284e22500c72aec67d DIFF: https://github.com/llvm/llvm-project/commit/538b8f8008b95782ea1967284e22500c72aec67d.di

[clang] [compiler-rt] [PGO][Offload] Fix profile function visibility (PR #127257)

2025-02-16 Thread Ethan Luis McDonough via cfe-commits
https://github.com/EthanLuisMcDonough updated https://github.com/llvm/llvm-project/pull/127257 >From 2f747025061b8be4b4294bf6351e653f02349105 Mon Sep 17 00:00:00 2001 From: Ethan Luis McDonough Date: Fri, 14 Feb 2025 14:39:26 -0600 Subject: [PATCH] [PGO][Offload] Fix profile function visibility

[clang] [compiler-rt] [Darwin][PGO] Fix profile function visibility bug (PR #127257)

2025-02-16 Thread Ethan Luis McDonough via cfe-commits
https://github.com/EthanLuisMcDonough edited https://github.com/llvm/llvm-project/pull/127257 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [Darwin][PGO] Fix profile function visibility bug (PR #127257)

2025-02-16 Thread Ethan Luis McDonough via cfe-commits
https://github.com/EthanLuisMcDonough edited https://github.com/llvm/llvm-project/pull/127257 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [Clang][PGO] Fix profile function visibility bug (PR #127257)

2025-02-16 Thread Ethan Luis McDonough via cfe-commits
https://github.com/EthanLuisMcDonough edited https://github.com/llvm/llvm-project/pull/127257 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [Darwin][PGO] Fix profile function visibility bug (PR #127257)

2025-02-16 Thread Ethan Luis McDonough via cfe-commits
https://github.com/EthanLuisMcDonough ready_for_review https://github.com/llvm/llvm-project/pull/127257 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [lld] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2025-02-16 Thread Michael Kruse via cfe-commits
https://github.com/Meinersbur closed https://github.com/llvm/llvm-project/pull/110298 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2025-02-16 Thread Michael Kruse via cfe-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/110217 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [lld] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2025-02-16 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx` running on `linaro-flang-aarch64-libcxx` while building `flang-rt,flang` at step 5 "build-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/16706 Here is

[clang] [llvm] [ARM] Adding diagnostics for mcmodel=tiny when used in invalid targets (PR #125643)

2025-02-16 Thread via cfe-commits
ShashwathiNavada wrote: ping @cor3ntin https://github.com/llvm/llvm-project/pull/125643 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm] [clangd][WIP] Add doxygen parsing for Hover (PR #127451)

2025-02-16 Thread via cfe-commits
https://github.com/tcottin created https://github.com/llvm/llvm-project/pull/127451 With this PR I try to revive clangd/clangd#529. I applied [this patch](https://aur.archlinux.org/cgit/aur.git/commit/hover-doxygen-trunk.patch?h=clangd-opt&id=b00d4e961c78e2126b7226e924595239e9ce3cae) and reba

[clang-tools-extra] [llvm] [clangd][WIP] Add doxygen parsing for Hover (PR #127451)

2025-02-16 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] [SPGO][Driver][Win] Add lto-sample-profile option for lld-link (PR #127442)

2025-02-16 Thread via cfe-commits
https://github.com/tianleliu created https://github.com/llvm/llvm-project/pull/127442 SPGO in lto mode, linker needs -lto-sample-profile option to set sample profile file. Linux adds this option by transfering fprofile-sample-use but lld-link on Windows misses the transfering. So add it now.

[clang] [flang] [flang][OpenMP] Upstream first part of `do concurrent` mapping (PR #126026)

2025-02-16 Thread Kareem Ergawy via cfe-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/126026 >From 2a54270a2ad7f42ddf6787afd81a8b98641f8082 Mon Sep 17 00:00:00 2001 From: ergawy Date: Wed, 5 Feb 2025 23:31:15 -0600 Subject: [PATCH 01/10] [flang][OpenMP] Upstream first part of `do concurrent` mapping Th

[clang] [Feature]: support for the BC library file into the compile dependencies (PR #119513)

2025-02-16 Thread via cfe-commits
https://github.com/zhouronghua updated https://github.com/llvm/llvm-project/pull/119513 >From 9fd14fb47e226f5475fdf9bbcad904ea97b809de Mon Sep 17 00:00:00 2001 From: "ronghua.zhou" Date: Fri, 14 Feb 2025 01:04:51 + Subject: [PATCH] [Feature]: support for the BC library file into the compile

[clang] [Feature]: support for the BC library file into the compile dependencies (PR #119513)

2025-02-16 Thread via cfe-commits
zhouronghua wrote: merge new change: https://github.com/llvm/llvm-project/pull/119513 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Feature]: support for the BC library file into the compile dependencies (PR #119513)

2025-02-16 Thread via cfe-commits
https://github.com/zhouronghua edited https://github.com/llvm/llvm-project/pull/119513 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Feature]: merge host and kernel dependencies for heterogeneous compilation (PR #119513)

2025-02-16 Thread via cfe-commits
https://github.com/zhouronghua edited https://github.com/llvm/llvm-project/pull/119513 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [ARM] Adding diagnostics for mcmodel=tiny when used in invalid targets (PR #125643)

2025-02-16 Thread via cfe-commits
ShashwathiNavada wrote: ping @hstk30-hw https://github.com/llvm/llvm-project/pull/125643 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Feature]: merge host and kernel dependencies for heterogeneous compilation (PR #119513)

2025-02-16 Thread via cfe-commits
https://github.com/zhouronghua updated https://github.com/llvm/llvm-project/pull/119513 >From 919b877cc4017dd83c2534779c81b41acb73ab00 Mon Sep 17 00:00:00 2001 From: "ronghua.zhou" Date: Fri, 14 Feb 2025 01:04:51 + Subject: [PATCH] [Feature]: support for the BC library file into the compile

[clang] [Feature]: support for the BC library file into the compile dependencies (PR #119513)

2025-02-16 Thread via cfe-commits
https://github.com/zhouronghua updated https://github.com/llvm/llvm-project/pull/119513 >From 08904272dd7a718b8d7e2f0de512ee0d99a68bc7 Mon Sep 17 00:00:00 2001 From: "ronghua.zhou" Date: Fri, 14 Feb 2025 01:04:51 + Subject: [PATCH] [Feature]: support for the BC library file into the compile

[clang] default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (PR #125648)

2025-02-16 Thread Urvi Rav via cfe-commits
ravurvi20 wrote: ping @jplehr https://github.com/llvm/llvm-project/pull/125648 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-linker-wrapper] Avoid repeated hash lookups (NFC) (PR #127443)

2025-02-16 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/127443 None >From 6002055de10899ee42204dafd8d15fe3318746f8 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 16 Feb 2025 08:25:21 -0800 Subject: [PATCH] [clang-linker-wrapper] Avoid repeated hash lookups (N

[clang] [SPGO][Driver][Win] Add lto-sample-profile option for lld-link (PR #127442)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: None (tianleliu) Changes SPGO in lto mode, linker needs -lto-sample-profile option to set sample profile file. Linux adds this option by transfering fprofile-sample-use but lld-link on Windows misses the transfering. So add it now.

[clang] [Clang][RISCV] Add preprocessor macros for Zicfilp CFI scheme (PR #109600)

2025-02-16 Thread Ming-Yi Lai via cfe-commits
https://github.com/mylai-mtk updated https://github.com/llvm/llvm-project/pull/109600 >From 3bb0b659009ade3dcd04d7bbb88b57e7b072fac5 Mon Sep 17 00:00:00 2001 From: Ming-Yi Lai Date: Fri, 10 May 2024 14:16:59 +0800 Subject: [PATCH 1/5] [clang][RISCV] Add Zicfilp CFI scheme preprocessor macros T

[clang] [Clang][RISCV] Add preprocessor macros for Zicfilp CFI scheme (PR #109600)

2025-02-16 Thread Ming-Yi Lai via cfe-commits
https://github.com/mylai-mtk updated https://github.com/llvm/llvm-project/pull/109600 >From 3bb0b659009ade3dcd04d7bbb88b57e7b072fac5 Mon Sep 17 00:00:00 2001 From: Ming-Yi Lai Date: Fri, 10 May 2024 14:16:59 +0800 Subject: [PATCH 1/4] [clang][RISCV] Add Zicfilp CFI scheme preprocessor macros T

[clang] default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (PR #125648)

2025-02-16 Thread Urvi Rav via cfe-commits
ravurvi20 wrote: ping @mjklemm https://github.com/llvm/llvm-project/pull/125648 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Feature]: support for the BC library file into the compile dependencies (PR #119513)

2025-02-16 Thread via cfe-commits
https://github.com/zhouronghua updated https://github.com/llvm/llvm-project/pull/119513 >From 0ea79d900d2b8668e7d83f22040d47d815735ce8 Mon Sep 17 00:00:00 2001 From: "ronghua.zhou" Date: Fri, 14 Feb 2025 01:04:51 + Subject: [PATCH] [Feature]: support for the BC library file into the compile

[clang] [clang][Index] Use HeuristicResolver in libIndex (PR #125153)

2025-02-16 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/125153 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix rejecting non-constexpr array ctors (PR #127448)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/127448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 36f8c8b - [clang][bytecode] Fix rejecting non-constexpr array ctors (#127448)

2025-02-16 Thread via cfe-commits
Author: Timm Baeder Date: 2025-02-17T08:06:12+01:00 New Revision: 36f8c8b43836775c3d9d8da63b97d984b19853d1 URL: https://github.com/llvm/llvm-project/commit/36f8c8b43836775c3d9d8da63b97d984b19853d1 DIFF: https://github.com/llvm/llvm-project/commit/36f8c8b43836775c3d9d8da63b97d984b19853d1.diff L

[clang] [Clang][RISCV] Add preprocessor macros for Zicfilp CFI scheme (PR #109600)

2025-02-16 Thread Ming-Yi Lai via cfe-commits
mylai-mtk wrote: Update: + Rebase to latest `main` + Remove redundant macro contents + Move tests of macros from CodeGen dir to Preprocessor dir + Add tests for default branch label scheme + Add tests for `-fcf-protection=full` + Rewrite PR/commit message --- It looks like some of the new macr

[clang] [Clang][RISCV] Add preprocessor macros for Zicfilp CFI scheme (PR #109600)

2025-02-16 Thread Ming-Yi Lai via cfe-commits
https://github.com/mylai-mtk edited https://github.com/llvm/llvm-project/pull/109600 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][MSVC] Add lto-sample-profile option for lld-link (PR #127442)

2025-02-16 Thread via cfe-commits
https://github.com/tianleliu updated https://github.com/llvm/llvm-project/pull/127442 >From ad4d2857220e5e5b31cd66a79eac7d8dca438864 Mon Sep 17 00:00:00 2001 From: tianleli Date: Mon, 17 Feb 2025 11:24:10 +0800 Subject: [PATCH 1/2] [SPGO][Driver] Add lto-sample-profile option for lld-link SPGO

[clang-tools-extra] [clangd] Enable parsing of forwarding functions in the preamble by default (PR #127359)

2025-02-16 Thread Haojian Wu via cfe-commits
https://github.com/hokein commented: The change looks good. We should be mindful of the potential performance regression due to this (1% increase in preamble size, as noted https://reviews.llvm.org/D124688#3483895). I’ll leave the final approval to @kadircet. https://github.com/llvm/llvm

[clang] Fixing the logic issue in TransformTypos::TransformDesignatedInitExpr… (PR #127211)

2025-02-16 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 approved this pull request. https://github.com/llvm/llvm-project/pull/127211 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] [Driver] Fix respecting libdir when locating flang runtime (PR #127345)

2025-02-16 Thread Michał Górny via cfe-commits
mgorny wrote: Sigh, looks like clang's driver is a mess around `lib`/`lib64` after all. So a proper solution would probably involve adding arch to the library name, and moving it into clang's resource directory. https://github.com/llvm/llvm-project/pull/127345 _

[clang] [HLSL] Implement the 'and' HLSL function (PR #127098)

2025-02-16 Thread Chris B via cfe-commits
@@ -2245,6 +2245,36 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { break; } + case Builtin::BI__builtin_hlsl_and: { +if (SemaRef.checkArgCount(TheCall, 2)) + return true; +if (CheckVectorElementCallArgs(&SemaRef, TheCal

[clang] [HLSL] Implement the 'and' HLSL function (PR #127098)

2025-02-16 Thread Chris B via cfe-commits
@@ -2245,6 +2245,36 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { break; } + case Builtin::BI__builtin_hlsl_and: { +if (SemaRef.checkArgCount(TheCall, 2)) + return true; +if (CheckVectorElementCallArgs(&SemaRef, TheCal

[clang] [HLSL] Implement the 'and' HLSL function (PR #127098)

2025-02-16 Thread Chris B via cfe-commits
https://github.com/llvm-beanz edited https://github.com/llvm/llvm-project/pull/127098 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL] Implement the 'and' HLSL function (PR #127098)

2025-02-16 Thread Chris B via cfe-commits
@@ -2245,6 +2245,36 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { break; } + case Builtin::BI__builtin_hlsl_and: { +if (SemaRef.checkArgCount(TheCall, 2)) + return true; +if (CheckVectorElementCallArgs(&SemaRef, TheCal

[clang] [clang] handle fp options in __builtin_convertvector (PR #125522)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr approved this pull request. https://github.com/llvm/llvm-project/pull/125522 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix const-ness of local primitive temporary (PR #127405)

2025-02-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/127405 This used to cause certain std::range tests in libc++ to be diagnosed as modifying a const-qualified field, because we set the IsConst flag to true unconditionally. Check the type instead. >From 81d9f2d55463f

[clang] [clang][bytecode] Fix const-ness of local primitive temporary (PR #127405)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes This used to cause certain std::range tests in libc++ to be diagnosed as modifying a const-qualified field, because we set the IsConst flag to true unconditionally. Check the type instead. --- Full diff: ht

[clang] [clang][analysis] Fix flaky clang/test/Analysis/live-stmts.cpp test (2nd attempt) (PR #127406)

2025-02-16 Thread Balazs Benics via cfe-commits
https://github.com/steakhal created https://github.com/llvm/llvm-project/pull/127406 In my previous attempt (#126913) of fixing the flaky case was on a good track when I used the begin locations as a stable ordering. However, I forgot to consider the case when the begin locations are the same

[clang] [clang][analysis] Fix flaky clang/test/Analysis/live-stmts.cpp test (2nd attempt) (PR #127406)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 @llvm/pr-subscribers-clang Author: Balazs Benics (steakhal) Changes In my previous attempt (#126913) of fixing the flaky case was on a good track when I used the begin locations as a stable ordering. However, I forgot to conside

[clang] [clang] [Driver] Fix respecting libdir when locating flang runtime (PR #127345)

2025-02-16 Thread Michał Górny via cfe-commits
mgorny wrote: Hmm, but thinking about it, it should probably grab the right libdir from some multilib config rather than the hardwired build-time value. https://github.com/llvm/llvm-project/pull/127345 ___ cfe-commits mailing list cfe-commits@lists.ll

[clang] Fixing the logic issue in TransformTypos::TransformDesignatedInitExpr… (PR #127211)

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

[clang] 552e465 - [Clang][NFCI] Fix a logic issue in TransformDesignatedInitExpr (#127211)

2025-02-16 Thread via cfe-commits
Author: GS-GOAT Date: 2025-02-16T21:34:56+08:00 New Revision: 552e4659d3f935b8896a1350856781417bcbdcde URL: https://github.com/llvm/llvm-project/commit/552e4659d3f935b8896a1350856781417bcbdcde DIFF: https://github.com/llvm/llvm-project/commit/552e4659d3f935b8896a1350856781417bcbdcde.diff LOG:

[clang] Fixing the logic issue in TransformTypos::TransformDesignatedInitExpr… (PR #127211)

2025-02-16 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 closed https://github.com/llvm/llvm-project/pull/127211 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Thread Safety Analysis: Handle address-of followed by dereference (PR #127397)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Marco Elver (melver) Changes Correctly analyze expressions where the address of a guarded variable is taken and immediately dereferenced, such as (*(type-specifier *)&x). Previously, such patterns would result in false negatives. --- Ful

[clang] Thread Safety Analysis: Handle address-of followed by dereference (PR #127397)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: Marco Elver (melver) Changes Correctly analyze expressions where the address of a guarded variable is taken and immediately dereferenced, such as (*(type-specifier *)&x). Previously, such patterns would result in false negatives.

[clang] Thread Safety Analysis: Support warning on passing/returning pointers to guarded variables (PR #127396)

2025-02-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Marco Elver (melver) Changes Introduce `-Wthread-safety-pointer` (under `-Wthread-safety-beta`) to warn when passing or returning pointers to guarded variables or guarded data. This is is analogous to `-Wthread-safety-reference`, which pe

<    1   2   3   >