llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve2-vla`
running on `linaro-g4-02` while building `clang-tools-extra` at step 7 "ninja
check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/198/builds/629
Here is the relevant pie
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running
on `linaro-clang-armv8-quick` while building `clang-tools-extra` at step 5
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/154/builds/9576
Here is the rele
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick`
running on `linaro-clang-aarch64-quick` while building `clang-tools-extra` at
step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/65/builds/9909
Here is the r
github-actions[bot] wrote:
@4m4n-x-B4w4ne Congratulations on having your first Pull Request (PR) merged
into the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a
https://github.com/HerrCai0907 closed
https://github.com/llvm/llvm-project/pull/120087
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: 4m4n-x-B4w4ne
Date: 2024-12-28T15:35:30+08:00
New Revision: 5bec2b71b44ddff44aa4d8534b58a5561389bb1d
URL:
https://github.com/llvm/llvm-project/commit/5bec2b71b44ddff44aa4d8534b58a5561389bb1d
DIFF:
https://github.com/llvm/llvm-project/commit/5bec2b71b44ddff44aa4d8534b58a5561389bb1d.diff
Author: Timm Baeder
Date: 2024-12-28T07:43:15+01:00
New Revision: 39e8953f892a51816aa1fde70829a61d7e756a51
URL:
https://github.com/llvm/llvm-project/commit/39e8953f892a51816aa1fde70829a61d7e756a51
DIFF:
https://github.com/llvm/llvm-project/commit/39e8953f892a51816aa1fde70829a61d7e756a51.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/121250
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/121251
>From af5d2292249514be8f2d13e92f98eb0df1d7eb32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 26 Dec 2024 08:54:48 +0100
Subject: [PATCH] [clang][bytecode] Add support for typeid pointe
https://github.com/galenelias updated
https://github.com/llvm/llvm-project/pull/105597
>From 93eb3d89652607173f4f68fce7dcc5b2bd33f266 Mon Sep 17 00:00:00 2001
From: Galen Elias
Date: Wed, 21 Aug 2024 16:33:42 -0700
Subject: [PATCH 01/14] clang-format: Add "AllowShortNamespacesOnASingleLine"
op
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
We don't need `E` before.
---
Full diff: https://github.com/llvm/llvm-project/pull/121250.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Pointer.cpp (+1-1)
``diff
diff --git a/clang/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Add it as another kind of pointer, saving both a `Type*` for the result of the
typeid() expression as well as one for the type of the typeid expression.
---
Full diff: https://github.com/llvm/llvm-project/pu
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/121250
We don't need `E` before.
>From 3ecbfa862eee6b6c1f009dfcf6b9791e77af97b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 28 Dec 2024 06:38:52 +0100
Subject: [PATCH] [clang][bytecode] Mo
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/121251
Add it as another kind of pointer, saving both a `Type*` for the result of the
typeid() expression as well as one for the type of the typeid expression.
>From aad3e96d970be36964faceec8d0a6df3dd27e5ff Mon Sep 1
@@ -616,6 +627,63 @@ class LineJoiner {
return 1;
}
+ unsigned tryMergeNamespace(SmallVectorImpl::const_iterator
I,
+ SmallVectorImpl::const_iterator
E,
+ unsigned Limit) {
+if (Limit == 0)
+ return 0;
+
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-lnt`
running on `systemz-1` while building `clang` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/136/builds/2161
Here is the relevant piece of the build
@@ -0,0 +1,14 @@
+// RUN: %clang_cc1 -fsyntax-only %s -verify
+// expected-no-diagnostics
+
+template
+int g() {
+ return [] (auto) -> int {
+struct L {
+ int m = i;
+};
+return 0;
+ } (42);
zyn0217 wrote:
I feel like this is some fallout of n
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/121245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/121245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/121245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/121245
___
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-tools-extra
Author: Nathan Ridge (HighCommander4)
Changes
Fixes https://github.com/clangd/clangd/issues/2154
---
Full diff: https://github.com/llvm/llvm-project/pull/121246.diff
3 Files Affected:
- (modified) clang-tools-extra/clangd/HeuristicR
https://github.com/HighCommander4 created
https://github.com/llvm/llvm-project/pull/121246
Fixes https://github.com/clangd/clangd/issues/2154
>From 3834e0c9b8018a662215a6eb6bd5878c67346215 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sun, 6 Oct 2024 00:41:48 -0400
Subject: [PATCH] [clangd
tahonermann wrote:
@erichkeane, thank you for the review comments so far. I think I've addressed
or responded to all of them and I look forward to your next round of review. I
don't expect you to see this message until January 6th or so, so I hope you are
enjoying, or have enjoyed, the holiday
@@ -206,3 +208,124 @@ void SemaSYCL::handleKernelEntryPointAttr(Decl *D, const
ParsedAttr &AL) {
D->addAttr(::new (SemaRef.Context)
SYCLKernelEntryPointAttr(SemaRef.Context, AL, TSI));
}
+
+static SourceLocation SourceLocationForType(QualType QT) {
+ Source
@@ -283,10 +283,12 @@ static bool shouldCompletelyUnroll(const Stmt *LoopStmt,
ASTContext &ASTCtx,
llvm::APInt InitNum =
Matches[0].getNodeAs("initNum")->getValue();
auto CondOp = Matches[0].getNodeAs("conditionOperator");
- if (InitNum.getBitWidth() != BoundNum.get
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/121245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
4m4n-x-B4w4ne wrote:
@HerrCai0907 , Thanks I dont have any write permissions. Can you please help me
to merge?
https://github.com/llvm/llvm-project/pull/120087
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Michael Park (mpark)
Changes
This is fix for an unreachable code path being reached, for an internal use
case at Meta. I'm unfortunately still not able to reproduce a minimal example
that I can share 😞
# Description
There is a defaulted
https://github.com/mpark created
https://github.com/llvm/llvm-project/pull/121245
This is fix for an unreachable code path being reached, for an internal use
case at Meta. I'm unfortunately still not able to reproduce a minimal example
that I can share 😞
# Description
There is a defaulted co
@@ -319,10 +319,11 @@ Changes in existing checks
diagnostic.
- Improved :doc:`readability-implicit-bool-conversion
- ` check
- by adding the option `UseUpperCaseLiteralSuffix` to select the
- case of the literal suffix in fixes and fixing false positive for implicit
- co
https://github.com/4m4n-x-B4w4ne updated
https://github.com/llvm/llvm-project/pull/120087
>From 03f536888ddc5b7be2514c2d880c6d3119b7f4ee Mon Sep 17 00:00:00 2001
From: 4m4n-x-B4w4ne <125849251+4m4n-x-b4w...@users.noreply.github.com>
Date: Mon, 16 Dec 2024 19:43:42 +0530
Subject: [PATCH 01/34] Up
@@ -15978,6 +15988,24 @@ Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt
*Body,
CheckCoroutineWrapper(FD);
}
+ // Diagnose invalid SYCL kernel entry point function declarations.
+ if (FD && !FD->isInvalidDecl() && !FD->isTemplated() &&
tahonerma
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/121243
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vitaly Buka
Date: 2024-12-27T19:32:06-08:00
New Revision: 092966a44d1793e6bd53c191efeb5a5425fecde3
URL:
https://github.com/llvm/llvm-project/commit/092966a44d1793e6bd53c191efeb5a5425fecde3
DIFF:
https://github.com/llvm/llvm-project/commit/092966a44d1793e6bd53c191efeb5a5425fecde3.diff
L
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/105597
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/105597
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/105597
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca commented:
Please rebase and run `ninja clang-format-style`.
https://github.com/llvm/llvm-project/pull/105597
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -616,6 +627,63 @@ class LineJoiner {
return 1;
}
+ unsigned tryMergeNamespace(SmallVectorImpl::const_iterator
I,
+ SmallVectorImpl::const_iterator
E,
+ unsigned Limit) {
+if (Limit == 0)
+ return 0;
+
@@ -988,6 +988,10 @@ struct FormatStyle {
/// \version 3.7
bool AllowShortLoopsOnASingleLine;
+ /// If ``true``, ``namespace a { class b; }`` can be put on a single line.
+ /// \version 20
+ bool AllowShortNamespacesOnASingleLine;
owenca wrote:
You nee
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/105597
___
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
@llvm/pr-subscribers-clang-driver
Author: Vitaly Buka (vitalybuka)
Changes
Follow up to #121221.
---
Full diff: https://github.com/llvm/llvm-project/pull/121243.diff
1 Files Affected:
- (modified) clang/test/Driver/sanitizer-ld.c (+8-4)
```
https://github.com/vitalybuka created
https://github.com/llvm/llvm-project/pull/121243
Follow up to #121221.
>From 85581e8a0481388781b2c715fd746c908ea5fa04 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Fri, 27 Dec 2024 18:32:15 -0800
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=
AmrDeveloper wrote:
> #121240
Sure, i am interested, Thank you :D
https://github.com/llvm/llvm-project/pull/120996
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
By the way, in case you're interested in doing another one, I filed
https://github.com/llvm/llvm-project/issues/121240 about another missing
matcher I came across.
https://github.com/llvm/llvm-project/pull/120996
___
cfe-commits
HighCommander4 wrote:
Thank you @kleinesfilmroellchen for your contribution!
https://github.com/llvm/llvm-project/pull/67749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
Went ahead and merged this. Thanks @AmrDeveloper!
https://github.com/llvm/llvm-project/pull/120996
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/120996
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Amr Hesham
Date: 2024-12-27T19:10:24-05:00
New Revision: 48bf0a9457fd60d0872d9b9b4804a95c833a72e1
URL:
https://github.com/llvm/llvm-project/commit/48bf0a9457fd60d0872d9b9b4804a95c833a72e1
DIFF:
https://github.com/llvm/llvm-project/commit/48bf0a9457fd60d0872d9b9b4804a95c833a72e1.diff
LO
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/121057
>From 98d65a0b9a1189ce73d97d76527b458f93f17b43 Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Tue, 24 Dec 2024 23:32:02 +0800
Subject: [PATCH 1/3] [clang-tidy] add depercation warning for non-whitelisted
@@ -0,0 +1,3 @@
+// RUN: clang-tidy %s --config="{CheckOptions:{StrictMode: true}}"
-checks="-*,modernize-use-std-format" | FileCheck %s
+
+// CHECK: warning: deprecation global option 'StrictMode', please use
'modernize-use-std-format.StrictMode'. [clang-tidy-config]
-
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-bootstrap-asan` running on `sanitizer-buildbot1` while
building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/52/builds/4825
Here is the relevan
@@ -80,13 +80,47 @@ ARMBaseRegisterInfo::getCalleeSavedRegs(const
MachineFunction *MF) const {
? CSR_ATPCS_SplitPush_SwiftTail_SaveList
: CSR_AAPCS_SwiftTail_SaveList);
} else if (F.hasFnAttribute(
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/120920
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-commit
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/120920
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-commit
https://github.com/khyperia updated
https://github.com/llvm/llvm-project/pull/121231
>From 33b542152876b9ccbf42cc3d070d582c32145477 Mon Sep 17 00:00:00 2001
From: khyperia
Date: Fri, 27 Dec 2024 23:03:58 +0100
Subject: [PATCH] Add -fuse-lipo option
---
clang/include/clang/Driver/Options.td |
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 815343e7dd32cc4c5c903ac52daf87aaa4e4cd6e
51401ec4a8af7d926ba3c9faa818ecb9c68c0db7 --e
github-actions[bot] wrote:
⚠️ We detected that you are using a GitHub private e-mail address to contribute
to the repo. Please turn off [Keep my email addresses
private](https://github.com/settings/emails) setting in your account. See
[LLVM
Discourse](https://discourse.llvm.org/t/hidden-email
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ashley Hauck (khyperia)
Changes
This is my first LLVM PR! Please feel free to provide feedback/etc. - I am
especially unsure about the `Options.td` change - I just kind of guessed here.
Partially fixes https://github.com/llvm/llvm-project
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Ashley Hauck (khyperia)
Changes
This is my first LLVM PR! Please feel free to provide feedback/etc. - I am
especially unsure about the `Options.td` change - I just kind of guessed here.
Partially fixes https://github.com/llvm/llvm-
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/khyperia created
https://github.com/llvm/llvm-project/pull/121231
This is my first LLVM PR! Please feel free to provide feedback/etc. - I am
especially unsure about the `Options.td` change - I just kind of guessed here.
Partially fixes https://github.com/llvm/llvm-project/is
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/121221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vitaly Buka
Date: 2024-12-27T13:02:51-08:00
New Revision: b2fd0a7a7065658ab4a3355399978523c1370615
URL:
https://github.com/llvm/llvm-project/commit/b2fd0a7a7065658ab4a3355399978523c1370615
DIFF:
https://github.com/llvm/llvm-project/commit/b2fd0a7a7065658ab4a3355399978523c1370615.diff
L
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-s390x-linux-multistage` running on `systemz-1` while building
`clang,llvm` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/98/builds/811
Here is the relevant piece of
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jason Rice (ricejasonf)
Changes
In the development of P1061 (Structured Bindings Introduce a Patch), I found
this bug in the template instantiation of a
local class. The issue is caused by the instantiation of the original template
and no
https://github.com/ricejasonf created
https://github.com/llvm/llvm-project/pull/121225
In the development of P1061 (Structured Bindings Introduce a Patch), I found
this bug in the template instantiation of a
local class. The issue is caused by the instantiation of the original template
and not
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/67749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: kleines Filmröllchen
Date: 2024-12-27T14:14:29-05:00
New Revision: 1f90797f6a9d91d61e0f66b465b0467e4c66d0e0
URL:
https://github.com/llvm/llvm-project/commit/1f90797f6a9d91d61e0f66b465b0467e4c66d0e0
DIFF:
https://github.com/llvm/llvm-project/commit/1f90797f6a9d91d61e0f66b465b0467e4c66d0e
HighCommander4 wrote:
The rebased patch has green buildkite runs, so I will go ahead and merge it.
https://github.com/llvm/llvm-project/pull/67749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
https://github.com/Caslyn closed
https://github.com/llvm/llvm-project/pull/121217
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Caslyn wrote:
Fixed under https://github.com/llvm/llvm-project/pull/121221.
https://github.com/llvm/llvm-project/pull/121217
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
@MaskRay in case you have a nicer suggestion how to implement this check in
better way.
I'd like to force match of all libclang_rt. except specific list.
With `([^b]..|.[^u].|..[^i]).*` I can exclude only one, and expressions like
`(?!(ABC|XYZ)).*`, are not supported
https:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vitaly Buka (vitalybuka)
Changes
We need to exclude more than builtins, but it's
tricky with FileCheck regex. So switching to list
of libs we want to check.
---
Full diff: https://github.com/llvm/llvm-project/pull/121221.diff
1 Files
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Vitaly Buka (vitalybuka)
Changes
We need to exclude more than builtins, but it's
tricky with FileCheck regex. So switching to list
of libs we want to check.
---
Full diff: https://github.com/llvm/llvm-project/pull/121221.diff
1
https://github.com/vitalybuka created
https://github.com/llvm/llvm-project/pull/121221
We need to exclude more than builtins, but it's
tricky with FileCheck regex. So switching to list
of libs we want to check.
>From a2d45112466ba69eeb8ca9236469a653d6ff700c Mon Sep 17 00:00:00 2001
From: Vit
https://github.com/Caslyn updated
https://github.com/llvm/llvm-project/pull/121217
>From 40f56960789e48b2f9221b077c3aec6cc4c21838 Mon Sep 17 00:00:00 2001
From: Caslyn Tonelli
Date: Fri, 27 Dec 2024 09:56:10 -0800
Subject: [PATCH] [Driver] Annotate darwin check
---
clang/test/Driver/sanitizer
https://github.com/Caslyn created
https://github.com/llvm/llvm-project/pull/121217
None
>From d82b90749a5381af4a022c8102802012e78b107c Mon Sep 17 00:00:00 2001
From: Caslyn Tonelli
Date: Fri, 27 Dec 2024 09:56:10 -0800
Subject: [PATCH] [Driver] Annotate darwin check
---
clang/test/Driver/san
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/120920
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-commit
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
+// expected-no-diagnostics
+
+// Ensure the following out of line friend declaration doesn't cause the
compiler to crash.
+
+class A {
+ friend bool operator==(const A&, const A&);
+ friend class B;
+};
+
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/120920
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-commit
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/120920
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-commit
@@ -0,0 +1,54 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
@@ -283,10 +283,12 @@ static bool shouldCompletelyUnroll(const Stmt *LoopStmt,
ASTContext &ASTCtx,
llvm::APInt InitNum =
Matches[0].getNodeAs("initNum")->getValue();
auto CondOp = Matches[0].getNodeAs("conditionOperator");
- if (InitNum.getBitWidth() != BoundNum.get
https://github.com/steakhal commented:
Thanks for the nice reproducer!
The test looks a bit verbose to my taste, but it's okay as-is.
I had some deeper thoughts of the fix inline to settle before we could merge
this.
Thanks again for working on this issue!
https://github.com/llvm/llvm-project/
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/121203
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -319,10 +319,11 @@ Changes in existing checks
diagnostic.
- Improved :doc:`readability-implicit-bool-conversion
- ` check
- by adding the option `UseUpperCaseLiteralSuffix` to select the
- case of the literal suffix in fixes and fixing false positive for implicit
- co
https://github.com/shenjunjiekoda updated
https://github.com/llvm/llvm-project/pull/121203
>From 2cee5fc2abd0cf2979c9ba975906e659adcd4463 Mon Sep 17 00:00:00 2001
From: shenjunjie
Date: Fri, 27 Dec 2024 14:08:55 +
Subject: [PATCH 1/6] [analyzer] Fix zext assertion failure in loop unrolling
shenjunjiekoda wrote:
> Contributor
The crash occurred due to a failed assertion in the `zext` method of APInt. The
`zext` function requires the following condition to be met:
```cpp
// Zero extend to a new width.
APInt APInt::zext(unsigned width) const {
assert(width >= BitWidth && "Invalid
https://github.com/shenjunjiekoda updated
https://github.com/llvm/llvm-project/pull/121203
>From 2cee5fc2abd0cf2979c9ba975906e659adcd4463 Mon Sep 17 00:00:00 2001
From: shenjunjie
Date: Fri, 27 Dec 2024 14:08:55 +
Subject: [PATCH 1/5] [analyzer] Fix zext assertion failure in loop unrolling
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 6d34cfac53b993a6cdf3d6669e017eac3a2296c8
75fe805c9e2b45632e2653b3e3a1b7874ede2507 --e
https://github.com/shenjunjiekoda updated
https://github.com/llvm/llvm-project/pull/121203
>From 2cee5fc2abd0cf2979c9ba975906e659adcd4463 Mon Sep 17 00:00:00 2001
From: shenjunjie
Date: Fri, 27 Dec 2024 14:08:55 +
Subject: [PATCH 1/4] [analyzer] Fix zext assertion failure in loop unrolling
steakhal wrote:
Could you please add a RUN line to the test, and a `// no-crash` comment at the
line where previously crashed during interpretation?
I'd also prefer a `clang-formated` test file if possible.
Are you sure the test case is minimal and couldn't be minimized further now
that you kno
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/121203
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shenjunjiekoda updated
https://github.com/llvm/llvm-project/pull/121203
>From 2cee5fc2abd0cf2979c9ba975906e659adcd4463 Mon Sep 17 00:00:00 2001
From: shenjunjie
Date: Fri, 27 Dec 2024 14:08:55 +
Subject: [PATCH 1/2] [analyzer] Fix zext assertion failure in loop unrolling
@@ -184,6 +191,37 @@ let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in {
} // hasSideEffects = 0, mayLoad = 0, mayStore = 0
} // Predicates = [HasVendorXqcia, IsRV32], DecoderNamespace = "Xqcia"
+let Predicates = [HasVendorXqciac, IsRV32], DecoderNamespace = "Xqciac" in {
+
https://github.com/shenjunjiekoda updated
https://github.com/llvm/llvm-project/pull/121203
>From 2cee5fc2abd0cf2979c9ba975906e659adcd4463 Mon Sep 17 00:00:00 2001
From: shenjunjie
Date: Fri, 27 Dec 2024 14:08:55 +
Subject: [PATCH] [analyzer] Fix zext assertion failure in loop unrolling
---
https://github.com/chapuni closed
https://github.com/llvm/llvm-project/pull/110966
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
+// expected-no-diagnostics
+
+// Ensure the following out of line friend declaration doesn't cause the
compiler to crash.
+
+class A {
+ friend bool operator==(const A&, const A&);
+ friend class B;
+};
+
1 - 100 of 119 matches
Mail list logo