[clang] Improve clang-format-diff help output (PR #73491)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: None (serge-sans-paille) Changes It is quite common to symlink clang-format-diff.py to clang-format-diff, and in that case the help output still refers to the .py version. Compute it instead to work in both setup. --- Full diff: h

[clang] Improve clang-format-diff help output (PR #73491)

2023-11-27 Thread via cfe-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r 772f296214e10323ca16921c02b1852307b7d51b..788d03126f95ffc8d3b9701fdba73bb931e25cfc clang/

[clang] [Clang] CWG2789 Overload resolution with implicit and explicit object… (PR #73493)

2023-11-27 Thread via cfe-commits
https://github.com/cor3ntin created https://github.com/llvm/llvm-project/pull/73493 … member functions Implement the resolution to CWG2789 from https://wiki.edg.com/pub/Wg21kona2023/StrawPolls/p3046r0.html The DR page is not updated because the issue has not made it to a published list yet.

[clang] [Clang] CWG2789 Overload resolution with implicit and explicit object… (PR #73493)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: cor3ntin (cor3ntin) Changes … member functions Implement the resolution to CWG2789 from https://wiki.edg.com/pub/Wg21kona2023/StrawPolls/p3046r0.html The DR page is not updated because the issue has not made it to a published list yet.

[clang] d1652ff - [Clang][SME2] Add outer product and accumulate/subtract builtins (#71176)

2023-11-27 Thread via cfe-commits
Author: Kerry McLaughlin Date: 2023-11-27T09:54:23Z New Revision: d1652ff0803ac9f2f3ea99336f71edacdf95a721 URL: https://github.com/llvm/llvm-project/commit/d1652ff0803ac9f2f3ea99336f71edacdf95a721 DIFF: https://github.com/llvm/llvm-project/commit/d1652ff0803ac9f2f3ea99336f71edacdf95a721.diff L

[clang] Improve clang-format-diff help output (PR #73491)

2023-11-27 Thread via cfe-commits
https://github.com/serge-sans-paille updated https://github.com/llvm/llvm-project/pull/73491 >From 788d03126f95ffc8d3b9701fdba73bb931e25cfc Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Mon, 27 Nov 2023 10:17:32 +0100 Subject: [PATCH 1/2] Improve clang-format-diff help output It is qu

[clang] 0e86d3e - [clang] Print static_assert values of arithmetic binary operators (#71671)

2023-11-27 Thread via cfe-commits
Author: Timm Baeder Date: 2023-11-27T11:10:02+01:00 New Revision: 0e86d3ea9b93da273ee800a251dd60a44b85a320 URL: https://github.com/llvm/llvm-project/commit/0e86d3ea9b93da273ee800a251dd60a44b85a320 DIFF: https://github.com/llvm/llvm-project/commit/0e86d3ea9b93da273ee800a251dd60a44b85a320.diff L

[clang] [llvm] AArch64: add support for currently released Apple CPUs. (PR #73499)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Tim Northover (TNorthover) Changes These are still v8.6a and have no real changes as far as LLVM cares, so it's mostly just a copy/paste job (actually from https://github.com/llvm/llvm-project/pull/73497 rather than `main` as I

[llvm] [clang] AArch64: add support for currently released Apple CPUs. (PR #73499)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Tim Northover (TNorthover) Changes These are still v8.6a and have no real changes as far as LLVM cares, so it's mostly just a copy/paste job (actually from https://github.com/llvm/llvm-project/pull/73497 rather than `main` as I write thi

[llvm] [clang] AArch64: add support for currently released Apple CPUs. (PR #73499)

2023-11-27 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 ea5de6021cf69a233106689cc6f0ee14899e1a83 c415ffd79582e6a24e4da7152935c93cbe17210e --

[clang] [clang-format] Option to ignore macro definitions (PR #70338)

2023-11-27 Thread via cfe-commits
tomekpaszek wrote: > After giving more thoughts to this, I think what we really want is > `SkipMacroDefinitionBody`, which would format the code below: > (...) > That is, only the body (except comments) of a macro definition is not > formatted. I understand that: - we do want to align the mac

[clang] [clang][ASTImporter] Improve structural equivalence of overloadable operators. (PR #72242)

2023-11-27 Thread via cfe-commits
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= Message-ID: In-Reply-To: @@ -437,12 +439,67 @@ class StmtComparer { }; } // namespace +static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, + const UnaryOperator *E1, +

[clang] [clang][Diagnostics] Highlight code snippets (PR #66514)

2023-11-27 Thread via cfe-commits
Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= ,

[clang-tools-extra] [clangd] Add tweak to inline concept requirements (PR #69693)

2023-11-27 Thread via cfe-commits
https://github.com/Venyla updated https://github.com/llvm/llvm-project/pull/69693 >From d42a9f963471d6e78584febdacf4c5e99419a3c2 Mon Sep 17 00:00:00 2001 From: Vina Zahnd Date: Fri, 20 Oct 2023 10:01:54 +0200 Subject: [PATCH] [clangd] Add tweak to inline concept requirements Co-authored-by: Je

[clang] [Clang][Sema] Diagnose friend function specialization definitions (PR #72863)

2023-11-27 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 57a11b7f75742ba74b563b8af75bc106a1e9d29e 2dc6567a7054feb755351b8d403b228f3d4b91ea --

[clang] [llvm] [clang, SystemZ] Pass HasDef flag to getMinGlobalAlign(). (PR #73511)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Jonas Paulsson (JonPsson1) Changes External symbols created from a linker script may not get the ABI minimum alignment and must therefore be treated as unaligned by the compiler. To implement this, getMinGlobalAlign() (and getAlign

[clang] 5bd643e - [clang][dataflow] Strengthen widening of boolean values. (#73484)

2023-11-27 Thread via cfe-commits
Author: martinboehme Date: 2023-11-27T14:55:49+01:00 New Revision: 5bd643e1456bd2acc53ac0bf594d285be89a44fe URL: https://github.com/llvm/llvm-project/commit/5bd643e1456bd2acc53ac0bf594d285be89a44fe DIFF: https://github.com/llvm/llvm-project/commit/5bd643e1456bd2acc53ac0bf594d285be89a44fe.diff

[clang] [clang][dataflow] Strengthen widening of boolean values. (PR #73484)

2023-11-27 Thread via cfe-commits
https://github.com/martinboehme closed https://github.com/llvm/llvm-project/pull/73484 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] piper export cl 583969847 (PR #73518)

2023-11-27 Thread via cfe-commits
https://github.com/martinboehme created https://github.com/llvm/llvm-project/pull/73518 - [clang][dataflow] Strengthen widening of boolean values. - [clang][dataflow] Defer initialization of `Environment`. - [clang][dataflow] Add synthetic fields to `RecordStorageLocation`. - [clang][dataflow] M

[clang] piper export cl 583969847 (PR #73518)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: None (martinboehme) Changes - [clang][dataflow] Strengthen widening of boolean values. - [clang][dataflow] Defer initialization of `Environment`. - [clang][dataflow] Add synthetic fields to `RecordStorageLocation`. - [clang][datafl

[clang] piper export cl 583969847 (PR #73518)

2023-11-27 Thread via cfe-commits
https://github.com/martinboehme closed https://github.com/llvm/llvm-project/pull/73518 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] ba1c869 - [OpenACC] Implement 'routine' construct parsing (#73143)

2023-11-27 Thread via cfe-commits
Author: Erich Keane Date: 2023-11-27T06:49:29-08:00 New Revision: ba1c869f0026923e0db80ffbd94d02e4718cc1f1 URL: https://github.com/llvm/llvm-project/commit/ba1c869f0026923e0db80ffbd94d02e4718cc1f1 DIFF: https://github.com/llvm/llvm-project/commit/ba1c869f0026923e0db80ffbd94d02e4718cc1f1.diff L

[clang] caba031 - [flang] Enable alias tags pass by default (#73111)

2023-11-27 Thread via cfe-commits
Author: Tom Eccles Date: 2023-11-27T15:10:21Z New Revision: caba0314cf631a3ba3e982cbcdc455224046c7a8 URL: https://github.com/llvm/llvm-project/commit/caba0314cf631a3ba3e982cbcdc455224046c7a8 DIFF: https://github.com/llvm/llvm-project/commit/caba0314cf631a3ba3e982cbcdc455224046c7a8.diff LOG: [f

[clang-tools-extra] c944443 - [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (#72954)

2023-11-27 Thread via cfe-commits
Author: Utkarsh Saxena Date: 2023-11-27T16:21:07+01:00 New Revision: c9390f4c8f4d898ac8a8444bc4bf3394609f URL: https://github.com/llvm/llvm-project/commit/c9390f4c8f4d898ac8a8444bc4bf3394609f DIFF: https://github.com/llvm/llvm-project/commit/c9390f4c8f4d898ac8a8444bc4bf3394609f.diff

[clang] [Clang] Improve support for expression messages in `static_assert` (PR #73234)

2023-11-27 Thread via cfe-commits
@@ -179,18 +179,20 @@ static_assert(false, Message{}); // expected-error {{static assertion failed: He } struct MessageInvalidSize { -constexpr auto size(int) const; // expected-note {{candidate function not viable: requires 1 argument, but 0 were provided}} -constex

[clang] c449460 - ms inline asm: Fix {call,jmp} fptr (#73207)

2023-11-27 Thread via cfe-commits
Author: Fangrui Song Date: 2023-11-27T07:27:50-08:00 New Revision: c449460d8a657e46500ad12be457928207207e3e URL: https://github.com/llvm/llvm-project/commit/c449460d8a657e46500ad12be457928207207e3e DIFF: https://github.com/llvm/llvm-project/commit/c449460d8a657e46500ad12be457928207207e3e.diff

[clang] [Clang] Eagerly instantiate used constexpr function upon definition. (PR #73463)

2023-11-27 Thread via cfe-commits
cor3ntin wrote: > Does this have any compile-time impact? Nope, should be ~free. It does add 1 DenseMap lookup per constexpr function definition, which ought to be negligible. https://github.com/llvm/llvm-project/pull/73463 ___ cfe-commits mailing li

[libcxxabi] [llvm] [lldb] [clang] [flang] [clang-tools-extra] [libc] [lld] [libcxx] [flang] Pass Argv0 to getIntriniscDir and getOpenMPHeadersDir (PR #73254)

2023-11-27 Thread via cfe-commits
https://github.com/madanial0 updated https://github.com/llvm/llvm-project/pull/73254 >From 81d1e05dd084dd5bb88dab88d2f23008b8dc6cfb Mon Sep 17 00:00:00 2001 From: Mark Danial Date: Tue, 21 Nov 2023 12:18:40 -0500 Subject: [PATCH] Pass the correct path to getIntriniscDir and getOpenMPHeadersDir

[clang] [Clang] Improve support for expression messages in `static_assert` (PR #73234)

2023-11-27 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/73234 >From 0822314d8e87dbf080e72ef3e890635601dae163 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Thu, 23 Nov 2023 12:51:46 +0100 Subject: [PATCH 1/3] [Clang] Improve support for expression messages in `static

[flang] [clang] [flang] Update -falias-analysis help text (PR #73548)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-flang-driver Author: Tom Eccles (tblah) Changes As requested by @branach-space on #73111. This makes it clearer that -f[no-]alias-analysis will always override -O flags, no matter their ordering. --- Full diff: https://github.com/llvm/llvm-project/pul

[clang] [CUDA][HIP] Exclude external variables from constant promotion. (PR #73549)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Levon Ter-Grigoryan (PatriosTheGreat) Changes Promoting __constant__ to external variables includes them to PTX which then leads to nvlinker failure. See changes at device-use-host-var test. Befor this change those variables was included t

[llvm] [clang] [clang] report inlining decisions with -Wattribute-{warning|error} (PR #73552)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Nick Desaulniers (nickdesaulniers) Changes Due to inlining, descovering which specific call site to a function with the attribute "warning" or "error" is painful. In the IR record inlining decisions in metadata when inlining a callee that

[llvm] [clang] [clang] report inlining decisions with -Wattribute-{warning|error} (PR #73552)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Nick Desaulniers (nickdesaulniers) Changes Due to inlining, descovering which specific call site to a function with the attribute "warning" or "error" is painful. In the IR record inlining decisions in metadata when inlining a ca

[clang] [Clang] Improve support for expression messages in `static_assert` (PR #73234)

2023-11-27 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/73234 >From 0822314d8e87dbf080e72ef3e890635601dae163 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Thu, 23 Nov 2023 12:51:46 +0100 Subject: [PATCH 1/3] [Clang] Improve support for expression messages in `static

[libcxxabi] [llvm] [clang] [libcxx] [mlir] [openmp] [lldb] [lld] [libc] [flang] [BOLT] Use deterministic xxh3 for computing BF/BB hashes (PR #72542)

2023-11-27 Thread via cfe-commits
https://github.com/spupyrev updated https://github.com/llvm/llvm-project/pull/72542 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] changes where a test writes its output (PR #73560)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Christopher Di Bella (cjdb) Changes Writing directly to /dev/null has permission issues on some systems, so we've changed this to a temporary file instead. --- Full diff: https://github.com/llvm/llvm-project/pull/73560.diff 1 Files Affe

[clang] [Clang][NFC] Refactor suspend emit logic in coroutine codegen (PR #73564)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Yuxuan Chen (yuxuanchen1997) Changes Depends on https://github.com/llvm/llvm-project/pull/73160 I am not a big fan of the `struct LValueOrRValue`. It appears to me that the intent is to use it like a union, without explicitly sayi

[clang] 39faf13 - [clang-format] Add BreakAdjacentStringLiterals option (#73432)

2023-11-27 Thread via cfe-commits
Author: Owen Pan Date: 2023-11-27T13:01:16-08:00 New Revision: 39faf13dde5502cdba7aff1b967c51cd0a93bb71 URL: https://github.com/llvm/llvm-project/commit/39faf13dde5502cdba7aff1b967c51cd0a93bb71 DIFF: https://github.com/llvm/llvm-project/commit/39faf13dde5502cdba7aff1b967c51cd0a93bb71.diff LOG:

[clang] [llvm] [nfc]Generalize PGOFuncName helper methods for general global objects (PR #73570)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms @llvm/pr-subscribers-clang-codegen Author: Mingming Liu (minglotus-6) Changes - Rename `PGOFuncName` metadata to `PGOName`. Updated tests accordingly. - Generalize existing helper functions (rename, change parameter type) so they could b

[clang] 0f18984 - [NFC] Cleanup and sort hlsl_intrinsics.h (#72414)

2023-11-27 Thread via cfe-commits
Author: Chris B Date: 2023-11-27T15:22:35-06:00 New Revision: 0f189840a9a8268664c9e6d4701bf35d9a19fd5f URL: https://github.com/llvm/llvm-project/commit/0f189840a9a8268664c9e6d4701bf35d9a19fd5f DIFF: https://github.com/llvm/llvm-project/commit/0f189840a9a8268664c9e6d4701bf35d9a19fd5f.diff LOG:

[clang] 9a38a72 - [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (#68926)

2023-11-27 Thread via cfe-commits
Author: Yusra Syeda Date: 2023-11-27T16:30:12-05:00 New Revision: 9a38a72f1d482ce3e1ecd30550d78484debd69ae URL: https://github.com/llvm/llvm-project/commit/9a38a72f1d482ce3e1ecd30550d78484debd69ae DIFF: https://github.com/llvm/llvm-project/commit/9a38a72f1d482ce3e1ecd30550d78484debd69ae.diff L

[libcxxabi] [clang-tools-extra] [lldb] [llvm] [libc] [clang] [flang] [lld] [libcxx] [flang] Pass Argv0 to getIntriniscDir and getOpenMPHeadersDir (PR #73254)

2023-11-27 Thread via cfe-commits
madanial0 wrote: > I see you re-based 2 times. Does this look Ok as is? It would be good to add > the AIX Driver bits once this goes in. This should be good as is pending any review comments/approvals https://github.com/llvm/llvm-project/pull/73254 _

[clang] Fix accsessing "PresentModifierLocs" array beyond its end. (PR #73579)

2023-11-27 Thread via cfe-commits
https://github.com/jyu2-git created https://github.com/llvm/llvm-project/pull/73579 Currently PresentModifierLocs defined with size DefaultmapKindNum; where DefaultmapKindNum = OMPC_DEFAULTMAP_pointer + 1 Before 5.0 variable-category can not be omitted. For the test like \#pragma omp target m

[clang] Fix accsessing "PresentModifierLocs" array beyond its end. (PR #73579)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (jyu2-git) Changes Currently PresentModifierLocs defined with size DefaultmapKindNum; where DefaultmapKindNum = OMPC_DEFAULTMAP_pointer + 1 Before 5.0 variable-category can not be omitted. For the test like \#pragma omp target map(t

[clang] [clang-format][NFC] Add isProto() and rename old one to isProtoBuf() (PR #73582)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/73582.diff 6 Files Affected: - (modified) clang/include/clang/Format/Format.h (+2-1) - (modified) clang/lib/Format/ContinuationIndenter.cpp (+3-

[llvm] [clang] [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (PR #68926)

2023-11-27 Thread via cfe-commits
dyung wrote: @ysyeda the test you added, `clang/test/CodeGen/SystemX/systemz-ppa2.c` fails if the SystemZ target (I'm guessing) is not available. Can you add the proper `REQUIRES` line or fix the test to work without that architecture present? https://lab.llvm.org/buildbot/#/builders/139/build

[clang] [clang][DebugInfo] Attach DW_AT_const_value to static data-member definitions if available (PR #72730)

2023-11-27 Thread via cfe-commits
zeroomega wrote: @Michael137 is this patch ready to land? We (I have took over the bug from @ilovepi ) have a few builders that are currently blocked by the behavior change introduced in PR #70639 . It would be great if this change can be landed timely. Thx. https://github.com/llvm/llvm-proje

[clang] [clang] Remove unused argument. NFC. (PR #73594)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Juergen Ributzka (ributzka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/73594.diff 7 Files Affected: - (modified) clang/include/clang/Frontend/ASTUnit.h (+10-12) - (modified) clang/lib/Frontend/ASTMerge.cpp (+1-1)

[clang] b16f765 - [LinkerWrapper] Accept some needed lld-link linker arguments for COFF targets (#72889)

2023-11-27 Thread via cfe-commits
Author: Joseph Huber Date: 2023-11-22T20:23:23-06:00 New Revision: b16f765d6fec56a07aecd2056bb1760a9e72d64f URL: https://github.com/llvm/llvm-project/commit/b16f765d6fec56a07aecd2056bb1760a9e72d64f DIFF: https://github.com/llvm/llvm-project/commit/b16f765d6fec56a07aecd2056bb1760a9e72d64f.diff

[clang] 2eb9c64 - [RISCV] Use Float type instead of Half type for Fixed RVV vector type mangling (#73091)

2023-11-27 Thread via cfe-commits
Author: Jianjian Guan Date: 2023-11-23T11:08:27+08:00 New Revision: 2eb9c649f0971aaa05404764d74ee7fff15b83ed URL: https://github.com/llvm/llvm-project/commit/2eb9c649f0971aaa05404764d74ee7fff15b83ed DIFF: https://github.com/llvm/llvm-project/commit/2eb9c649f0971aaa05404764d74ee7fff15b83ed.diff

[clang] 083a539 - clang/CodeGen/RISCV: test lowering of math builtins (#71399)

2023-11-27 Thread via cfe-commits
Author: Ramkumar Ramachandra Date: 2023-11-23T07:39:32Z New Revision: 083a53971758c6f9bbd448eeb9c5d839661e3f68 URL: https://github.com/llvm/llvm-project/commit/083a53971758c6f9bbd448eeb9c5d839661e3f68 DIFF: https://github.com/llvm/llvm-project/commit/083a53971758c6f9bbd448eeb9c5d839661e3f68.dif

[clang] 0d2860b - [clang] Avoid memcopy for small structure with padding under -ftrivial-auto-var-init (#71677)

2023-11-27 Thread via cfe-commits
Author: serge-sans-paille Date: 2023-11-23T05:38:14Z New Revision: 0d2860b795879f4dd152963b52f969b53b136899 URL: https://github.com/llvm/llvm-project/commit/0d2860b795879f4dd152963b52f969b53b136899 DIFF: https://github.com/llvm/llvm-project/commit/0d2860b795879f4dd152963b52f969b53b136899.diff

[clang] b16f765 - [LinkerWrapper] Accept some needed lld-link linker arguments for COFF targets (#72889)

2023-11-27 Thread via cfe-commits
Author: Joseph Huber Date: 2023-11-22T20:23:23-06:00 New Revision: b16f765d6fec56a07aecd2056bb1760a9e72d64f URL: https://github.com/llvm/llvm-project/commit/b16f765d6fec56a07aecd2056bb1760a9e72d64f DIFF: https://github.com/llvm/llvm-project/commit/b16f765d6fec56a07aecd2056bb1760a9e72d64f.diff

[clang] 2eb9c64 - [RISCV] Use Float type instead of Half type for Fixed RVV vector type mangling (#73091)

2023-11-27 Thread via cfe-commits
Author: Jianjian Guan Date: 2023-11-23T11:08:27+08:00 New Revision: 2eb9c649f0971aaa05404764d74ee7fff15b83ed URL: https://github.com/llvm/llvm-project/commit/2eb9c649f0971aaa05404764d74ee7fff15b83ed DIFF: https://github.com/llvm/llvm-project/commit/2eb9c649f0971aaa05404764d74ee7fff15b83ed.diff

[clang] b16f765 - [LinkerWrapper] Accept some needed lld-link linker arguments for COFF targets (#72889)

2023-11-27 Thread via cfe-commits
Author: Joseph Huber Date: 2023-11-22T20:23:23-06:00 New Revision: b16f765d6fec56a07aecd2056bb1760a9e72d64f URL: https://github.com/llvm/llvm-project/commit/b16f765d6fec56a07aecd2056bb1760a9e72d64f DIFF: https://github.com/llvm/llvm-project/commit/b16f765d6fec56a07aecd2056bb1760a9e72d64f.diff

[clang] 2eb9c64 - [RISCV] Use Float type instead of Half type for Fixed RVV vector type mangling (#73091)

2023-11-27 Thread via cfe-commits
Author: Jianjian Guan Date: 2023-11-23T11:08:27+08:00 New Revision: 2eb9c649f0971aaa05404764d74ee7fff15b83ed URL: https://github.com/llvm/llvm-project/commit/2eb9c649f0971aaa05404764d74ee7fff15b83ed DIFF: https://github.com/llvm/llvm-project/commit/2eb9c649f0971aaa05404764d74ee7fff15b83ed.diff

[clang] 0d2860b - [clang] Avoid memcopy for small structure with padding under -ftrivial-auto-var-init (#71677)

2023-11-27 Thread via cfe-commits
Author: serge-sans-paille Date: 2023-11-23T05:38:14Z New Revision: 0d2860b795879f4dd152963b52f969b53b136899 URL: https://github.com/llvm/llvm-project/commit/0d2860b795879f4dd152963b52f969b53b136899 DIFF: https://github.com/llvm/llvm-project/commit/0d2860b795879f4dd152963b52f969b53b136899.diff

[clang] 0d2860b - [clang] Avoid memcopy for small structure with padding under -ftrivial-auto-var-init (#71677)

2023-11-27 Thread via cfe-commits
Author: serge-sans-paille Date: 2023-11-23T05:38:14Z New Revision: 0d2860b795879f4dd152963b52f969b53b136899 URL: https://github.com/llvm/llvm-project/commit/0d2860b795879f4dd152963b52f969b53b136899 DIFF: https://github.com/llvm/llvm-project/commit/0d2860b795879f4dd152963b52f969b53b136899.diff

[llvm] [clang] [MemProf] Expand optimization scope to internal linakge function (PR #73236)

2023-11-27 Thread via cfe-commits
lifengxiang1025 wrote: > @lifengxiang1025 thanks for flagging this issue. I think it's best to not > rely on unique-internal-linkage-name here. Instead we should extend the logic > in RawMemProfReader.cpp to include "filename;" if the function is internal > linkage as expected by IRPGOFuncName

[llvm] [clang-tools-extra] [clang] [clang-format] Handle variable declarations in BreakAfterAttributes (PR #71935)

2023-11-27 Thread via cfe-commits
gulfemsavrun wrote: We started seeing some inconsistent behavior in `maybe_unused` attributes after this change: **Input:** ``` struct S { [[maybe_unused]] static constexpr uint32_t kMax1 = 4294967295; [[maybe_unused]] static constexpr uint32_t kMax2 = 4294967295; }; ``` **Clang-format

[clang-tools-extra] [compiler-rt] [llvm] [clang] [flang] [clang] Add `::_placement_new` expression for built-in global placement new (PR #72209)

2023-11-27 Thread via cfe-commits
MaxEW707 wrote: I was able to do a test on one of our smaller internal projects that uses a custom vendor clang and a custom vendor stl for this vendors platform. I am planning to get a build of my fork for Linux and macOS so I can test against libcxx directly and test on some of our larger pro

[clang] fdefe88 - [Clang] Improve support for expression messages in `static_assert` (#73234)

2023-11-27 Thread via cfe-commits
Author: cor3ntin Date: 2023-11-28T04:28:57+01:00 New Revision: fdefe88bfff17075e6f35979318bff40a338c836 URL: https://github.com/llvm/llvm-project/commit/fdefe88bfff17075e6f35979318bff40a338c836 DIFF: https://github.com/llvm/llvm-project/commit/fdefe88bfff17075e6f35979318bff40a338c836.diff LOG:

[clang] [Clang] Improve support for expression messages in `static_assert` (PR #73234)

2023-11-27 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/73234 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] CWG2789 Overload resolution with implicit and explicit object… (PR #73493)

2023-11-27 Thread via cfe-commits
cor3ntin wrote: @Endilll I addressed your feedback! https://github.com/llvm/llvm-project/pull/73493 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [KMSAN] Enable on PowerPC64 (PR #73611)

2023-11-27 Thread via cfe-commits
https://github.com/NMiehlbradt created https://github.com/llvm/llvm-project/pull/73611 Enable -fsanitize=kernel-memory support in Clang. Add tests. >From 9fb1d97a4fd3e9a314780f5961d9c394cd6ae20c Mon Sep 17 00:00:00 2001 From: Nicholas Miehlbradt Date: Thu, 26 Oct 2023 00:45:22 + Subject:

[clang] [llvm] [KMSAN] Enable on PowerPC64 (PR #73611)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms @llvm/pr-subscribers-clang Author: None (NMiehlbradt) Changes Enable -fsanitize=kernel-memory support in Clang. Add tests. --- Full diff: https://github.com/llvm/llvm-project/pull/73611.diff 3 Files Affected: - (modified) clang/lib/D

[clang] [llvm] [KMSAN] Enable on PowerPC64 (PR #73611)

2023-11-27 Thread via cfe-commits
NMiehlbradt wrote: > Does `-fsanitize=kernel-memory` work for Linux kernel's powerpc64 port? I have a patch series that adds support on the kernel side that I am about to release. I'll post the link here once I have done so. https://github.com/llvm/llvm-project/pull/73611 _

[clang] [llvm] Enable OpenCL hostcall printf (WIP) (PR #72556)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: Vikram Hegde (vikramRH) Changes Kindly review top commit here, The builtin specific changes are up for review in a seperate patch (https://github.com/llvm/llvm-project/pull/72554) Few implementation deta

[llvm] [clang] [InstCombine] Infer disjoint flag on Or instructions. (PR #72912)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Craig Topper (topperc) Changes Stacked on https://github.com/llvm/llvm-project/pull/72702 and https://github.com/llvm/llvm-project/pull/72583 --- Patch is 153.23 KiB, truncated to 20.00 KiB below, full version: https://github.

[llvm] [clang] [InstCombine] Infer disjoint flag on Or instructions. (PR #72912)

2023-11-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Craig Topper (topperc) Changes Stacked on https://github.com/llvm/llvm-project/pull/72702 and https://github.com/llvm/llvm-project/pull/72583 --- Patch is 153.23 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/l

[clang] Improve clang-format-diff help output (PR #73491)

2023-11-28 Thread via cfe-commits
serge-sans-paille wrote: > See below. Seems it's already working as expected without this patch. > > ``` > $ clang-format -version > clang-format version 17.0.5 > $ clang-format-diff.py foo > usage: clang-format-diff.py [-h] [-i] [-p NUM] [-regex PATTERN] [-iregex > PATTERN] >

[clang] [clang][DebugInfo] Revert to attaching DW_AT_const_value on static member declarations (PR #73626)

2023-11-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-debuginfo Author: Michael Buch (Michael137) Changes In #71780 we started emitting definitions for all static data-members with constant initialisers, even if they were constants (i.e., didn't

[clang] [Clang] CWG2789 Overload resolution with implicit and explicit object… (PR #73493)

2023-11-28 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/73493 >From d3cb9b147c443762fc7d545100144e462bbe3b58 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Mon, 27 Nov 2023 10:48:13 +0100 Subject: [PATCH 1/2] [Clang] CWG2789 Overload resolution with implicit and expl

[clang] [analyzer] Switch to PostStmt callbacks in ArrayBoundV2 (PR #72107)

2023-11-28 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: @@ -350,17 +383,38 @@ void ArrayBoundCheckerV2::checkLocation(SVal Location, bool IsLoad, if (ExceedsUpperBound) { if (!WithinUpperBound) {

[clang] [analyzer] Switch to PostStmt callbacks in ArrayBoundV2 (PR #72107)

2023-11-28 Thread via cfe-commits
=?utf-8?q?Don=C3=A1t?= Nagy , =?utf-8?q?Don=C3=A1t?= Nagy , =?utf-8?q?Don=C3=A1t?= Nagy , =?utf-8?q?Don=C3=A1t?= Nagy Message-ID: In-Reply-To: DonatNagyE wrote: @steakhal thanks for the checking and sorry for the unintentional spamming. > Such a great feature, right? Just wonderful :smile:

[clang] Improve clang-format-diff help output (PR #73491)

2023-11-28 Thread via cfe-commits
https://github.com/serge-sans-paille updated https://github.com/llvm/llvm-project/pull/73491 >From c66e50ee0c804eadd8cb09650f41cc31a76e8bdd Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Mon, 27 Nov 2023 10:17:32 +0100 Subject: [PATCH 1/2] Improve clang-format-diff help output It is qu

[clang] Improve clang-format-diff help output (PR #73491)

2023-11-28 Thread via cfe-commits
serge-sans-paille wrote: @owenca bug opened as #73635 and commit message updated to link to it. https://github.com/llvm/llvm-project/pull/73491 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[clang] [Clang] Improve support for expression messages in `static_assert` (PR #73234)

2023-11-28 Thread via cfe-commits
cor3ntin wrote: @sylvestre Thanks. It seems like GCC 7.5 does not select the appropriate constructor https://compiler-explorer.com/z/oc315aYnT - I will commit a fix in a bit. https://github.com/llvm/llvm-project/pull/73234 ___ cfe-commits mailing li

[clang] [Clang] Eagerly instantiate used constexpr function upon definition. (PR #73463)

2023-11-28 Thread via cfe-commits
cor3ntin wrote: > I _think_ the new map should be unnecessary: `FunctionTemplateDecl` and > `VarTemplateDecl` already have a list of specializations that you can walk > and check the point of instantiation and template specialization kind to see > if there's a pending instantiation. I don't t

[clang] [clang][analyzer] Support `fgets` in the SteamChecker (PR #73638)

2023-11-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ben Shi (benshi001) Changes This PR contains two commits, the first one is identical to https://github.com/llvm/llvm-project/pull/73335, please just review the second one about `fgets`. --- Full diff: https://github.com

[clang] 95a47bc - [clang][analyzer] Support `fputs` in the StreamChecker (#73335)

2023-11-28 Thread via cfe-commits
Author: Ben Shi Date: 2023-11-28T20:14:51+08:00 New Revision: 95a47bca5ed87bab975d9e5c841e346feee59be6 URL: https://github.com/llvm/llvm-project/commit/95a47bca5ed87bab975d9e5c841e346feee59be6 DIFF: https://github.com/llvm/llvm-project/commit/95a47bca5ed87bab975d9e5c841e346feee59be6.diff LOG:

[clang] 205f530 - [Clang] CWG2789 Overload resolution with implicit and explicit object… (#73493)

2023-11-28 Thread via cfe-commits
Author: cor3ntin Date: 2023-11-28T13:30:18+01:00 New Revision: 205f53010d0da11a9c4ab7a4655edb4a2ded1b02 URL: https://github.com/llvm/llvm-project/commit/205f53010d0da11a9c4ab7a4655edb4a2ded1b02 DIFF: https://github.com/llvm/llvm-project/commit/205f53010d0da11a9c4ab7a4655edb4a2ded1b02.diff LOG:

[clang] [Clang] CWG2789 Overload resolution with implicit and explicit object… (PR #73493)

2023-11-28 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/73493 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 6b89fab - [clang][ExtractAPI] Add support for blocks in declaration fragments (#73369)

2023-11-28 Thread via cfe-commits
Author: Daniel Grumberg Date: 2023-11-28T12:55:27Z New Revision: 6b89fab8978f2b075cecc98b3d37769b24019034 URL: https://github.com/llvm/llvm-project/commit/6b89fab8978f2b075cecc98b3d37769b24019034 DIFF: https://github.com/llvm/llvm-project/commit/6b89fab8978f2b075cecc98b3d37769b24019034.diff LO

[clang] [clang] fix typo (PR #73644)

2023-11-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Zhikai Zeng (Backl1ght) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/73644.diff 1 Files Affected: - (modified) clang/lib/Sema/SemaInit.cpp (+1-1) ``diff diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/li

[clang] Improve clang-format-diff help output (PR #73491)

2023-11-28 Thread via cfe-commits
https://github.com/serge-sans-paille updated https://github.com/llvm/llvm-project/pull/73491 >From c66e50ee0c804eadd8cb09650f41cc31a76e8bdd Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Mon, 27 Nov 2023 10:17:32 +0100 Subject: [PATCH 1/2] Improve clang-format-diff help output It is qu

[clang] ced0f28 - Improve clang-format-diff help output (#73491)

2023-11-28 Thread via cfe-commits
Author: serge-sans-paille Date: 2023-11-28T13:46:37Z New Revision: ced0f28a35b8a14759e6bd9418e8c8a7c35775c8 URL: https://github.com/llvm/llvm-project/commit/ced0f28a35b8a14759e6bd9418e8c8a7c35775c8 DIFF: https://github.com/llvm/llvm-project/commit/ced0f28a35b8a14759e6bd9418e8c8a7c35775c8.diff

[clang] Improve clang-format-diff help output (PR #73491)

2023-11-28 Thread via cfe-commits
https://github.com/serge-sans-paille closed https://github.com/llvm/llvm-project/pull/73491 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Bounds checking on unclosed parentheses, brackets or braces in Expanded Tokens (PR #69849)

2023-11-28 Thread via cfe-commits
robozati wrote: @HighCommander4, thank you for reviewing this PR! Unfortunately, I’m currently in my finals and will only have time to look at this next week. So, I’ll update this later. https://github.com/llvm/llvm-project/pull/69849 ___ cfe-commits

[clang] [clang] fix typo (PR #73644)

2023-11-28 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. Lgtm https://github.com/llvm/llvm-project/pull/73644 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 01091fd - [clang] fix typo (#73644)

2023-11-28 Thread via cfe-commits
Author: Zhikai Zeng Date: 2023-11-28T22:08:11+08:00 New Revision: 01091fd101ee78fb8068a2b916ae007a4873d66a URL: https://github.com/llvm/llvm-project/commit/01091fd101ee78fb8068a2b916ae007a4873d66a DIFF: https://github.com/llvm/llvm-project/commit/01091fd101ee78fb8068a2b916ae007a4873d66a.diff L

[clang] 0237f1b - clang: Add pragma clang fp reciprocal (#68267)

2023-11-28 Thread via cfe-commits
Author: Matt Arsenault Date: 2023-11-28T23:38:50+09:00 New Revision: 0237f1b998fab69ce365f0ebc79f0ecfa4294744 URL: https://github.com/llvm/llvm-project/commit/0237f1b998fab69ce365f0ebc79f0ecfa4294744 DIFF: https://github.com/llvm/llvm-project/commit/0237f1b998fab69ce365f0ebc79f0ecfa4294744.diff

[clang] [clang] Non-object types are non-trivially relocatable (PR #69734)

2023-11-28 Thread via cfe-commits
cor3ntin wrote: @AMP999 can you resolve the conflict? https://github.com/llvm/llvm-project/pull/69734 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Option to ignore macro definitions (PR #70338)

2023-11-28 Thread via cfe-commits
https://github.com/tomekpaszek updated https://github.com/llvm/llvm-project/pull/70338 >From b5ba0b3fde2c6662e19dfdf96a787621ec767460 Mon Sep 17 00:00:00 2001 From: Tomek Paszek Date: Sat, 11 Nov 2023 19:38:00 +0100 Subject: [PATCH 01/15] Added an option to ignore macro definitions. --- clang

[clang] [clang-format] Option to ignore macro definitions (PR #70338)

2023-11-28 Thread via cfe-commits
https://github.com/tomekpaszek updated https://github.com/llvm/llvm-project/pull/70338 >From b5ba0b3fde2c6662e19dfdf96a787621ec767460 Mon Sep 17 00:00:00 2001 From: Tomek Paszek Date: Sat, 11 Nov 2023 19:38:00 +0100 Subject: [PATCH 01/15] Added an option to ignore macro definitions. --- clang

[clang] [analyzer] Use AllocaRegion in MallocChecker (PR #72402)

2023-11-28 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: DonatNagyE wrote: I'm merging this commit in its current shape because even if I'd reimplement a warning for the "use of `alloc(0)`", I'd do it in a separate commit. I thought about potential approaches to implement thi

[clang] [analyzer] Use AllocaRegion in MallocChecker (PR #72402)

2023-11-28 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: https://github.com/DonatNagyE closed https://github.com/llvm/llvm-project/pull/72402 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

[clang] 0424546 - [analyzer] Use AllocaRegion in MallocChecker (#72402)

2023-11-28 Thread via cfe-commits
Author: DonatNagyE Date: 2023-11-28T16:34:44+01:00 New Revision: 0424546ed4a7570837626922edc66530cd3c3ab7 URL: https://github.com/llvm/llvm-project/commit/0424546ed4a7570837626922edc66530cd3c3ab7 DIFF: https://github.com/llvm/llvm-project/commit/0424546ed4a7570837626922edc66530cd3c3ab7.diff LO

[clang] 7f3ee3c - [clang][DebugInfo] Revert to attaching DW_AT_const_value on static member declarations (#73626)

2023-11-28 Thread via cfe-commits
Author: Michael Buch Date: 2023-11-28T15:40:43Z New Revision: 7f3ee3ca1d09daf0f7d350ed9d62796640a59bf4 URL: https://github.com/llvm/llvm-project/commit/7f3ee3ca1d09daf0f7d350ed9d62796640a59bf4 DIFF: https://github.com/llvm/llvm-project/commit/7f3ee3ca1d09daf0f7d350ed9d62796640a59bf4.diff LOG:

[llvm] [clang] [ValueTracking] Add dominating condition support in computeKnownBits() (PR #73662)

2023-11-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis @llvm/pr-subscribers-clang Author: Nikita Popov (nikic) Changes This adds support for using dominating conditions in computeKnownBits() when called from InstCombine. The implementation uses a DomConditionCache, which stores which branches

<    33   34   35   36   37   38   39   40   41   42   >