[clang] [ExtractAPI] reorder the module names in extension symbol graph file names (PR #119925)

2024-12-13 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 91f5f974cb75309a94c9efc76238ef98abcf1582 506ac691d11e5658932f0f9388059f13407011cd --e

[clang] [ExtractAPI] reorder the module names in extension symbol graph file names (PR #119925)

2024-12-13 Thread via cfe-commits
https://github.com/QuietMisdreavus created https://github.com/llvm/llvm-project/pull/119925 Resolves rdar://140298287 ExtractAPI's support for printing Objective-C category extensions from other modules emits symbol graphs with an `extendedmod...@hostmodule.symbols.json`. However, this is bac

[clang] 2eed88d - [AArch64] Implement FP8 SVE intrinsics for fused multiply-add (#118126)

2024-12-13 Thread via cfe-commits
Author: Momchil Velikov Date: 2024-12-13T21:05:27Z New Revision: 2eed88da6a100216bf542e0c16762d336791876b URL: https://github.com/llvm/llvm-project/commit/2eed88da6a100216bf542e0c16762d336791876b DIFF: https://github.com/llvm/llvm-project/commit/2eed88da6a100216bf542e0c16762d336791876b.diff LO

[clang] 2244d2e - [OpenACC] Implement 'if_present' clause sema

2024-12-13 Thread via cfe-commits
Author: erichkeane Date: 2024-12-13T13:04:57-08:00 New Revision: 2244d2e75c50cdd4657ed6c488423790367e1347 URL: https://github.com/llvm/llvm-project/commit/2244d2e75c50cdd4657ed6c488423790367e1347 DIFF: https://github.com/llvm/llvm-project/commit/2244d2e75c50cdd4657ed6c488423790367e1347.diff LO

[clang] [llvm] [AArch64] Implement FP8 SVE intrinsics for fused multiply-add (PR #118126)

2024-12-13 Thread Momchil Velikov via cfe-commits
https://github.com/momchil-velikov closed https://github.com/llvm/llvm-project/pull/118126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ExtractAPI] reorder the module names in extension symbol graph file names (PR #119925)

2024-12-13 Thread via cfe-commits
https://github.com/QuietMisdreavus updated https://github.com/llvm/llvm-project/pull/119925 >From 1ab5e1c6d1dcf2bfbaa517bdb9d90f6007debce4 Mon Sep 17 00:00:00 2001 From: Vera Mitchell Date: Fri, 13 Dec 2024 13:47:18 -0700 Subject: [PATCH] reorder the module names in extension symbol graph file

[clang] [Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libraries. (PR #117475)

2024-12-13 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,20 @@ +// REQUIRES: host-supports-jit, x86_64-linux + +// RUN: rm -rf %t +// RUN: mkdir -p %t +// +// RUN: split-file %s %t +// +// RUN: %clang++ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o +// RUN: %clang++ -shared %t/vec.o -o %t/vec.so vgvassilev wrote

[clang] Revert "Switch builtin strings to use string tables" (PR #119638)

2024-12-13 Thread Chandler Carruth via cfe-commits
chandlerc wrote: > I'm going to bring out Windows buildbot back online that was failing so that > when you do submit the revert, the bot should go back to green. I am looking > into this and will get back to you on the original bug when I find something. So, the builder came back up, and is no

[clang] [clang] Recover necessary AddrSpaceCast (PR #119246)

2024-12-13 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: The function in question is part of the Itanium C++ ABI; the ABI itself doesn't say anything about address-spaces, so by default we assume everything related to the C++ ABI is in the flat address-space. If we start messing with that, we'll need to write a specification so

[clang] Fix lld link issue for OHOS (PR #118192)

2024-12-13 Thread Peng Huang via cfe-commits
phuang wrote: I am out of town this week. I will take a look when I return. https://github.com/llvm/llvm-project/pull/118192 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Index reserved symbols from `*intrin.h` system headers (PR #119735)

2024-12-13 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/119735 >From 04757e7d94ce5db11bb397accb0b1c0523d351ba Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Thu, 12 Dec 2024 12:15:32 -0600 Subject: [PATCH 1/2] [clangd] Index reserved symbols from `*intrin.h` system head

[clang] 003eb5e - [OpenACC] Implement 'finalize' clause sema

2024-12-13 Thread via cfe-commits
Author: erichkeane Date: 2024-12-13T10:41:02-08:00 New Revision: 003eb5e80d8c970c2ae7fcbaaebd52b32a61648d URL: https://github.com/llvm/llvm-project/commit/003eb5e80d8c970c2ae7fcbaaebd52b32a61648d DIFF: https://github.com/llvm/llvm-project/commit/003eb5e80d8c970c2ae7fcbaaebd52b32a61648d.diff LO

[clang] [llvm] [NVPTX] Auto-Upgrade some nvvm.annotations to attributes (PR #119261)

2024-12-13 Thread Joseph Huber via cfe-commits
@@ -1270,77 +1270,21 @@ exit: ; MODULE: attributes #[[ATTR1:[0-9]+]] = { convergent nocallback nounwind } ; MODULE: attributes #[[ATTR2:[0-9]+]] = { convergent nocallback nofree nounwind willreturn } ; MODULE: attributes #[[ATTR3:[0-9]+]] = { nocallback nofree nosync nounwind

[clang] 3351b3b - [OpenACC] implement 'detach' clause sema

2024-12-13 Thread via cfe-commits
Author: erichkeane Date: 2024-12-13T13:51:41-08:00 New Revision: 3351b3bf8dcb9aebfa6f491fcbe5a00acbcc3291 URL: https://github.com/llvm/llvm-project/commit/3351b3bf8dcb9aebfa6f491fcbe5a00acbcc3291 DIFF: https://github.com/llvm/llvm-project/commit/3351b3bf8dcb9aebfa6f491fcbe5a00acbcc3291.diff LO

[clang] [webkit.UncountedLambdaCapturesChecker] Add a fallback for checking lambda captures (PR #119800)

2024-12-13 Thread Ryosuke Niwa via cfe-commits
@@ -61,6 +62,24 @@ class UncountedLambdaCapturesChecker return result && *result; } + bool VisitLambdaExpr(LambdaExpr *L) override { +if (LambdasToIgnore.contains(L)) + return true; +Checker->visitLambdaExpr(L, shouldCheckThis()); +

[clang] [llvm] [NVPTX] Auto-Upgrade some nvvm.annotations to attributes (PR #119261)

2024-12-13 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 edited https://github.com/llvm/llvm-project/pull/119261 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NVPTX] Auto-Upgrade some nvvm.annotations to attributes (PR #119261)

2024-12-13 Thread Shilei Tian via cfe-commits
@@ -1270,77 +1270,21 @@ exit: ; MODULE: attributes #[[ATTR1:[0-9]+]] = { convergent nocallback nounwind } ; MODULE: attributes #[[ATTR2:[0-9]+]] = { convergent nocallback nofree nounwind willreturn } ; MODULE: attributes #[[ATTR3:[0-9]+]] = { nocallback nofree nosync nounwind

[clang] Fix double-quotes in diagnostic when attempting to access a ext_vector of bools (PR #118186)

2024-12-13 Thread William Tran-Viet via cfe-commits
https://github.com/smallp-o-p updated https://github.com/llvm/llvm-project/pull/118186 >From 3b7cf6e65bdfedf8d15e393c9c2f819c4ed70386 Mon Sep 17 00:00:00 2001 From: William Tran-Viet Date: Sat, 30 Nov 2024 15:53:32 -0500 Subject: [PATCH 1/3] Fix double-quotes in diagnostic when attempting to ac

[clang] Fix double-quotes in diagnostic when attempting to access a ext_vector of bools (PR #118186)

2024-12-13 Thread William Tran-Viet via cfe-commits
https://github.com/smallp-o-p edited https://github.com/llvm/llvm-project/pull/118186 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix double-quotes in diagnostic when attempting to access a ext_vector of bools (PR #118186)

2024-12-13 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 9edbe566bfaff6af03c309ebbb229e6e9a717de3 805195ccece41dfa2591e7652879b0ded0acc3e9 --e

[clang] Fix double-quotes in diagnostic when attempting to access a ext_vector of bools (PR #118186)

2024-12-13 Thread William Tran-Viet via cfe-commits
https://github.com/smallp-o-p updated https://github.com/llvm/llvm-project/pull/118186 >From 3b7cf6e65bdfedf8d15e393c9c2f819c4ed70386 Mon Sep 17 00:00:00 2001 From: William Tran-Viet Date: Sat, 30 Nov 2024 15:53:32 -0500 Subject: [PATCH 1/3] Fix double-quotes in diagnostic when attempting to ac

[clang] a6636ce - Revert "[clang][bytecode] Fix some shift edge cases (#119895)"

2024-12-13 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2024-12-14T06:28:12+01:00 New Revision: a6636ce4d124176856c3913d4bf6c3ceff1f5a1f URL: https://github.com/llvm/llvm-project/commit/a6636ce4d124176856c3913d4bf6c3ceff1f5a1f DIFF: https://github.com/llvm/llvm-project/commit/a6636ce4d124176856c3913d4bf6c3ceff1f5a1f.diff LO

[clang] [clang] Fix crashes when passing VLA to va_arg (PR #119563)

2024-12-13 Thread via cfe-commits
https://github.com/amane-ame updated https://github.com/llvm/llvm-project/pull/119563 From 659eda3ec76b63418f8b621b004728d9d7bf26ad Mon Sep 17 00:00:00 2001 From: amane-ame Date: Wed, 11 Dec 2024 22:17:51 +0800 Subject: [PATCH 1/7] [clang] Fix crashes when passing VLA to va_arg --- clang/lib/

[clang-tools-extra] [clang-tidy][doc] align the title style in clang-tidy/index.rst (PR #119938)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang-tools-extra` at step 7 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/9200

[clang] Revert "Switch builtin strings to use string tables" (PR #119638)

2024-12-13 Thread Chandler Carruth via cfe-commits
chandlerc wrote: Build bot with the issue is now online and failing as expected, merging this revert to get in green (we hope). https://github.com/llvm/llvm-project/pull/119638 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm

[clang] Switch builtin strings to use string tables (PR #118734)

2024-12-13 Thread Chandler Carruth via cfe-commits
chandlerc wrote: I see the build bot up and with the original failure, going to merge the revert to hopefully make sure it goes green after that. https://github.com/llvm/llvm-project/pull/118734 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] ca79ff0 - Revert "Switch builtin strings to use string tables" (#119638)

2024-12-13 Thread via cfe-commits
Author: Chandler Carruth Date: 2024-12-13T23:58:48-08:00 New Revision: ca79ff07d8ae7a0c2531bfdb1cb623e25e5bd486 URL: https://github.com/llvm/llvm-project/commit/ca79ff07d8ae7a0c2531bfdb1cb623e25e5bd486 DIFF: https://github.com/llvm/llvm-project/commit/ca79ff07d8ae7a0c2531bfdb1cb623e25e5bd486.di

[clang] Revert "Switch builtin strings to use string tables" (PR #119638)

2024-12-13 Thread Chandler Carruth via cfe-commits
https://github.com/chandlerc closed https://github.com/llvm/llvm-project/pull/119638 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "Switch builtin strings to use string tables" (PR #119638)

2024-12-13 Thread Chandler Carruth via cfe-commits
https://github.com/chandlerc edited https://github.com/llvm/llvm-project/pull/119638 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix double-quotes in diagnostic when attempting to access a ext_vector of bools (PR #118186)

2024-12-13 Thread William Tran-Viet via cfe-commits
https://github.com/smallp-o-p updated https://github.com/llvm/llvm-project/pull/118186 >From 3b7cf6e65bdfedf8d15e393c9c2f819c4ed70386 Mon Sep 17 00:00:00 2001 From: William Tran-Viet Date: Sat, 30 Nov 2024 15:53:32 -0500 Subject: [PATCH 1/3] Fix double-quotes in diagnostic when attempting to ac

[clang] 49c2207 - [clang][bytecode] Fix some shift edge cases (#119895)

2024-12-13 Thread via cfe-commits
Author: Timm Baeder Date: 2024-12-14T06:15:56+01:00 New Revision: 49c2207f21c0922aedb6c70471f8ea068977eb30 URL: https://github.com/llvm/llvm-project/commit/49c2207f21c0922aedb6c70471f8ea068977eb30 DIFF: https://github.com/llvm/llvm-project/commit/49c2207f21c0922aedb6c70471f8ea068977eb30.diff L

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/119895 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` running on `as-builder-2` while building `clang` at step 10 "test-check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/193/builds/3970 Here is the relevant piece of

[clang] [clang] Fix crashes when passing VLA to va_arg (PR #119563)

2024-12-13 Thread via cfe-commits
https://github.com/amane-ame updated https://github.com/llvm/llvm-project/pull/119563 From 659eda3ec76b63418f8b621b004728d9d7bf26ad Mon Sep 17 00:00:00 2001 From: amane-ame Date: Wed, 11 Dec 2024 22:17:51 +0800 Subject: [PATCH 1/7] [clang] Fix crashes when passing VLA to va_arg --- clang/lib/

[clang-tools-extra] [clang-tidy][doc] align the title style in clang-tidy/index.rst (PR #119938)

2024-12-13 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 updated https://github.com/llvm/llvm-project/pull/119938 >From 16ad345cbb84f4d58a0d2c64734d92de9e4efb56 Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Sat, 14 Dec 2024 08:09:40 +0800 Subject: [PATCH 1/2] [clang-tidy][doc] align the title style in clang-tidy/in

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-global-isel` running on `linaro-clang-aarch64-global-isel` while building `clang` at step 7 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/125/builds/4202 Here is the

[clang-tools-extra] [clang-tidy][doc] align the title style in clang-tidy/index.rst (PR #119938)

2024-12-13 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 closed https://github.com/llvm/llvm-project/pull/119938 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 2291e5a - [clang-tidy][doc] align the title style in clang-tidy/index.rst (#119938)

2024-12-13 Thread via cfe-commits
Author: Congcong Cai Date: 2024-12-14T14:00:44+08:00 New Revision: 2291e5aa45dc135a5f908032eb31d19ef3570114 URL: https://github.com/llvm/llvm-project/commit/2291e5aa45dc135a5f908032eb31d19ef3570114 DIFF: https://github.com/llvm/llvm-project/commit/2291e5aa45dc135a5f908032eb31d19ef3570114.diff

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-hwasan` running on `sanitizer-buildbot12` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/55/builds/4295 Here is the rel

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-ubsan` running on `sanitizer-buildbot10` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/85/builds/3323 Here is the rele

[clang] [AST] Migrate away from PointerUnion::get (NFC) (PR #119949)

2024-12-13 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/119949 Note that PointerUnion::get has been soft deprecated in PointerUnion.h: // FIXME: Replace the uses of is(), get() and dyn_cast() with //isa, cast and the llvm::dyn_cast >From 07399e5edcbd8ac

[clang] [AST] Migrate away from PointerUnion::get (NFC) (PR #119949)

2024-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes Note that PointerUnion::get has been soft deprecated in PointerUnion.h: // FIXME: Replace the uses of is(), get() and dyn_cast() with //isa, cast and the llvm::dyn_cast --- Full d

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-armv7-global-isel` running on `linaro-clang-armv7-global-isel` while building `clang` at step 7 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/39/builds/3378 Here is the relev

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-asan` running on `sanitizer-buildbot8` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/24/builds/3225 Here is the releva

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-msan` running on `sanitizer-buildbot10` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/94/builds/2858 Here is the relev

[clang] Switch builtin strings to use string tables (PR #118734)

2024-12-13 Thread Chandler Carruth via cfe-commits
chandlerc wrote: > That was a mistake. I originally was going to update the build bot to a later > version of Visual Studio as while it wouldn't match our internal > configuration, it was still useful to have some Windows coverage of the > components we build/test. I then changed my mind and w

[clang] [Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libraries. (PR #117475)

2024-12-13 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,20 @@ +// REQUIRES: host-supports-jit, x86_64-linux + +// RUN: rm -rf %t +// RUN: mkdir -p %t +// +// RUN: split-file %s %t +// +// RUN: %clang++ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o +// RUN: %clang++ -shared %t/vec.o -o %t/vec.so vgvassilev wrote

[clang] [Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libraries. (PR #117475)

2024-12-13 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: @SahilPatidar, could you help us with this? https://github.com/llvm/llvm-project/pull/117475 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libraries. (PR #117475)

2024-12-13 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev edited https://github.com/llvm/llvm-project/pull/117475 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/9344 Here is the relevant piec

[clang] [clang][bytecode] Fix some shift edge cases (PR #119895)

2024-12-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/9018 Here is the relevant piece of

[clang] Switch builtin strings to use string tables (PR #118734)

2024-12-13 Thread via cfe-commits
dyung wrote: > So, the builder came back up, and is now passing without this landing... > > Here is the first build after it came back up: > https://lab.llvm.org/buildbot/#/builders/46/builds/9173 > > And I went through the output and found a specific test that was failing, and > it seems to

[clang-tools-extra] [clang-tidy] remove misuse of `getLocalOrGlobal` for non common used options (PR #119948)

2024-12-13 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 created https://github.com/llvm/llvm-project/pull/119948 [RFC](https://discourse.llvm.org/t/rfc-global-option-rules-for-clang-tidy/83647) >From ee7b013a736d775ee1ea12eccce3224e23b743af Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Sat, 14 Dec 2024 14:19:04 +

[clang-tools-extra] [clang-tidy] remove misuse of `getLocalOrGlobal` for non common used options (PR #119948)

2024-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Congcong Cai (HerrCai0907) Changes [RFC](https://discourse.llvm.org/t/rfc-global-option-rules-for-clang-tidy/83647) --- Full diff: https://github.com/llvm/llvm-project/pull/119948.diff 7 Files Affected: - (modified) clang-

[clang] [llvm] [AArch64] Add intrinsics for SME FP8 FDOT single and multi instructions (PR #119845)

2024-12-13 Thread Jonathan Thackray via cfe-commits
https://github.com/jthackray edited https://github.com/llvm/llvm-project/pull/119845 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Add intrinsics for SME FP8 FDOT single and multi instructions (PR #119845)

2024-12-13 Thread Jonathan Thackray via cfe-commits
https://github.com/jthackray edited https://github.com/llvm/llvm-project/pull/119845 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Implement intrinsics for FMLAL/FMLALL (single) (PR #119568)

2024-12-13 Thread Jonathan Thackray via cfe-commits
https://github.com/jthackray approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/119568 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix SemaCXX/msvc-pragma-function-no-builtin-attr.cpp test (PR #119873)

2024-12-13 Thread Richard Dzenis via cfe-commits
DzenIsRich wrote: > I'm seeing this on Linux: ... Yes, the same problem. It should be fixed now. https://github.com/llvm/llvm-project/pull/119873 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[clang] [PS5][Driver] Pass user search paths to linker before implict ones (PR #119875)

2024-12-13 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd updated https://github.com/llvm/llvm-project/pull/119875 >From a089ea0865504e39fd93320504c6572c04be2b19 Mon Sep 17 00:00:00 2001 From: Edd Dawson Date: Fri, 13 Dec 2024 12:45:45 + Subject: [PATCH 1/2] [PS5][Driver] Pass user search paths to linker before

[clang] [llvm] [rtsan][llvm] Remove function pass, only support module pass (PR #119739)

2024-12-13 Thread Florian Mayer via cfe-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/119739 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix SemaCXX/msvc-pragma-function-no-builtin-attr.cpp test (PR #119873)

2024-12-13 Thread Richard Dzenis via cfe-commits
RIscRIpt wrote: This should fix https://lab.llvm.org/buildbot/#/builders/190/builds/11300 I am compiling clang locally to verify that there would be no other problems with the test on macOS. > I suppose this is the reason check-clang fails today. Are there other test failures related to 84b0

[clang] Fix SemaCXX/msvc-pragma-function-no-builtin-attr.cpp test (PR #119873)

2024-12-13 Thread Richard Dzenis via cfe-commits
RIscRIpt wrote: > I'm seeing this on Linux: ... Yes, the same problem. It should be fixed now. https://github.com/llvm/llvm-project/pull/119873 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/c

[clang] [analyzer][Z3] Restore the original timeout of 15s (PR #118291)

2024-12-13 Thread Kristóf Umann via cfe-commits
https://github.com/Szelethus closed https://github.com/llvm/llvm-project/pull/118291 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer][Z3] Restore the original timeout of 15s (PR #118291)

2024-12-13 Thread Kristóf Umann via cfe-commits
Szelethus wrote: Oh, I'm so sorry I left this as-is, thank you so much for picking up the slack! Yes, everything looks great! https://github.com/llvm/llvm-project/pull/118291 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.o

[clang] Fix lld link issue for OHOS (PR #118192)

2024-12-13 Thread Nico Weber via cfe-commits
nico wrote: This broke check-clang on my linux box: http://45.33.8.238/linux/155432/step_6.txt That bot uses the GN build – are there any prerequisite changes elsewhere that I need to port to it? https://github.com/llvm/llvm-project/pull/118192 ___

[clang] 9359625 - [OpenACC] 'create' clause sema for data/enter data constructs

2024-12-13 Thread via cfe-commits
Author: erichkeane Date: 2024-12-13T06:55:05-08:00 New Revision: 9359625ba99dfbce8d8c27373ade544df16bee34 URL: https://github.com/llvm/llvm-project/commit/9359625ba99dfbce8d8c27373ade544df16bee34 DIFF: https://github.com/llvm/llvm-project/commit/9359625ba99dfbce8d8c27373ade544df16bee34.diff LO

[clang] [clang][Driver][Darwin] Optionally use xcselect to find macOS SDK (PR #119670)

2024-12-13 Thread Carlo Cabrera via cfe-commits
https://github.com/carlocab updated https://github.com/llvm/llvm-project/pull/119670 >From 9db768ec1be84d6bf647b85f052776720822f64f Mon Sep 17 00:00:00 2001 From: Carlo Cabrera Date: Tue, 10 Dec 2024 01:45:22 +0800 Subject: [PATCH 1/5] [clang][Driver][Darwin] Optionally use xcselect to find ma

[clang] [llvm] [rtsan][llvm] Remove function pass, only support module pass (PR #119739)

2024-12-13 Thread Chris Apple via cfe-commits
https://github.com/cjappl closed https://github.com/llvm/llvm-project/pull/119739 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4a65861 - [rtsan][llvm] Remove function pass, only support module pass (#119739)

2024-12-13 Thread via cfe-commits
Author: Chris Apple Date: 2024-12-13T08:50:36-08:00 New Revision: 4a6586140211cc9aed02d9177dba0c01622139f4 URL: https://github.com/llvm/llvm-project/commit/4a6586140211cc9aed02d9177dba0c01622139f4 DIFF: https://github.com/llvm/llvm-project/commit/4a6586140211cc9aed02d9177dba0c01622139f4.diff L

[clang] [clang][Driver][Darwin] Optionally use xcselect to find macOS SDK (PR #119670)

2024-12-13 Thread Carlo Cabrera via cfe-commits
carlocab wrote: > Need to add test. You should add `CLANG_USE_XCSELECT` as a requirement and > label all the tests properly (including those will break). Maybe you can also > remove the hack for `CLANG_NO_XCSELECT` but I am neutral on that. All done, thanks. I don't quite understand why the f

[clang] [clang][Driver][Darwin] Optionally use xcselect to find macOS SDK (PR #119670)

2024-12-13 Thread Carlo Cabrera via cfe-commits
carlocab wrote: > I don't quite understand why the failing tests are caused to fail when > `CLANG_USE_XCSELECT` is enabled. I'll have to put more time into > investigating them -- I consider this another blocker for enabling this > feature more widely. I think the issue is that the implicit `

[clang-tools-extra] [clang-tidy][NFC][doc] clean out-dated clang-static-analyzer checks documents and update check list (PR #119887)

2024-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Congcong Cai (HerrCai0907) Changes The missing part of #119580 --- Full diff: https://github.com/llvm/llvm-project/pull/119887.diff 6 Files Affected: - (modified) clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.P

[clang] [llvm] [AMDGPU][True16][MC] true16 for v_alignbyte_b32 (PR #119750)

2024-12-13 Thread Brox Chen via cfe-commits
https://github.com/broxigarchen updated https://github.com/llvm/llvm-project/pull/119750 >From de5e3b1233f6112c2f069dc9d7e02cb19283ee70 Mon Sep 17 00:00:00 2001 From: guochen2 Date: Thu, 12 Dec 2024 13:33:14 -0500 Subject: [PATCH] True16 for v_alignbyte_b32 in MC --- clang/lib/CodeGen/CGBuilt

[clang] [llvm] Add scheduling model for mips p8700 CPU (PR #119885)

2024-12-13 Thread Djordje Todorovic via cfe-commits
https://github.com/djtodoro created https://github.com/llvm/llvm-project/pull/119885 Depends on https://github.com/llvm/llvm-project/pull/119882. >From 6e17be47f6a36f417547d9bff2f31b8c421ee03b Mon Sep 17 00:00:00 2001 From: Djordje Todorovic Date: Mon, 9 Dec 2024 13:01:11 +0100 Subject: [PATCH

[clang] [llvm] [RISC-V] Add support for MIPS P8700 CPU (PR #117865)

2024-12-13 Thread Djordje Todorovic via cfe-commits
@@ -252,9 +252,17 @@ static const char *getLDMOption(const llvm::Triple &T, const ArgList &Args) { case llvm::Triple::ppc64le: return "elf64lppc"; case llvm::Triple::riscv32: -return "elf32lriscv"; - case llvm::Triple::riscv64: -return "elf64lriscv"; + case l

[clang] [llvm] [RISCV] Add scheduling model for mips p8700 CPU (PR #119885)

2024-12-13 Thread Djordje Todorovic via cfe-commits
https://github.com/djtodoro edited https://github.com/llvm/llvm-project/pull/119885 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Index reserved symbols from `*intrin.h` system headers (PR #119735)

2024-12-13 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/119735 >From 04757e7d94ce5db11bb397accb0b1c0523d351ba Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Thu, 12 Dec 2024 12:15:32 -0600 Subject: [PATCH 1/2] [clangd] Index reserved symbols from `*intrin.h` system head

[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

2024-12-13 Thread Carlos Galvez via cfe-commits
carlosgalvezp wrote: I think the confusion comes from calling these "Global Options". They are not global, they "exist in multiple checks", however they can (and probably should) change independently of each other. My understanding is that the scope of this NFC patch is to DRY the documentatio

[clang] [clang-tools-extra] [llvm] [MTE] Apply alignment / size in AsmPrinter rather than IR (PR #111918)

2024-12-13 Thread Florian Mayer via cfe-commits
https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/111918 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-commits

[clang] [clang-tools-extra] [llvm] [MTE] Apply alignment / size in AsmPrinter rather than IR (PR #111918)

2024-12-13 Thread Florian Mayer via cfe-commits
@@ -2406,12 +2406,55 @@ void AsmPrinter::emitRemarksSection(remarks::RemarkStreamer &RS) { OutStreamer->emitBinaryData(Buf); } +static void tagGlobalDefinition(Module &M, GlobalVariable *G) { + Constant *Initializer = G->getInitializer(); + uint64_t SizeInBytes = + M

[clang] 1da0730 - [OpenACC] enable 'copyout' clause sema for data constructs

2024-12-13 Thread via cfe-commits
Author: erichkeane Date: 2024-12-13T07:50:29-08:00 New Revision: 1da0730ba5994537119ed61205a599cb3929c43a URL: https://github.com/llvm/llvm-project/commit/1da0730ba5994537119ed61205a599cb3929c43a DIFF: https://github.com/llvm/llvm-project/commit/1da0730ba5994537119ed61205a599cb3929c43a.diff LO

[clang] [llvm] [AMDGPU][True16][MC] true16 for v_alignbyte_b32 (PR #119750)

2024-12-13 Thread Brox Chen via cfe-commits
https://github.com/broxigarchen updated https://github.com/llvm/llvm-project/pull/119750 >From dc1cc19d8d3cb2c41ca05a131f67bb576effb614 Mon Sep 17 00:00:00 2001 From: guochen2 Date: Thu, 12 Dec 2024 13:33:14 -0500 Subject: [PATCH] True16 for v_alignbyte_b32 in MC --- clang/lib/CodeGen/CGBuilt

[clang] [llvm] [OpenMP] Add support for '#pragma omp stripe'. (PR #119891)

2024-12-13 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff bc28be0a428020ea803c94adb4df48ee4972e9f1 378bc7a1929930b5741b5ed2d37895d439b2c9e7 --e

[clang-tools-extra] [clangd] Index reserved symbols from `*intrin.h` system headers (PR #119735)

2024-12-13 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/119735 >From 04757e7d94ce5db11bb397accb0b1c0523d351ba Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Thu, 12 Dec 2024 12:15:32 -0600 Subject: [PATCH 1/2] [clangd] Index reserved symbols from `*intrin.h` system head

[clang-tools-extra] 1cc7119 - [clang-tidy][NFC][doc] clean out-dated clang-static-analyzer checks documents and update check list (#119887)

2024-12-13 Thread via cfe-commits
Author: Congcong Cai Date: 2024-12-13T23:04:05+08:00 New Revision: 1cc71197550b92fc23624d81f2474244772bfcfb URL: https://github.com/llvm/llvm-project/commit/1cc71197550b92fc23624d81f2474244772bfcfb DIFF: https://github.com/llvm/llvm-project/commit/1cc71197550b92fc23624d81f2474244772bfcfb.diff

[clang-tools-extra] [clang-tidy][NFC][doc] clean out-dated clang-static-analyzer checks documents and update check list (PR #119887)

2024-12-13 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 closed https://github.com/llvm/llvm-project/pull/119887 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Driver] Fix triple config loading for clang-cl (PR #111397)

2024-12-13 Thread Hans Wennborg via cfe-commits
@@ -1286,6 +1299,16 @@ Compilation *Driver::BuildCompilation(ArrayRef ArgList) { appendOneArg(Args, Opt, nullptr); } } + +// The config file may have changed the architecture so apply it. +if (HasConfigFile && Args.hasArg(options::OPT__SLASH_arm64E

[clang] [clang][Driver] Fix triple config loading for clang-cl (PR #111397)

2024-12-13 Thread Hans Wennborg via cfe-commits
@@ -1247,6 +1247,19 @@ Compilation *Driver::BuildCompilation(ArrayRef ArgList) { CLOptions = std::make_unique( ParseArgStrings(ArgList.slice(1), /*UseDriverMode=*/true, ContainsError)); + // We want to determine the triple early so that we load the correct config. +

[clang] [clang][Driver] Fix triple config loading for clang-cl (PR #111397)

2024-12-13 Thread Hans Wennborg via cfe-commits
zmodem wrote: > You don't need to use config files with `clang-cl` to need this patch -- you > need it if you use triple-based config files and also use `clang-cl`. The > issue is that if you have, for example, a `x86_64-unknown-linux-gnu.cfg` in a > location that `clang` loads by default, the

[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

2024-12-13 Thread Carlos Galvez via cfe-commits
@@ -0,0 +1,21 @@ +== +Global Options +== + +Some options apply to multiple checks. This page lists all the available +globally options. + +.. option:: IncludeStyle + + A string specifying which include-style is used, `llvm` or `google`. Default + is `ll

[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

2024-12-13 Thread Carlos Galvez via cfe-commits
@@ -0,0 +1,21 @@ +== +Global Options +== + +Some options apply to multiple checks. This page lists all the available +globally options. + +.. option:: IncludeStyle + + A string specifying which include-style is used, `llvm` or `google`. Default + is `ll

[clang] [llvm] [rtsan][llvm] Remove function pass, only support module pass (PR #119739)

2024-12-13 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/119739 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

2024-12-13 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 edited https://github.com/llvm/llvm-project/pull/119842 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

2024-12-13 Thread Congcong Cai via cfe-commits
@@ -0,0 +1,21 @@ +== +Global Options +== + +Some options apply to multiple checks. This page lists all the available +globally options. + +.. option:: IncludeStyle + + A string specifying which include-style is used, `llvm` or `google`. Default + is `ll

[clang] [llvm] [BoundsChecking] Add parameters to pass (PR #119894)

2024-12-13 Thread Vitaly Buka via cfe-commits
@@ -1286,6 +1286,33 @@ Expected parseRtSanPassOptions(StringRef Params) { return Result; } +Expected +parseBoundsCheckingOptions(StringRef Params) { + BoundsCheckingPass::ReportingMode Mode = + BoundsCheckingPass::ReportingMode::Trap; + while (!Params.empty()) { +

[clang] [clang][transformer] Allow usage of applyFirst with rewriteDescendants (PR #117658)

2024-12-13 Thread Yitzhak Mandelbaum via cfe-commits
ymand wrote: > Without these changes a clash appears between a Tag, which is bound to > enclosing match, and a Tag, which is associated with first Case of applyFirst > in rewriteDescendands. Can you expand on your concern about the clash? Your approach of using the matcher ID seems like an im

[clang-tools-extra] [NFC] Fixes for issues found by static analysis tool. (PR #119741)

2024-12-13 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam closed https://github.com/llvm/llvm-project/pull/119741 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

2024-12-13 Thread Congcong Cai via cfe-commits
HerrCai0907 wrote: but in code level, we already use the getLocalOrGlobal. but unfortunately, i don't find any description about it. we should have the relative clean map between what we did in code and what we write in doc. Those three options is not from my personal preferences. they are from

[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

2024-12-13 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 updated https://github.com/llvm/llvm-project/pull/119842 >From efe9cd9e78988a531dfbb6387691819ec5c18ac3 Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Thu, 12 Dec 2024 00:30:25 +0800 Subject: [PATCH 1/2] [clang-tidy][doc][NFC] extract common global options in

[clang] [PS5][Driver] Pass user search paths to linker before implict ones (PR #119875)

2024-12-13 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd created https://github.com/llvm/llvm-project/pull/119875 Responsibility for setting up implicit library search paths was recently transferred to the PS5 driver (llvm#109796). Prior to this, SIE private patches in lld performed this function. During the transi

<    1   2   3   4   5   >