[clang] [Format] Remove unused includes (NFC) (PR #142296)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142296 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [clang] NFC: new tests and some cleanups on existing ones (PR #142293)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls-2stage` running on `linaro-g3-04` while building `clang` at step 12 "ninja check 2". Full details are available at: https://lab.llvm.org/buildbot/#/builders/4/builds/7116 Here is the relevant piece of

[clang] [clang] NFC: new tests and some cleanups on existing ones (PR #142293)

2025-05-31 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/9533 Here is the releva

[clang] [flang] [mlir] [flang] Add support for -mrecip[=] (PR #142172)

2025-05-31 Thread Tarun Prabhu via cfe-commits
tarunprabhu wrote: > > LGTM, though, I think we'd better reuse the code from `Clang.cpp`. > > `flangFrontend` already depends on `clangDriver`, so we just need to export > > `ParseMRecip` and `getRefinementStep` from `clangDriver` (and probably > > replace their `Driver` argument with a `Diagn

[clang] [Basic] Remove unused includes (NFC) (PR #142295)

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

[clang] cd9fe8a - [Basic] Remove unused includes (NFC) (#142295)

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

[clang] dfaa662 - [Format] Remove unused includes (NFC) (#142296)

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

[clang] [flang] [llvm] Add IR Profile-Guided Optimization (IR PGO) support to the Flang compiler (PR #136098)

2025-05-31 Thread via cfe-commits
fanju110 wrote: > @fanju110 > > The PR caused some buildbot failures, so I have > [reverted](https://github.com/llvm/llvm-project/commit/597340b5b666bdee2887f56c111407b6737cbf34) > it. You can see the error > [here](https://lab.llvm.org/buildbot/#/builders/203/builds/12089/steps/7/logs/stdio)

[clang] [Tooling] Remove unused includes (NFC) (PR #142257)

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

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-05-31 Thread Samarth Narang via cfe-commits
https://github.com/snarang181 created https://github.com/llvm/llvm-project/pull/142273 None >From 725dd21adcd2f776b2e6adc648e3038812059bf3 Mon Sep 17 00:00:00 2001 From: Samarth Narang Date: Sat, 31 May 2025 10:05:52 -0400 Subject: [PATCH 1/2] [clang-doc] Refactor CommentInfo.Kind to use Comme

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-05-31 Thread Samarth Narang via cfe-commits
https://github.com/snarang181 edited https://github.com/llvm/llvm-project/pull/142273 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Format] Remove unused includes (NFC) (PR #142296)

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

[clang] [Format] Remove unused includes (NFC) (PR #142296)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running on `aix-ppc64` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/64/builds/3971 Here is the relevant piece

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-05-31 Thread Samarth Narang via cfe-commits
https://github.com/snarang181 updated https://github.com/llvm/llvm-project/pull/142273 >From 725dd21adcd2f776b2e6adc648e3038812059bf3 Mon Sep 17 00:00:00 2001 From: Samarth Narang Date: Sat, 31 May 2025 10:05:52 -0400 Subject: [PATCH 1/4] [clang-doc] Refactor CommentInfo.Kind to use CommentKind

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Samarth Narang (snarang181) Changes Implements https://github.com/llvm/llvm-project/issues/142272 --- Patch is 51.90 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/142273.diff 17

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-05-31 Thread Samarth Narang via cfe-commits
https://github.com/snarang181 ready_for_review https://github.com/llvm/llvm-project/pull/142273 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 99d7811bae6bea8c999e99f69a1cffe380d33cd2 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- ..

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From b891619af5593ac6de9b35b20e1f06ceda1fd34f Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From cd3e962b858262b4c27851f2e871d92337733d3c Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

2025-05-31 Thread Björn Schäpers via cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/142251 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-05-31 Thread Samarth Narang via cfe-commits
snarang181 wrote: @ilovepi, would be great to get your review here. https://github.com/llvm/llvm-project/pull/142273 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-05-31 Thread Samarth Narang via cfe-commits
https://github.com/snarang181 updated https://github.com/llvm/llvm-project/pull/142273 >From 725dd21adcd2f776b2e6adc648e3038812059bf3 Mon Sep 17 00:00:00 2001 From: Samarth Narang Date: Sat, 31 May 2025 10:05:52 -0400 Subject: [PATCH 1/5] [clang-doc] Refactor CommentInfo.Kind to use CommentKind

[clang-tools-extra] [clang-doc] add tags to Mustache namespace template (PR #142045)

2025-05-31 Thread via cfe-commits
PeterChou1 wrote: > > I cannibalized the tags from class-template.mustache. By happy accident, I > > realized that there is an `extractScopeChildren` so enums can be generated, > > which means the placeholders in `generateDocForInfo` (the `OS << > > "IT_enum\n"` part) can be filled in if the l

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 8f9a8d69ccce5fd674bba7d6f927c53587403534 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [CIR] [NFC] Update CHECK pattern to use regex for new def of RV (PR #142218)

2025-05-31 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/142218 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR][NFC] Upstream VectorType support in helper function (PR #142222)

2025-05-31 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/14 >From 77d3586fede008cf24e25d7bf30c73049de893b8 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 31 May 2025 01:47:16 +0200 Subject: [PATCH 1/2] [CIR][NFC] Upstream VectorType support in helper functio

[clang] [clang] Fix bad error recovery when classes are defined inside template (PR #142278)

2025-05-31 Thread Artyom Zabroda via cfe-commits
https://github.com/ArtyomZabroda created https://github.com/llvm/llvm-project/pull/142278 Fixes #91564 This is my first pull request to the LLVM and I would appreciate any feedback. >From 6fc280bb5583ee4f1713cb1447b8b86993b7abb7 Mon Sep 17 00:00:00 2001 From: Artyom Zabroda Date: Sat, 31 May

[clang] [clang] Fix bad error recovery when classes are defined inside template (PR #142278)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Artyom Zabroda (ArtyomZabroda) Changes Fixes #91564 This is my first pull request to the LLVM and I would appreciate any feedback. --- Full diff: https://github.com/llvm/llvm-project/pull/142278.diff 3 Files Affected: - (modified) clan

[clang] [clang] Fix bad error recovery when classes are defined inside template (PR #142278)

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

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 8437b1710a1a66cb32b74eed264cd92ceee5e06a Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [CIR][NFC] Upstream VectorType support in helper function (PR #142222)

2025-05-31 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/14 >From 77d3586fede008cf24e25d7bf30c73049de893b8 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 31 May 2025 01:47:16 +0200 Subject: [PATCH 1/2] [CIR][NFC] Upstream VectorType support in helper functio

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fix #142178 --- Full diff: https://github.com/llvm/llvm-project/pull/142251.diff 2 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.cpp (+6-1) - (modified) clang/unittests/Format/TokenAnnota

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

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

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-05-31 Thread via cfe-commits
https://github.com/yronglin ready_for_review https://github.com/llvm/llvm-project/pull/107168 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream global initialization for ComplexType (PR #141369)

2025-05-31 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/141369 >From 0e67bfe468c5f543b19de7c02473dc01626d777c Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 24 May 2025 14:18:06 +0200 Subject: [PATCH 1/8] [CIR] Upstream global initialization for ComplexType --

[clang] [CIR][NFC] Upstream VectorType support in helper function (PR #142222)

2025-05-31 Thread Henrich Lauko via cfe-commits
xlauko wrote: This partially ports my changes from https://github.com/llvm/clangir/pull/1626 I was originally waiting for other vector stuff to get merged so we don't conflict. Can you please mirror everything that is applicable from that PR? https://github.com/llvm/llvm-project/pull/14 __

[clang] 6f7268e - [Clang] Improve infrastructure for libstdc++ workarounds (#141977)

2025-05-31 Thread via cfe-commits
Author: cor3ntin Date: 2025-05-31T12:26:49+02:00 New Revision: 6f7268e204ed0a2c014324828e0582d90e8fcd04 URL: https://github.com/llvm/llvm-project/commit/6f7268e204ed0a2c014324828e0582d90e8fcd04 DIFF: https://github.com/llvm/llvm-project/commit/6f7268e204ed0a2c014324828e0582d90e8fcd04.diff LOG:

[clang] [Clang] Improve infrastructure for libstdc++ workarounds (PR #141977)

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

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 9d2139cc981253324dd42cbcdb4b27a5a8efe416 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- ..

[clang] [clang][Sema] Optimize ~SemaDiagnosticBuilder (PR #142252)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-riscv-rva23-evl-vec-2stage` running on `rise-clang-riscv-rva23-evl-vec-2stage` while building `clang` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/132/builds/1299 Here

[clang] 0adf6e8 - Work around a build issue with MSVC; NFC (#142195)

2025-05-31 Thread via cfe-commits
Author: Aaron Ballman Date: 2025-05-31T08:35:26-04:00 New Revision: 0adf6e8d332c71e5feda3bd22bb6695dc8fcbf5e URL: https://github.com/llvm/llvm-project/commit/0adf6e8d332c71e5feda3bd22bb6695dc8fcbf5e DIFF: https://github.com/llvm/llvm-project/commit/0adf6e8d332c71e5feda3bd22bb6695dc8fcbf5e.diff

[clang] Work around a build issue with MSVC; NFC (PR #142195)

2025-05-31 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman closed https://github.com/llvm/llvm-project/pull/142195 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From db5f428b930292fd2dba245ce8b3b3a90128d678 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [CIR] Upstream ShuffleOp for VectorType (PR #142288)

2025-05-31 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/142288 This change adds support for the Shuffle op for VectorType Issue https://github.com/llvm/llvm-project/issues/136487 >From 1080f1cb13950b3fbeb1536227ee61e2ade9eac7 Mon Sep 17 00:00:00 2001 From: AmrDevelope

[clang] [CIR] Upstream ShuffleOp for VectorType (PR #142288)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Amr Hesham (AmrDeveloper) Changes This change adds support for the Shuffle op for VectorType Issue https://github.com/llvm/llvm-project/issues/136487 --- Full diff: https://github.com/llvm/llvm-project/pull/142288.diff 8 Files Affected:

[clang] [CIR] Upstream ShuffleOp for VectorType (PR #142288)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Amr Hesham (AmrDeveloper) Changes This change adds support for the Shuffle op for VectorType Issue https://github.com/llvm/llvm-project/issues/136487 --- Full diff: https://github.com/llvm/llvm-project/pull/142288.diff 8 Files Affecte

[clang] [CIR] Upstream ShuffleOp for VectorType (PR #142288)

2025-05-31 Thread Amr Hesham via cfe-commits
AmrDeveloper wrote: Notes: - The folder will be in the follow-up PR. - As far as I understand, they must be the same size, and I think this part of the Op description in the incubator is not fully correct. Is that correct? `The size of the result vector does not have to match the size of the

[clang] [CIR] Upstream ShuffleOp for VectorType (PR #142288)

2025-05-31 Thread Amr Hesham via cfe-commits
AmrDeveloper wrote: @xlauko I moved the argument Constraints to use ` TypedArrayAttrBase` and removed the check for indices from the verifier, not sure if there is a better way to do that, if not I will update it in the incubator too :D. https://github.com/llvm/llvm-project/blob/1080f1cb13950b

[clang] [clang] NFC: new tests and some cleanups on existing ones (PR #142293)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Matheus Izvekov (mizvekov) Changes This offloads some test changes from another PR in order to facilitate review. - Adds some new tests. - Cleans stray spaces and newlines on existing tests. - Regenerates some AST json dumps, as the genera

[clang] 2c855e6 - [Tooling] Remove unused includes (NFC) (#142257)

2025-05-31 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-05-31T15:03:56-07:00 New Revision: 2c855e629c9b56830d41fcc81e511e4361323d3b URL: https://github.com/llvm/llvm-project/commit/2c855e629c9b56830d41fcc81e511e4361323d3b DIFF: https://github.com/llvm/llvm-project/commit/2c855e629c9b56830d41fcc81e511e4361323d3b.diff L

[clang] 52e3b10 - [Frontend] Remove unused includes (NFC) (#142256)

2025-05-31 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-05-31T15:03:52-07:00 New Revision: 52e3b100d4ed695af47cb08e756b30950af52d6a URL: https://github.com/llvm/llvm-project/commit/52e3b100d4ed695af47cb08e756b30950af52d6a DIFF: https://github.com/llvm/llvm-project/commit/52e3b100d4ed695af47cb08e756b30950af52d6a.diff L

[clang] bbb3d21 - [Analysis] Remove unused includes (NFC) (#142255)

2025-05-31 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-05-31T15:03:49-07:00 New Revision: bbb3d2177485ea4e182c369663e68f790881f557 URL: https://github.com/llvm/llvm-project/commit/bbb3d2177485ea4e182c369663e68f790881f557 DIFF: https://github.com/llvm/llvm-project/commit/bbb3d2177485ea4e182c369663e68f790881f557.diff L

[clang] [Analysis] Remove unused includes (NFC) (PR #142255)

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

[clang] [Tooling] Remove unused includes (NFC) (PR #142257)

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

[clang] [Frontend] Remove unused includes (NFC) (PR #142256)

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

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 77641f88c5047c990df649658b6bd5fba0d395cd Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- ..

[clang] [clang] NFC: new tests and some cleanups on existing ones (PR #142293)

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

[clang] [clang] NFC: new tests and some cleanups on existing ones (PR #142293)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` running on `clang-debian-cpp20` while building `clang` at step 2 "checkout". Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/13539 Here is the relevant piece of the buil

[clang] [Basic] Remove unused includes (NFC) (PR #142295)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142295 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Basic] Remove unused includes (NFC) (PR #142295)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-hexagon Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which

[clang] [Format] Remove unused includes (NFC) (PR #142296)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or comp

[clang] [Basic] Remove unused includes (NFC) (PR #142295)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or com

[clang] [Format] Remove unused includes (NFC) (PR #142296)

2025-05-31 Thread Shilei Tian via cfe-commits
https://github.com/shiltian approved this pull request. LGTM as long as it builds successfully. I tried something similar in a few files before, but it ended up breaking the build, so I gave up. :-) https://github.com/llvm/llvm-project/pull/142296 ___

[clang] [Basic] Remove unused includes (NFC) (PR #142295)

2025-05-31 Thread Shilei Tian via cfe-commits
https://github.com/shiltian approved this pull request. LGTM as long as it doesn't break the build. https://github.com/llvm/llvm-project/pull/142295 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[clang] [CIR][NFC] Upstream VectorType support in helper function (PR #142222)

2025-05-31 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/14 >From 77d3586fede008cf24e25d7bf30c73049de893b8 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 31 May 2025 01:47:16 +0200 Subject: [PATCH] [CIR][NFC] Upstream VectorType support in helper function -

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-05-31 Thread via cfe-commits
https://github.com/yronglin converted_to_draft https://github.com/llvm/llvm-project/pull/107168 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] Fix bug in builtin AS override (PR #138141)

2025-05-31 Thread Shilei Tian via cfe-commits
shiltian wrote: Why did we have `t` in some of the builtins in the first place… https://github.com/llvm/llvm-project/pull/138141 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

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

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (yronglin) Changes Implement [P1857R3 Modules Dependency Discovery](https://wg21.link/p1857r3). - Handle C++ module and import directive like other preprocessor directive. At the start of phase 4 an import or module token is treated

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: None (yronglin) Changes Implement [P1857R3 Modules Dependency Discovery](https://wg21.link/p1857r3). - Handle C++ module and import directive like other preprocessor directive. At the start of phase 4 an import or module token is

[clang] [clang][Sema] Optimize ~SemaDiagnosticBuilder (PR #142252)

2025-05-31 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. https://github.com/llvm/llvm-project/pull/142252 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libcxx] [clang] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

2025-05-31 Thread via cfe-commits
@@ -2327,6 +2327,25 @@ Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID, } case Builtin::BI__builtin_launder: return SemaBuiltinLaunder(*this, TheCall); + case Builtin::BI__builtin_clear_padding: { +const Expr *PtrArg = TheCall->getArg(0)->Ig

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 11045937b4fae2f733836177af00b0bb39965d1f Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [clang] Fix bad error recovery when classes are defined inside template (PR #142278)

2025-05-31 Thread Matheus Izvekov via cfe-commits
@@ -220,6 +220,14 @@ static ExprResult EvaluateAtomicConstraint( if (Inst.isInvalid()) return ExprError(); +if (const TemplateTypeParmType *TTPT = + dyn_cast(AtomicExpr->getType().getDesugaredType(S.Context))) { + TemplateTypeParmDecl *TTPD = TTPT->

[clang] [Clang] Improve infrastructure for libstdc++ workarounds (PR #141977)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `clang` at step 11 "ninja check 2". Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/10091 Here is t

[clang] [Clang] Improve infrastructure for libstdc++ workarounds (PR #141977)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running on `aix-ppc64` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/64/builds/3958 Here is the relevant piece

[clang] [flang] [mlir] [flang] Add support for -mprefer-vector-width= (PR #142073)

2025-05-31 Thread Cameron McInally via cfe-commits
mcinally wrote: PR #142269 for PPC buildbot fix. https://github.com/llvm/llvm-project/pull/142073 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [mlir] [flang] Add support for -mrecip[=] (PR #142172)

2025-05-31 Thread Cameron McInally via cfe-commits
mcinally wrote: > LGTM, though, I think we'd better reuse the code from `Clang.cpp`. > `flangFrontend` already depends on `clangDriver`, so we just need to export > `ParseMRecip` and `getRefinementStep` from `clangDriver` (and probably > replace their `Driver` argument with a `DiagnosticEngine

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 998b8a9ecfd2482b1d18668e2b88066bb944b30e Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] b967561 - [clang][Sema] Optimize ~SemaDiagnosticBuilder (#142252)

2025-05-31 Thread via cfe-commits
Author: Timm Baeder Date: 2025-05-31T19:59:55+02:00 New Revision: b9675617af25d674b6f1e22c1ffeb6ae926b0e14 URL: https://github.com/llvm/llvm-project/commit/b9675617af25d674b6f1e22c1ffeb6ae926b0e14 DIFF: https://github.com/llvm/llvm-project/commit/b9675617af25d674b6f1e22c1ffeb6ae926b0e14.diff L

[clang] [clang][Sema] Optimize ~SemaDiagnosticBuilder (PR #142252)

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

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From db4a85ba344eff75343828e63e9351156e296eaf Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] 29f79ea - [clang-format] Handle token-pasted function decl names (#142251)

2025-05-31 Thread via cfe-commits
Author: Owen Pan Date: 2025-05-31T11:11:00-07:00 New Revision: 29f79ea3c59649f7686a09845665660c25ca3f9b URL: https://github.com/llvm/llvm-project/commit/29f79ea3c59649f7686a09845665660c25ca3f9b DIFF: https://github.com/llvm/llvm-project/commit/29f79ea3c59649f7686a09845665660c25ca3f9b.diff LOG:

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-31 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 50e590fb2ce03c68d9f49dcf64d0e0d82b758bc9 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- ..

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

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

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

2025-05-31 Thread Owen Pan via cfe-commits
owenca wrote: /cherry-pick 29f79ea3c59649f7686a09845665660c25ca3f9b https://github.com/llvm/llvm-project/pull/142251 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Improve infrastructure for libstdc++ workarounds (PR #141977)

2025-05-31 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/141977 >From 13fdc4b4d169ecc711586f471e1742ccc3a21292 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Thu, 29 May 2025 18:28:57 +0200 Subject: [PATCH 1/4] [Clang] Improve infrastructure for libstdc++ workarounds

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

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

[clang] WIP: [clang] MicrosoftCXXABI: Serialize the exception copy constructor table in the AST (PR #114075)

2025-05-31 Thread Andrey Glebov via cfe-commits
https://github.com/glebov-andrey updated https://github.com/llvm/llvm-project/pull/114075 >From 4698bff9789ee73a2161f49ba509b0ce705ec49f Mon Sep 17 00:00:00 2001 From: Andrey Glebov Date: Mon, 28 Oct 2024 00:02:51 +0300 Subject: [PATCH] [clang] MicrosoftCXXABI: restore the RecordToCopyCtor tabl

[clang] WIP: [clang] MicrosoftCXXABI: Serialize the exception copy constructor table in the AST (PR #114075)

2025-05-31 Thread Andrey Glebov via cfe-commits
glebov-andrey wrote: (Ping) I just squashed and rebased onto `main`. Is there any possibility of getting this into Clang 21? https://github.com/llvm/llvm-project/pull/114075 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org

[clang] [Clang] Improve infrastructure for libstdc++ workarounds (PR #141977)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while building `clang` at step 13 "test-build-stage2-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/b

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

2025-05-31 Thread Owen Pan via cfe-commits
https://github.com/owenca milestoned https://github.com/llvm/llvm-project/pull/142251 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Sema] Optimize ~SemaDiagnosticBuilder (PR #142252)

2025-05-31 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `publish-sphinx-docs` running on `as-worker-4` while building `clang` at step 10 "Publish docs-lldb-html". Full details are available at: https://lab.llvm.org/buildbot/#/builders/45/builds/12825 Here is the relevant piece of

[clang] [flang] [flang][driver] Introduce FCC_OVERRIDE_OPTIONS. (PR #140556)

2025-05-31 Thread Fangrui Song via cfe-commits
@@ -614,3 +614,30 @@ nvfortran defines `-fast` as - `-Mcache_align`: there is no equivalent flag in Flang or Clang. - `-Mflushz`: flush-to-zero mode - when `-ffast-math` is specified, Flang will link to `crtfastmath.o` to ensure denormal numbers are flushed to zero. + + +#

[clang] [flang] [flang][driver] Introduce FCC_OVERRIDE_OPTIONS. (PR #140556)

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

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

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

[clang] [flang] [flang][driver] Introduce FCC_OVERRIDE_OPTIONS. (PR #140556)

2025-05-31 Thread Fangrui Song via cfe-commits
@@ -614,3 +614,30 @@ nvfortran defines `-fast` as - `-Mcache_align`: there is no equivalent flag in Flang or Clang. - `-Mflushz`: flush-to-zero mode - when `-ffast-math` is specified, Flang will link to `crtfastmath.o` to ensure denormal numbers are flushed to zero. + + +#

[clang-tools-extra] [llvm] [clang-doc] Adds a mustache backend (PR #133161)

2025-05-31 Thread Paul Kirth via cfe-commits
ilovepi wrote: We've landed all of this functionality, so this can be closed. https://github.com/llvm/llvm-project/pull/133161 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm] [clang-doc] Adds a mustache backend (PR #133161)

2025-05-31 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/133161 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [StaticAnalyzer] Remove unused includes (NFC) (PR #142301)

2025-05-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-sp

  1   2   >