[clang] [clang-format] Add "three dot" diff option to git-clang-format (PR #74230)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Aiden Grossman (boomanaiden154) Changes This patch adds in the ability to do a "three dot" git-clang-format between two commits. This looks at the diff between the second commit and the common merge base rather than comparing at

[clang] [clang-format] Add "three dot" diff option to git-clang-format (PR #74230)

2023-12-02 Thread Aiden Grossman via cfe-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/74230 This patch adds in the ability to do a "three dot" git-clang-format between two commits. This looks at the diff between the second commit and the common merge base rather than comparing at the point of

[clang-tools-extra] [clangd] Carefully handle PseudoObjectExprs for inlay hints (PR #71366)

2023-12-02 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 closed https://github.com/llvm/llvm-project/pull/71366 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 0fc69b1 - [clangd] Carefully handle PseudoObjectExprs for inlay hints (#71366)

2023-12-02 Thread via cfe-commits
Author: Younan Zhang Date: 2023-12-03T02:27:45-05:00 New Revision: 0fc69b1402d75704744c73e15d278dcc8f437f0e URL: https://github.com/llvm/llvm-project/commit/0fc69b1402d75704744c73e15d278dcc8f437f0e DIFF: https://github.com/llvm/llvm-project/commit/0fc69b1402d75704744c73e15d278dcc8f437f0e.diff

[clang-tools-extra] [clangd] Carefully handle PseudoObjectExprs for inlay hints (PR #71366)

2023-12-02 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 approved this pull request. LGTM, thank you! https://github.com/llvm/llvm-project/pull/71366 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker edited https://github.com/llvm/llvm-project/pull/74215 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [libcxx] [clang] [compiler-rt] [clang-tools-extra] [llvm] [Clang][Sema] Fix qualifier restriction of overriden methods (PR #71696)

2023-12-02 Thread Shafik Yaghmour via cfe-commits
@@ -18469,9 +18469,22 @@ bool Sema::CheckOverridingFunctionReturnType(const CXXMethodDecl *New, // The new class type must have the same or less qualifiers as the old type. - if (NewClassTy.isMoreQualifiedThan(OldClassTy)) { + if

[flang] [libcxx] [clang] [compiler-rt] [clang-tools-extra] [llvm] [Clang][Sema] Fix qualifier restriction of overriden methods (PR #71696)

2023-12-02 Thread Shafik Yaghmour via cfe-commits
@@ -18469,9 +18469,22 @@ bool Sema::CheckOverridingFunctionReturnType(const CXXMethodDecl *New, // The new class type must have the same or less qualifiers as the old type. - if (NewClassTy.isMoreQualifiedThan(OldClassTy)) { + if

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker updated https://github.com/llvm/llvm-project/pull/74215 >From e6afca50ae820ec2e8cc2d53fa68d09f5cd3b1ed Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Sat, 2 Dec 2023 11:10:26 +0100 Subject: [PATCH 1/2] [clang-tidy] readability-container-contains literal

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Vlad Serebrennikov via cfe-commits
Endilll wrote: https://lab.llvm.org/buildbot/#/builders/123/builds/23364 stage 1 checks run successfully. You can close this PR as superseded by 19bef888a8c7c58bdf94d377fc485e050efb https://github.com/llvm/llvm-project/pull/74223 ___ cfe-commits

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Vlad Serebrennikov via cfe-commits
Endilll wrote: Thank you for looking into this! https://github.com/llvm/llvm-project/pull/74223 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Vlad Serebrennikov via cfe-commits
Endilll wrote: It was my commit that broke bots, so it is only appropriate to tag me on this. I committed a different fix just now 19bef888a8c7c58bdf94d377fc485e050efb https://github.com/llvm/llvm-project/pull/74223 ___ cfe-commits mailing list

[clang] 19bef88 - [clang][NFC] Adjust expected directives in DR tests further

2023-12-02 Thread Vlad Serebrennikov via cfe-commits
Author: Vlad Serebrennikov Date: 2023-12-03T09:02:58+03:00 New Revision: 19bef888a8c7c58bdf94d377fc485e050efb URL: https://github.com/llvm/llvm-project/commit/19bef888a8c7c58bdf94d377fc485e050efb DIFF:

[libcxx] [flang] [lldb] [compiler-rt] [llvm] [libc] [clang] [lld] Work around GCC test failure that is caused by enabling optimizations. (PR #73998)

2023-12-02 Thread via cfe-commits
https://github.com/EricWF closed https://github.com/llvm/llvm-project/pull/73998 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Sizov Nikita via cfe-commits
https://github.com/snikitav updated https://github.com/llvm/llvm-project/pull/74223 >From 41bae56752441a2b2e23ff04e3f0a03ef0d95743 Mon Sep 17 00:00:00 2001 From: Sizov Nikita Date: Sun, 3 Dec 2023 06:56:08 +0300 Subject: [PATCH] Fix crash for windows clang unittest ---

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Sizov Nikita via cfe-commits
https://github.com/snikitav edited https://github.com/llvm/llvm-project/pull/74223 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Sizov Nikita via cfe-commits
https://github.com/snikitav updated https://github.com/llvm/llvm-project/pull/74223 >From 661c42716c494bb27449c2dd81e03cf0945f1cf1 Mon Sep 17 00:00:00 2001 From: Sizov Nikita Date: Sun, 3 Dec 2023 06:56:08 +0300 Subject: [PATCH] Fix crash for windows clang unittest ---

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Sizov Nikita via cfe-commits
https://github.com/snikitav edited https://github.com/llvm/llvm-project/pull/74223 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Sizov Nikita via cfe-commits
snikitav wrote: @Endilll Im'sorry, not sure what to do in this situation, but I think current master CI is broken and my patch might fix it. Is it ok to tag you or other people, or should I wait for autoassigned reviewers? https://github.com/llvm/llvm-project/pull/74223

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sizov Nikita (snikitav) Changes Currently windows build fails with: ``` # | error: 'cxx98-14-error' diagnostics expected but not seen: # | File C:\ws\src\clang\test\CXX\drs\dr2xx.cpp Line 1297 (directive at

[clang] Fix dr2xx clang test (PR #74223)

2023-12-02 Thread Sizov Nikita via cfe-commits
https://github.com/snikitav created https://github.com/llvm/llvm-project/pull/74223 Currently windows build fails with: ``` # | error: 'cxx98-14-error' diagnostics expected but not seen: # | File C:\ws\src\clang\test\CXX\drs\dr2xx.cpp Line 1297 (directive at

[llvm] [clang] Missing opt with ctlz and shifts of power of 2 constants (#41333) (PR #74175)

2023-12-02 Thread Sizov Nikita via cfe-commits
https://github.com/snikitav updated https://github.com/llvm/llvm-project/pull/74175 >From cb2bdf4a4cb9db2262920a0a474e2024e7a1406a Mon Sep 17 00:00:00 2001 From: Sizov Nikita Date: Sat, 2 Dec 2023 04:53:32 +0300 Subject: [PATCH] Missing opt with ctlz and shifts of power of 2 constants

[clang] [clang] assert fail when number of arguments in pack exceed implement… (PR #74220)

2023-12-02 Thread via cfe-commits
wheatman wrote: This is designed to detect bugs like https://github.com/llvm/llvm-project/issues/71888 with an assert instead of silently changing the meaning of the code. an example of the code which the assert will trigger on is ``` #include #include template constexpr auto static

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread via cfe-commits
@@ -399,6 +399,10 @@ Changes in existing checks ` diagnositics to highlight the const location +- Improved :doc:`readability-container-contains + ` to correctly handle + interger literals with suffixes in fixits. EugeneZelenko wrote: `fix-its`.

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread via cfe-commits
https://github.com/EugeneZelenko requested changes to this pull request. https://github.com/llvm/llvm-project/pull/74215 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread via cfe-commits
https://github.com/EugeneZelenko edited https://github.com/llvm/llvm-project/pull/74215 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] assert fail when number of arguments in pack exceed implement… (PR #74220)

2023-12-02 Thread via cfe-commits
https://github.com/wheatman updated https://github.com/llvm/llvm-project/pull/74220 >From 86e187f7f13c5cbb0d1afb9ebbe9c0e7022269a6 Mon Sep 17 00:00:00 2001 From: Brian Wheatman Date: Sat, 2 Dec 2023 22:17:24 -0500 Subject: [PATCH] [clang] assert fail when number of arguments in pack exceed

[clang] [clang] assert fail when number of arguments in pack exceed implement… (PR #74220)

2023-12-02 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 38f75d606f94e6b552fd74d487b061a1f8f907fa 8990877d381639d8498630fd4e9b30732ab893d6 --

[clang] [clang] assert fail when number of arguments in pack exceed implement… (PR #74220)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (wheatman) Changes …ation limit --- Full diff: https://github.com/llvm/llvm-project/pull/74220.diff 1 Files Affected: - (modified) clang/lib/AST/ExprCXX.cpp (+1) ``diff diff --git a/clang/lib/AST/ExprCXX.cpp

[clang] [clang] assert fail when number of arguments in pack exceed implement… (PR #74220)

2023-12-02 Thread via cfe-commits
https://github.com/wheatman created https://github.com/llvm/llvm-project/pull/74220 …ation limit >From 8990877d381639d8498630fd4e9b30732ab893d6 Mon Sep 17 00:00:00 2001 From: Brian Wheatman Date: Sat, 2 Dec 2023 22:17:24 -0500 Subject: [PATCH] [clang] assert fail when number of arguments in

[flang] [libc] [libcxx] [lld] [lldb] [compiler-rt] [clang] [llvm] [hwasan] Use ErrorAction::Recover in interceptors (PR #74000)

2023-12-02 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/74000 >From 672b71cc1003533460a82f06b7d24fbdc02ffd58 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 30 Nov 2023 14:44:07 -0800 Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=

[clang] Remove warnings from -Wchar-subscripts for known positive constants (PR #69061)

2023-12-02 Thread via cfe-commits
https://github.com/wheatman updated https://github.com/llvm/llvm-project/pull/69061 >From 894e8623689abe615600d768ef4fbedea78ab799 Mon Sep 17 00:00:00 2001 From: Brian Wheatman Date: Sat, 14 Oct 2023 12:02:19 -0400 Subject: [PATCH] Remove warnings from -Wchar-subscripts for known positive

[lld] [lldb] [llvm] [flang] [clang] [libc] [compiler-rt] [libcxx] [hwasan] Use ErrorAction::Recover in interceptors (PR #74000)

2023-12-02 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka reopened https://github.com/llvm/llvm-project/pull/74000 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[lld] [lldb] [llvm] [flang] [clang] [libc] [compiler-rt] [libcxx] [hwasan] Use ErrorAction::Recover in interceptors (PR #74000)

2023-12-02 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > [mmalcomson](/mmalcomson) https://github.com/llvm/llvm-project/pull/74000 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [lld] [libcxx] [flang] [clang] [lldb] [libc] [compiler-rt] [hwasan] Use ErrorAction::Recover in interceptors (PR #74000)

2023-12-02 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/74000 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [lld] [libcxx] [flang] [clang] [lldb] [libc] [compiler-rt] [hwasan] Use ErrorAction::Recover in interceptors (PR #74000)

2023-12-02 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/74000 >From 672b71cc1003533460a82f06b7d24fbdc02ffd58 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 30 Nov 2023 14:44:07 -0800 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=

[clang] [lldb] [flang] [lld] [llvm] [libc] [compiler-rt] [libcxx] Work around GCC test failure that is caused by enabling optimizations. (PR #73998)

2023-12-02 Thread via cfe-commits
https://github.com/EricWF updated https://github.com/llvm/llvm-project/pull/73998 >From 2e7676bac9fb0c8694dd1ee635508ae4d4a6421d Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 30 Nov 2023 17:23:37 -0500 Subject: [PATCH 1/3] Work around GCC test failure that is caused by enabling

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker updated https://github.com/llvm/llvm-project/pull/74215 >From e6afca50ae820ec2e8cc2d53fa68d09f5cd3b1ed Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Sat, 2 Dec 2023 11:10:26 +0100 Subject: [PATCH] [clang-tidy] readability-container-contains literal suffixes

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker updated https://github.com/llvm/llvm-project/pull/74215 >From f93185fe2346e7184c17ff35fb82ba0873e040a1 Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Sat, 2 Dec 2023 11:10:26 +0100 Subject: [PATCH] [clang-tidy] readability-container-contains literal suffixes

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Thomas Schenker (schenker) Changes Before this PR, readability-container-contains fixits did not handle integer literal suffixes correctly. It e.g. changed ``` MyMap.count(2) != 0U; ``` into ``` MyMap.contains(2)U; ``` With this

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker created https://github.com/llvm/llvm-project/pull/74215 Before this PR, readability-container-contains fixits did not handle integer literal suffixes correctly. It e.g. changed ``` MyMap.count(2) != 0U; ``` into ``` MyMap.contains(2)U; ``` With this PR, it

[llvm] [clang] Remove experimental from Vector Crypto extensions (PR #69000)

2023-12-02 Thread Eric Biggers via cfe-commits
ebiggers wrote: No activity here in a few weeks, so I've opened https://github.com/llvm/llvm-project/pull/74213 with an updated version of the change. https://github.com/llvm/llvm-project/pull/69000 ___ cfe-commits mailing list

[llvm] [clang] [RISCV] Remove experimental from Vector Crypto extensions (PR #74213)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-support @llvm/pr-subscribers-llvm-analysis Author: Eric Biggers (ebiggers) Changes This is an updated version of https://github.com/llvm/llvm-project/pull/69000, which hasn't had activity in a few weeks --- Patch is 272.35 KiB, truncated to

[llvm] [clang] [RISCV] Remove experimental from Vector Crypto extensions (PR #74213)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Eric Biggers (ebiggers) Changes This is an updated version of https://github.com/llvm/llvm-project/pull/69000, which hasn't had activity in a few weeks --- Patch is 272.35 KiB, truncated to 20.00 KiB below, full version:

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-12-02 Thread David Li via cfe-commits
https://github.com/david-xl updated https://github.com/llvm/llvm-project/pull/73845 >From 4c0f907dc778e8cfd0e41008b8b2970a016201b0 Mon Sep 17 00:00:00 2001 From: David Li Date: Wed, 29 Nov 2023 11:56:31 -0800 Subject: [PATCH] Fix PGO documentation in user manual ---

[compiler-rt] [lldb] [libc] [clang] [lld] [llvm] [libcxx] [flang] Work around GCC test failure that is caused by enabling optimizations. (PR #73998)

2023-12-02 Thread via cfe-commits
https://github.com/EricWF updated https://github.com/llvm/llvm-project/pull/73998 >From 2e7676bac9fb0c8694dd1ee635508ae4d4a6421d Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 30 Nov 2023 17:23:37 -0500 Subject: [PATCH 1/2] Work around GCC test failure that is caused by enabling

[clang] [lld] [lldb] [llvm] [libc] [libcxx] [flang] [compiler-rt] Work around GCC test failure that is caused by enabling optimizations. (PR #73998)

2023-12-02 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 7ec4f6094e54911794c142b5d88496a220d807d6 aaa004f3bd13743195865d5ab09f5ed81757b2a7 --

[clang] [lld] [lldb] [llvm] [libc] [libcxx] [flang] [compiler-rt] Work around GCC test failure that is caused by enabling optimizations. (PR #73998)

2023-12-02 Thread via cfe-commits
https://github.com/EricWF updated https://github.com/llvm/llvm-project/pull/73998 >From 2e7676bac9fb0c8694dd1ee635508ae4d4a6421d Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 30 Nov 2023 17:23:37 -0500 Subject: [PATCH] Work around GCC test failure that is caused by enabling

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

2023-12-02 Thread Craig Topper via cfe-commits
https://github.com/topperc closed https://github.com/llvm/llvm-project/pull/72912 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 96070e1 - [clang][NFC] Adjust expected directives in DR tests

2023-12-02 Thread Vlad Serebrennikov via cfe-commits
Author: Vlad Serebrennikov Date: 2023-12-03T00:21:53+03:00 New Revision: 96070e1e4c13f53c2cef8178d64e206162923f54 URL: https://github.com/llvm/llvm-project/commit/96070e1e4c13f53c2cef8178d64e206162923f54 DIFF:

[clang] [clang-format] Fix a bug in `git-clang-format --binary` (PR #74176)

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

[clang] [flang] [llvm] [clang-tools-extra] [compiler-rt] [BPI] Reuse the AsmWriter's BB naming scheme in BranchProbabilityPrinterPass (PR #73593)

2023-12-02 Thread Mircea Trofin via cfe-commits
https://github.com/mtrofin closed https://github.com/llvm/llvm-project/pull/73593 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Add space in Verilog tagged unions (PR #71354)

2023-12-02 Thread via cfe-commits
https://github.com/sstwcw closed https://github.com/llvm/llvm-project/pull/71354 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] b3e80d8 - [clang-format] Add space in Verilog tagged unions (#71354)

2023-12-02 Thread via cfe-commits
Author: sstwcw Date: 2023-12-02T19:26:07Z New Revision: b3e80d8ed251bfdad4a49fee19b8354eba407d1d URL: https://github.com/llvm/llvm-project/commit/b3e80d8ed251bfdad4a49fee19b8354eba407d1d DIFF: https://github.com/llvm/llvm-project/commit/b3e80d8ed251bfdad4a49fee19b8354eba407d1d.diff LOG:

[clang] [clang][RISCVVEmitter] Remove no-op ptr-to-ptr bitcast (NFC) (PR #74179)

2023-12-02 Thread Youngsuk Kim via cfe-commits
https://github.com/JOE1994 closed https://github.com/llvm/llvm-project/pull/74179 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c638161 - [clang][RISCVVEmitter] Remove no-op ptr-to-ptr bitcast (NFC) (#74179)

2023-12-02 Thread via cfe-commits
Author: Youngsuk Kim Date: 2023-12-02T13:50:58-05:00 New Revision: c6381615ef9bc869a708ab8f786c4350f7e00ee7 URL: https://github.com/llvm/llvm-project/commit/c6381615ef9bc869a708ab8f786c4350f7e00ee7 DIFF: https://github.com/llvm/llvm-project/commit/c6381615ef9bc869a708ab8f786c4350f7e00ee7.diff

[clang] 0c06e87 - [clang][NFC] Refactor expected directives in C++ DRs 200-299

2023-12-02 Thread Vlad Serebrennikov via cfe-commits
Author: Vlad Serebrennikov Date: 2023-12-02T21:25:54+03:00 New Revision: 0c06e8745f131d867c566f4d35a7a04e24b4a075 URL: https://github.com/llvm/llvm-project/commit/0c06e8745f131d867c566f4d35a7a04e24b4a075 DIFF:

[clang] 2f9c922 - [clang][NFC] Fill in historical data on when C++ DRs 200-299 were fixed

2023-12-02 Thread Vlad Serebrennikov via cfe-commits
Author: Vlad Serebrennikov Date: 2023-12-02T21:25:00+03:00 New Revision: 2f9c922a12e9f15abe5f6b1a50d684414be47d26 URL: https://github.com/llvm/llvm-project/commit/2f9c922a12e9f15abe5f6b1a50d684414be47d26 DIFF:

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-12-02 Thread Petr Hosek via cfe-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/73845 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [llvm] [mlir] [mlir] Fix a zero stride canonicalizer crash (PR #74200)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-memref @llvm/pr-subscribers-mlir-tensor Author: Rik Huijzer (rikhuijzer) Changes This PR fixes https://github.com/llvm/llvm-project/issues/73383 and is another shot at the refactoring proposed in https://github.com/llvm/llvm-project/pull/72885.

[clang] [clang-tools-extra] [llvm] [mlir] [mlir] Fix a zero stride canonicalizer crash (PR #74200)

2023-12-02 Thread Rik Huijzer via cfe-commits
https://github.com/rikhuijzer created https://github.com/llvm/llvm-project/pull/74200 This PR fixes https://github.com/llvm/llvm-project/issues/73383 and is another shot at the refactoring proposed in https://github.com/llvm/llvm-project/pull/72885. >From

[clang] [clang] Strict aliasing warning ala GCC [PR50066] (PR #74155)

2023-12-02 Thread Nathan Sidwell via cfe-commits
https://github.com/urnathan edited https://github.com/llvm/llvm-project/pull/74155 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Strict aliasing warning ala GCC [PR50066] (PR #74155)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Nathan Sidwell (urnathan) Changes This implements -Wstrict-aliasing(=[123])? along the same lines as GCC. It's not 100% the same for reasons expanded on below. The default is level 3, and I have

[clang] [clang] Strict aliasing warning ala GCC [PR50066] (PR #74155)

2023-12-02 Thread Nathan Sidwell via cfe-commits
https://github.com/urnathan ready_for_review https://github.com/llvm/llvm-project/pull/74155 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Avoid recalculating TBAA base type info (PR #73264)

2023-12-02 Thread Nathan Sidwell via cfe-commits
https://github.com/urnathan closed https://github.com/llvm/llvm-project/pull/73264 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 1fa35f0 - [clang] Avoid recalculating TBAA base type info (#73264)

2023-12-02 Thread via cfe-commits
Author: Nathan Sidwell Date: 2023-12-02T11:54:59-05:00 New Revision: 1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef URL: https://github.com/llvm/llvm-project/commit/1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef DIFF:

[clang] [llvm] [X86] Support CFE flags for APX features (PR #74199)

2023-12-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-x86 Author: Shengchen Kan (KanRobert) Changes Positive options: -mapx-features=comma-separated-features Negative options: -mno-apx-features=comma-separated-features -m[no-]apx-features is designed to be able to

[llvm] [clang] [X86] Support CFE flags for APX features (PR #74199)

2023-12-02 Thread Shengchen Kan via cfe-commits
https://github.com/KanRobert created https://github.com/llvm/llvm-project/pull/74199 Positive options: -mapx-features= Negative options: -mno-apx-features= -m[no-]apx-features is designed to be able to control separate APX features. Besides, we also support the flag -m[no-]apxf, which can be

[clang] [Driver][LTO] Copy fix empty stats filename to AMDGPU, HIPAMD, MinGW (PR #74178)

2023-12-02 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: I think we should change signature of addLTOOptions. Instead of accepting a single InputInfo, it should accept InputInfoList. Then these ConstructJob members will pass Inputs to addLTOOptions, and addLTOOptions will pick the first file from it. This should be able to avoid

[clang] [clang] Accept lambdas in C++03 as an extensions (PR #73376)

2023-12-02 Thread via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/73376 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Accept lambdas in C++03 as an extensions (PR #73376)

2023-12-02 Thread Nikolas Klauser via cfe-commits
@@ -92,14 +94,14 @@ namespace ImplicitCapture { [] { return ref_i; }; // expected-error {{variable 'ref_i' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}} expected-note 2 {{capture 'ref_i' by}}

[clang] [clang] Accept lambdas in C++03 as an extensions (PR #73376)

2023-12-02 Thread via cfe-commits
@@ -92,14 +94,14 @@ namespace ImplicitCapture { [] { return ref_i; }; // expected-error {{variable 'ref_i' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}} expected-note 2 {{capture 'ref_i' by}}

[clang] [clang] Accept lambdas in C++03 as an extensions (PR #73376)

2023-12-02 Thread Nikolas Klauser via cfe-commits
@@ -92,14 +94,14 @@ namespace ImplicitCapture { [] { return ref_i; }; // expected-error {{variable 'ref_i' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}} expected-note 2 {{capture 'ref_i' by}}

[clang] [clang] Fix crash when declaring invalid lambda member (PR #74110)

2023-12-02 Thread Nikolas Klauser via cfe-commits
https://github.com/philnik777 edited https://github.com/llvm/llvm-project/pull/74110 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix crash when declaring invalid lambda member (PR #74110)

2023-12-02 Thread Nikolas Klauser via cfe-commits
philnik777 wrote: > The tests changes look mostly unrelated to this PR They mostly are. I found this while trying to check C++03 with the test and noticed that C++11 also crashes, so I updated the test to also run in C++11. https://github.com/llvm/llvm-project/pull/74110

[clang] [clang] Accept lambdas in C++03 as an extensions (PR #73376)

2023-12-02 Thread Nikolas Klauser via cfe-commits
https://github.com/philnik777 updated https://github.com/llvm/llvm-project/pull/73376 >From 563f86bddc0ec59b63c6aeffee2342f027c09119 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Fri, 1 Dec 2023 18:16:36 +0100 Subject: [PATCH 1/2] [clang] Fix crash when declaring invalid lambda member

[clang] [Clang] Remove NetBSD/i386 workaround for FP eval method with older versions (PR #74025)

2023-12-02 Thread Michał Górny via cfe-commits
https://github.com/mgorny approved this pull request. Code LGTM but please add a note to the release notes, as was requested. https://github.com/llvm/llvm-project/pull/74025 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[libunwind] [llvm] [libcxx] [libc++] Allow running the test suite with optimizations (PR #68753)

2023-12-02 Thread Louis Dionne via cfe-commits
https://github.com/ldionne updated https://github.com/llvm/llvm-project/pull/68753 >From 5e53337f16aa446d6a2dc764d347ea37b22c3a56 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 10 Oct 2023 16:35:11 -0700 Subject: [PATCH 1/5] [libc++] Allow running the test suite with optimizations

[clang] 19e2174 - Revert "[Clang] Eagerly instantiate used constexpr function upon definition. (#73463)"

2023-12-02 Thread Corentin Jabot via cfe-commits
Author: Corentin Jabot Date: 2023-12-02T13:35:27+01:00 New Revision: 19e2174d54356e1654583a65ff9cd38eccf797ee URL: https://github.com/llvm/llvm-project/commit/19e2174d54356e1654583a65ff9cd38eccf797ee DIFF:

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

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

[clang] [clang-fuzzer] Remove GCC 4.x pre GCC 4.9 workaround to silence warning (PR #73974)

2023-12-02 Thread Brad Smith via cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/73974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 37da4e3 - [clang-fuzzer] Remove GCC 4.x pre GCC 4.9 workaround to silence warning (#73974)

2023-12-02 Thread via cfe-commits
Author: Brad Smith Date: 2023-12-02T05:15:30-05:00 New Revision: 37da4e3d80d7136121e74e2b8d23afb14ae7ab69 URL: https://github.com/llvm/llvm-project/commit/37da4e3d80d7136121e74e2b8d23afb14ae7ab69 DIFF: https://github.com/llvm/llvm-project/commit/37da4e3d80d7136121e74e2b8d23afb14ae7ab69.diff

[clang] [clang] Fix clang++ crash on assertions when compiling source (PR #70594)

2023-12-02 Thread Rajveer Singh Bharadwaj via cfe-commits
Rajveer100 wrote: @cor3ntin Could you describe the format of the `release note` briefly so I can `amend` my `commit` accordingly? https://github.com/llvm/llvm-project/pull/70594 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [clang] Fix clang++ crash on assertions when compiling source (PR #70594)

2023-12-02 Thread Rajveer Singh Bharadwaj via cfe-commits
https://github.com/Rajveer100 edited https://github.com/llvm/llvm-project/pull/70594 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-fuzzer] Remove GCC 4.x pre GCC 4.9 workaround to silence warning (PR #73974)

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