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 9810fe1a91eb9ce18246fb1528232a539dbd37fc
c4e89c6fbb421ae511d555efddb7befe63b30d05 --
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/2] [Clang][Sema] Check the number of lambda non-concept
tempate pa
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
@llvm/pr-subscribers-clang
Author: Craig Topper (topperc)
Changes
Rather than using size_t, use unsigned. We don't have more than 4 billion
intrinsics.
---
Full diff: https://github.com/llvm/llvm-project/pull/74906.diff
1 Files Affecte
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Craig Topper (topperc)
Changes
These names are never used so just waste a lot of memory. If do need them ever,
it would be better to store pointers to the StringMapEntry objects that store
the same strings.
---
Full diff: https://github.
Author: Jan Svoboda
Date: 2023-12-08T18:22:41-08:00
New Revision: 0cb0a48cdea730e885e8c955ba1687a8191f824c
URL:
https://github.com/llvm/llvm-project/commit/0cb0a48cdea730e885e8c955ba1687a8191f824c
DIFF:
https://github.com/llvm/llvm-project/commit/0cb0a48cdea730e885e8c955ba1687a8191f824c.diff
L
Author: Jan Svoboda
Date: 2023-12-08T18:22:53-08:00
New Revision: cb92511c4d967df758819a21a7d5cf83e5ce65ae
URL:
https://github.com/llvm/llvm-project/commit/cb92511c4d967df758819a21a7d5cf83e5ce65ae
DIFF:
https://github.com/llvm/llvm-project/commit/cb92511c4d967df758819a21a7d5cf83e5ce65ae.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Svoboda (jansvoboda11)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74910.diff
7 Files Affected:
- (modified) clang/include/clang/Basic/DirectoryEntry.h (-7)
- (modified) clang/include/clang/Basic/FileEntry.h (
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74913.diff
1 Files Affected:
- (modified) clang/lib/Driver/ToolChains/Clang.cpp (+2-1)
``diff
diff --git a/clang/lib/Driver/
=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng,=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng
Message-ID:
In-Reply-To:
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-f
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
This patch renames {starts,ends}with to {starts,ends}_with for
consistency with std::{string,string_view}::{starts,ends}_with in
C++20. Since there are only a handful of occurrences, this patch
skips th
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Qizhi Hu (jcsxky)
Changes
Skip checking `TemplateTypeParmDecl ` in `VisitTypeAliasTemplateDecl`. [Fix
this crash](https://github.com/llvm/llvm-project/issues/74765)
---
Full diff: https://github.com/llvm/llvm-project/pull/74919.diff
2 F
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
This patch continues the work started with
ea5b1ef016d020c37f903d6c7d4f623be975dab8. See that commit and its corresponding
PR for details.
---
Patch is 68.85 KiB, truncated to 20.00 KiB below, full v
Author: Vlad Serebrennikov
Date: 2023-12-09T12:53:48+04:00
New Revision: 6ed9a81f7ebd23f125867dd270785dd0e63043c6
URL:
https://github.com/llvm/llvm-project/commit/6ed9a81f7ebd23f125867dd270785dd0e63043c6
DIFF:
https://github.com/llvm/llvm-project/commit/6ed9a81f7ebd23f125867dd270785dd0e63043c6.
Author: Richard Dzenis
Date: 2023-12-09T14:35:38+04:00
New Revision: b3e6ff331925dde24a4707452d657da0fdf7f588
URL:
https://github.com/llvm/llvm-project/commit/b3e6ff331925dde24a4707452d657da0fdf7f588
DIFF:
https://github.com/llvm/llvm-project/commit/b3e6ff331925dde24a4707452d657da0fdf7f588.diff
https://github.com/ChipsSpectre created
https://github.com/llvm/llvm-project/pull/74926
As stated in this issue, https://github.com/llvm/llvm-project/issues/73559,
clang (C version of clang, not C++) crashes when C++ components are parsed.
Even a file which only contains a double-colon "::" le
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (ChipsSpectre)
Changes
As stated in this issue, https://github.com/llvm/llvm-project/issues/73559,
clang (C version of clang, not C++) crashes when C++ components are parsed.
Even a file which only contains a double-colon "::" leads
knightXun wrote:
> This needs at least one test and a Release note.
>
> I expect the code form the issue to be well-formed:
> https://godbolt.org/z/bhdfG34xc
>
> So I am curious why you are adding the diagnostic for?
but the lambda template param is unknown, how can the template instantiator
https://github.com/koachan created
https://github.com/llvm/llvm-project/pull/74927
This adds support for marking arbitrary general purpose registers - except for
those with special purpose (G0, I6-I7, O6-O7) - as reserved, as needed by some
software like the Linux kernel.
>From 956ca7e210a438
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: Koakuma (koachan)
Changes
This adds support for marking arbitrary general purpose registers - except for
those with special purpose (G0, I6-I7, O6-O7) - as reserved, as needed by some
software like the Li
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Brad Smith (brad0)
Changes
illumos has an older version of the Solaris linker that does not
support the GNU version script compat nor version scripts and does
not support -Bsymbolic-functions. Treat illumos linker separately.
The libclang/
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/3] [Clang][Sema] Check the number of lambda non-concept
tempate pa
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Richard Dzenis (RIscRIpt)
Changes
Fixes regression introduced in b3e6ff331925dde24a4707452d657da0fdf7f588
.---command stderr
| error: 'supported-warning' diagnostics seen but not expected:
| File
C:\buildbot\as-b
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
---
Patch is 35.89 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/74933.diff
5 Files Affected:
- (modified) clang/lib/D
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 600462a2db7c044896122acfb347ce2d4d88271f
daa6702f698724655b91c4fa52272c09924d2d83 --
Author: Richard Dzenis
Date: 2023-12-09T18:40:04+04:00
New Revision: 4cfdef76a2228b1b52df82fc83f58b9453397d98
URL:
https://github.com/llvm/llvm-project/commit/4cfdef76a2228b1b52df82fc83f58b9453397d98
DIFF:
https://github.com/llvm/llvm-project/commit/4cfdef76a2228b1b52df82fc83f58b9453397d98.diff
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/4] [Clang][Sema] Check the number of lambda non-concept
tempate pa
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/5] [Clang][Sema] Check the number of lambda non-concept
tempate pa
Author: Nathan Sidwell
Date: 2023-12-09T10:13:27-05:00
New Revision: 54e2749609d7114f4a48f4146cddeecf76d935a4
URL:
https://github.com/llvm/llvm-project/commit/54e2749609d7114f4a48f4146cddeecf76d935a4
DIFF:
https://github.com/llvm/llvm-project/commit/54e2749609d7114f4a48f4146cddeecf76d935a4.diff
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nathan Sidwell (urnathan)
Changes
An 8 bit bitfield with preferred bool type? Seems confused.
---
Full diff: https://github.com/llvm/llvm-project/pull/74893.diff
1 Files Affected:
- (modified) clang/include/clang/Basic/TargetInfo.h (-1)
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
Remove some uses of macro __CYGWIN__ .
Fix build error by Clang due to the conflict of CIndexer.cpp and mm_malloc.h.
In mm_malloc.h, _WIN32 and __CYGWIN__ can't both be defined, but CIndexer.cpp
d
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
Remove some uses of macro __CYGWIN__ .
Fix build error by Clang due to the conflict of CIndexer.cpp and mm_malloc.h.
In mm_malloc.h, _WIN32 and __CYGWIN__ can't both be defined, but CIndexer.cpp
define
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/6] [Clang][Sema] Check the number of lambda non-concept
tempate pa
https://github.com/XDeme created https://github.com/llvm/llvm-project/pull/74943
Fixes llvm/llvm-project#74901
>From b80f8579dbc745ddfaa3d60770dd0d3e79e6c641 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Sat, 9 Dec 2023 14:31:12 -0300
Subject: [PATCH] Fixes overload operator in BreakAfterAttribute
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: None (XDeme)
Changes
Fixes llvm/llvm-project#74901
---
Full diff: https://github.com/llvm/llvm-project/pull/74943.diff
2 Files Affected:
- (modified) clang/lib/Format/ContinuationIndenter.cpp (+2-1)
- (modified) clang/unittests/
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/7] [Clang][Sema] Check the number of lambda non-concept
tempate pa
@@ -593,7 +593,8 @@ bool ContinuationIndenter::mustBreak(const LineState
&State) {
// name.
!Style.isJavaScript()) ||
(Current.is(tok::kw_operator) && Previous.isNot(tok::coloncolon))) &&
- Previous.isNot(tok::kw_template) && CurrentState.BreakBefor
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/8] [Clang][Sema] Check the number of lambda non-concept
tempate pa
@@ -26417,6 +26417,20 @@ TEST_F(FormatTest, BreakAfterAttributes) {
"void g() {}",
CtorDtorCode, Style);
+ Style.ReferenceAlignment = FormatStyle::ReferenceAlignmentStyle::RAS_Left;
XDeme wrote:
To restore the value, is it ok if
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 1/9] [Clang][Sema] Check the number of lambda non-concept
tempate pa
Author: Justin Bogner
Date: 2023-12-09T10:42:45-08:00
New Revision: 7a13e410fd40d4ee2c89355f3d2f9a309cdff2c7
URL:
https://github.com/llvm/llvm-project/commit/7a13e410fd40d4ee2c89355f3d2f9a309cdff2c7
DIFF:
https://github.com/llvm/llvm-project/commit/7a13e410fd40d4ee2c89355f3d2f9a309cdff2c7.diff
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/74943
>From b80f8579dbc745ddfaa3d60770dd0d3e79e6c641 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Sat, 9 Dec 2023 14:31:12 -0300
Subject: [PATCH 1/2] Fixes overload operator in BreakAfterAttributes
---
clang/lib/Format/Co
@@ -26417,6 +26417,20 @@ TEST_F(FormatTest, BreakAfterAttributes) {
"void g() {}",
CtorDtorCode, Style);
+ Style.ReferenceAlignment = FormatStyle::ReferenceAlignmentStyle::RAS_Left;
XDeme wrote:
Changed verifyFormat -> verifyNoC
Author: Craig Topper
Date: 2023-12-09T11:32:19-08:00
New Revision: 84b907d217776efcfca5c7d2cce7b279f09265a6
URL:
https://github.com/llvm/llvm-project/commit/84b907d217776efcfca5c7d2cce7b279f09265a6
DIFF:
https://github.com/llvm/llvm-project/commit/84b907d217776efcfca5c7d2cce7b279f09265a6.diff
Author: Justin Bogner
Date: 2023-12-09T12:33:32-08:00
New Revision: 02e02b9a8f0e22ffc0d6c070b132a88e94f02861
URL:
https://github.com/llvm/llvm-project/commit/02e02b9a8f0e22ffc0d6c070b132a88e94f02861
DIFF:
https://github.com/llvm/llvm-project/commit/02e02b9a8f0e22ffc0d6c070b132a88e94f02861.diff
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Craig Topper (topperc)
Changes
We can decompose the type into ElementType and MinSize and use those to perform
the checks. This is more efficient than using isRVVType.
This also fixes a bug that we didn't disallow vbool64_t on Zv
https://github.com/XDeme deleted https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Craig Topper (topperc)
Changes
If vector isn't enabled at all, we might hit one of the earlier
diagnostics and the requires Zve32x diagnostic. The Zve32x diagnostic
would be redundant.
This is tsacked on #74949
---
Full diff: https://gith
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 02e02b9a8f0e22ffc0d6c070b132a88e94f02861
45b1acc66d1c3cfd87d8031be4aaa8a2870efc9a --
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 01/10] [Clang][Sema] Check the number of lambda non-concept
tempate
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/74943
>From b80f8579dbc745ddfaa3d60770dd0d3e79e6c641 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Sat, 9 Dec 2023 14:31:12 -0300
Subject: [PATCH 1/3] Fixes overload operator in BreakAfterAttributes
---
clang/lib/Format/Co
https://github.com/XDeme deleted https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -593,7 +593,8 @@ bool ContinuationIndenter::mustBreak(const LineState
&State) {
// name.
!Style.isJavaScript()) ||
(Current.is(tok::kw_operator) && Previous.isNot(tok::coloncolon))) &&
- Previous.isNot(tok::kw_template) && CurrentState.BreakBefor
@@ -26417,6 +26417,20 @@ TEST_F(FormatTest, BreakAfterAttributes) {
"void g() {}",
CtorDtorCode, Style);
+ Style.ReferenceAlignment = FormatStyle::ReferenceAlignmentStyle::RAS_Left;
+ constexpr StringRef OperatorOverloadCode(
XD
https://github.com/XDeme deleted https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/74943
>From b80f8579dbc745ddfaa3d60770dd0d3e79e6c641 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Sat, 9 Dec 2023 14:31:12 -0300
Subject: [PATCH 1/4] Fixes overload operator in BreakAfterAttributes
---
clang/lib/Format/Co
@@ -26417,6 +26417,20 @@ TEST_F(FormatTest, BreakAfterAttributes) {
"void g() {}",
CtorDtorCode, Style);
+ Style.ReferenceAlignment = FormatStyle::ReferenceAlignmentStyle::RAS_Left;
XDeme wrote:
Fixed, Moved test to the bottom
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 01/11] [Clang][Sema] Check the number of lambda non-concept
tempate
@@ -593,7 +593,8 @@ bool ContinuationIndenter::mustBreak(const LineState
&State) {
// name.
!Style.isJavaScript()) ||
(Current.is(tok::kw_operator) && Previous.isNot(tok::coloncolon))) &&
- Previous.isNot(tok::kw_template) && CurrentState.BreakBefor
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 01/12] [Clang][Sema] Check the number of lambda non-concept
tempate
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 01/13] [Clang][Sema] Check the number of lambda non-concept
tempate
Author: Kazu Hirata
Date: 2023-12-09T14:28:45-08:00
New Revision: cc4ecfd68b79a44f101fe9924d088a83477797c0
URL:
https://github.com/llvm/llvm-project/commit/cc4ecfd68b79a44f101fe9924d088a83477797c0
DIFF:
https://github.com/llvm/llvm-project/commit/cc4ecfd68b79a44f101fe9924d088a83477797c0.diff
L
Author: Kazu Hirata
Date: 2023-12-09T14:28:45-08:00
New Revision: cc4ecfd68b79a44f101fe9924d088a83477797c0
URL:
https://github.com/llvm/llvm-project/commit/cc4ecfd68b79a44f101fe9924d088a83477797c0
DIFF:
https://github.com/llvm/llvm-project/commit/cc4ecfd68b79a44f101fe9924d088a83477797c0.diff
L
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Fangrui Song (MaskRay)
Changes
GCC sets `#define HAVE_atomic_compare_and_swapti 1` and therefore
defines `__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16`.
Clang compiles the 16-byte legacy `__sync_bool_compare_and_swap` and new
`__atomic_co
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Fangrui Song (MaskRay)
Changes
GCC sets `#define HAVE_atomic_compare_and_swapti 1` and therefore
defines `__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16`.
Clang compiles the 16-byte legacy `__sync_bool_compare_and_swap` and new
`__atomic_compare_exch
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/74943
>From b80f8579dbc745ddfaa3d60770dd0d3e79e6c641 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Sat, 9 Dec 2023 14:31:12 -0300
Subject: [PATCH 1/5] Fixes overload operator in BreakAfterAttributes
---
clang/lib/Format/Co
https://github.com/comex approved this pull request.
https://github.com/llvm/llvm-project/pull/74954
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/74885
>From 12cc1fe332fbab94c1368ea95374d5a1289a22f8 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Sat, 9 Dec 2023 04:57:15 +0800
Subject: [PATCH 01/14] [Clang][Sema] Check the number of lambda non-concept
tempate
koachan wrote:
> Doesn’t the ABI require you to emit magic STT_REGISTER or whatever they are
> symbols to mark this?
Yeah, when targeting 64-bit and we're *not* reserving %g2, %g3, %g6, or %g7
then we should emit STT_SPARC_REGISTER entries for those registers.
However, currently we never emit
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Fangrui Song (MaskRay)
Changes
For
`__atomic_compare_exchange{,_n}/__c11_atomic_compare_exchange_{strong,weak}`,
GCC checks both the success memory order and the failure memory order
under the default -Winvalid-memory-model ("memory model"
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/74943
>From b80f8579dbc745ddfaa3d60770dd0d3e79e6c641 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Sat, 9 Dec 2023 14:31:12 -0300
Subject: [PATCH 1/6] Fixes overload operator in BreakAfterAttributes
---
clang/lib/Format/Co
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-clang
Author: Mircea Trofin (mtrofin)
Changes
Akin other passes - refactored the name to `InstrProfilingLoweringPass` to
better communicate what it does, and split the pass part and the transformation
part to avoid ne
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: Mircea Trofin (mtrofin)
Changes
Akin other passes - refactored the name to `InstrProfilingLoweringPass` to
better communicate what it does, and split the pass part and the transformation
part to avoid needing to initialize objec
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: Nathan Ridge (HighCommander4)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74971.diff
1 Files Affected:
- (modified) clang-tools-extra/clangd/SemanticHighlighting.cpp (+2-1)
``diff
diff --git a/clang-too
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74973.diff
3 Files Affected:
- (modified) clang/lib/Basic/Targets/ARM.cpp (-2)
- (modified) clang/lib/Basic/Targets/X86.cpp (+7-2)
- (modifi
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 b85f1f9b182234ba366d78ae2174a149e44d08c1
376c504e6a559be2b538291e066b1a67c05e5a82 --
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
This fix bootstraping on Cygwin, using GCC 13.2.0 as stage 0 compiler.
It seems that the size of CallArgList can't exceed an unknown limit.
---
Full diff: https://github.com/llvm/llvm-project/pull/749
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
This fix bootstraping on Cygwin, using GCC 13.2.0 as stage 0 compiler.
It seems that the size of CallArgList can't exceed an unknown limit.
---
Full diff: https://github.com/llvm/llvm-project/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74979.diff
1 Files Affected:
- (modified) clang/lib/Driver/ToolChains/MinGW.cpp (+1)
``diff
diff --git a/clang/lib/Driver/ToolChain
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74981.diff
1 Files Affected:
- (modified) clang/lib/Driver/ToolChains/MinGW.cpp (+1-1)
``diff
dif
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: 徐持恒 Xu Chiheng (xu-chiheng)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74982.diff
1 Files Affected:
- (modified) clang/include/clang/Interpreter/Value.h (+2-2)
``diff
diff --git a/clang/include/clang/In
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 2f69dc21876669a8252a0773001ba73781085ac7
02cbefc8112d73b11f835da30db4ed3344db9d48 --
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (yjijd)
Changes
LoongArch gcc complies with the lp64d calling convention to pass vector
arguments currently. This patch makes clang be consistent with gcc.
---
Patch is 1.89 MiB, truncated to 20.00 KiB below, full version:
https://
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: None (yjijd)
Changes
LoongArch gcc complies with the lp64d calling convention to pass vector
arguments currently. This patch makes clang be consistent with gcc.
---
Patch is 1.89 MiB, truncated to 20.00 KiB below, full version:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Qizhi Hu (jcsxky)
Changes
Import return type of a function would lead infinite recursion when
`getAssociatedDecl()` returns itself in
`ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr`. Delay import the return
type whether it is auto w
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
This is a follow-up patch for [D156993](https://reviews.llvm.org/D156993), that
marks only the lambda body as non-immediate context.
Fixes https://github.com/llvm/llvm-project/issues/71684
---
Patch is 20.
llvmbot wrote:
@llvm/pr-subscribers-libcxx
Author: Hristo Hristov (H-G-Hristov)
Changes
Implements: [P2821R5](https://wg21.link/P2821R5)
---
Full diff: https://github.com/llvm/llvm-project/pull/74994.diff
5 Files Affected:
- (modified) libcxx/docs/ReleaseNotes/18.rst (+1)
- (modified)
llvmbot wrote:
@llvm/pr-subscribers-backend-webassembly
@llvm/pr-subscribers-clang
Author: Nathan Sidwell (urnathan)
Changes
Reimplement the SysV (non-Microsoft) bitfield access unit computation. For
avoidance of doubt, this is not an ABI change, but the memory accesses Clang
emits to ac
https://github.com/Da-Viper updated
https://github.com/llvm/llvm-project/pull/69102
>From 21156656433fb8d2dc5a805d97cbd20fa916fff9 Mon Sep 17 00:00:00 2001
From: Ezike Ebuka
Date: Sun, 15 Oct 2023 11:39:42 +0100
Subject: [PATCH 1/9] Fix #35272: Don't replace typedefs in extern c scope
---
...
@@ -583,20 +583,31 @@ bool ContinuationIndenter::mustBreak(const LineState
&State) {
return true;
}
- // If the return type spans multiple lines, wrap before the function name.
- if (((Current.is(TT_FunctionDeclarationName) &&
-!State.Line->ReturnTypeWrapped
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/74943
>From b80f8579dbc745ddfaa3d60770dd0d3e79e6c641 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Sat, 9 Dec 2023 14:31:12 -0300
Subject: [PATCH 1/7] Fixes overload operator in BreakAfterAttributes
---
clang/lib/Format/Co
@@ -583,21 +583,31 @@ bool ContinuationIndenter::mustBreak(const LineState
&State) {
return true;
}
- // If the return type spans multiple lines, wrap before the function name.
- if (((Current.is(TT_FunctionDeclarationName) &&
-!State.Line->ReturnTypeWrapped
@@ -26465,6 +26451,21 @@ TEST_F(FormatTest, BreakAfterAttributes) {
"{\n"
"}",
CtorDtorCode, Style);
+
+ Style.BreakBeforeBraces = FormatStyle::BS_Attach;
+ Style.ReferenceAlignment = FormatStyle::ReferenceAlignmentStyle::RAS_Left;
@@ -583,20 +583,31 @@ bool ContinuationIndenter::mustBreak(const LineState
&State) {
return true;
}
- // If the return type spans multiple lines, wrap before the function name.
- if (((Current.is(TT_FunctionDeclarationName) &&
-!State.Line->ReturnTypeWrapped
XDeme wrote:
One thing that I checked only now, is that with clang-format 16.0.6 and 17.0.6,
it formats correctly.
But with `clang-format version 18.0.0 (https://github.com/llvm/llvm-project.git
a6c02edd6eac476523b5c73f29619a7a9e054872)` is doens't anymore, so this is a
regression introduced r
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/74943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1301 - 1400 of 390743 matches
Mail list logo