https://github.com/vgvassilev created
https://github.com/llvm/llvm-project/pull/107737
This patch improves the design of the IncrementalParser and Interpreter
classes. Now the incremental parser is only responsible for building the
partial translation unit declaration and the AST, while the In
https://github.com/vgvassilev edited
https://github.com/llvm/llvm-project/pull/107737
___
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: Vassil Vassilev (vgvassilev)
Changes
This patch improves the design of the IncrementalParser and Interpreter
classes. Now the incremental parser is only responsible for building the
partial translation unit declaration and the AST, while
kazutakahirata wrote:
> LGTM with the note that converting these to SmallSetVector would probably be
> more elegant...
Sure.
https://github.com/llvm/llvm-project/pull/107728
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.o
Author: Kazu Hirata
Date: 2024-09-08T00:08:06-07:00
New Revision: 81ec7bd4183439ba824045b92f00fdebb10ff224
URL:
https://github.com/llvm/llvm-project/commit/81ec7bd4183439ba824045b92f00fdebb10ff224
DIFF:
https://github.com/llvm/llvm-project/commit/81ec7bd4183439ba824045b92f00fdebb10ff224.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/107728
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/107738
Cleaning up _all_ the scopes is a little too much. Only clean up until the
point here we started the scope relevant for the break/continue statement.
>From 0de29f7ce0b2e2fd6e153de6c2bd4e7d44a74872 Mon Sep 17 0
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Cleaning up _all_ the scopes is a little too much. Only clean up until the
point here we started the scope relevant for the break/continue statement.
---
Full diff: https://github.com/llvm/llvm-project/pull/
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/107506
>From bd7da6ec9afabd829010db4c33d088590ab68b5a Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 5 Sep 2024 19:44:46 -0700
Subject: [PATCH 1/3] [clang-format] Fix a regression on BAS_AlwaysBreak
Fixes #107401.
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/107506
___
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/107506
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/107743
We could also use range-based for loops at several places, but I'm
leaving that to a subsequent patch.
>From cb2cc5934488f75664eee61b26a9a3ce3f27010c Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
We could also use range-based for loops at several places, but I'm
leaving that to a subsequent patch.
---
Full diff: https://github.com/llvm/llvm-project/pull/107743.diff
1 Files Affected:
- (modif
Author: Kazu Hirata
Date: 2024-09-08T01:26:24-07:00
New Revision: 13546c284fc31fa5543b07941e864b9b0aaa8638
URL:
https://github.com/llvm/llvm-project/commit/13546c284fc31fa5543b07941e864b9b0aaa8638
DIFF:
https://github.com/llvm/llvm-project/commit/13546c284fc31fa5543b07941e864b9b0aaa8638.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/107736
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building
`clang` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/30/builds/5709
Here is the relevant piece of t
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Po
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Po
https://github.com/kazutakahirata edited
https://github.com/llvm/llvm-project/pull/107743
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
dtcxzyw wrote:
Ping.
https://github.com/llvm/llvm-project/pull/104741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5157,14 +5163,12 @@ void
RewriteModernObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) {
// Unique all "by copy" declarations.
for (unsigned i = 0; i < BlockDeclRefs.size(); i++)
if (!BlockDeclRefs[i]->getDecl()->hasAttr()) {
nikic wrote:
Can d
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/107743
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4082,8 +4080,10 @@ std::string
RewriteModernObjC::SynthesizeBlockFunc(BlockExpr *CE, int i,
// Create local declarations to avoid rewriting all closure decl ref exprs.
// First, emit a declaration for all "by ref" decls.
- for (SmallVectorImpl::iterator I = BlockByRe
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Po
nfrmtk wrote:
ping @cor3ntin
https://github.com/llvm/llvm-project/pull/105647
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Po
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/107458
>From 60e30f156f1d8dcf015b10704c8ebbab5cd36ce5 Mon Sep 17 00:00:00 2001
From: jofernau
Date: Thu, 5 Sep 2024 23:31:55 -0400
Subject: [PATCH] [HIP][Clang][CodeGen] Handle hip bin symbols properly.
Remove '_' in fa
https://github.com/cor3ntin approved this pull request.
LGTM, thanks!
Sorry the review took some time
https://github.com/llvm/llvm-project/pull/97308
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/107458
>From b21b6c38f6a4cfb3103bb60b3122be4b5253b57f Mon Sep 17 00:00:00 2001
From: jofernau
Date: Thu, 5 Sep 2024 23:31:55 -0400
Subject: [PATCH] [HIP][Clang][CodeGen] Handle hip bin symbols properly.
Remove '_' in fa
Author: Simon Pilgrim
Date: 2024-09-08T14:07:38+01:00
New Revision: 0f1bc5dbf3c51a1ee33d6037a6a169f0b0fbe217
URL:
https://github.com/llvm/llvm-project/commit/0f1bc5dbf3c51a1ee33d6037a6a169f0b0fbe217
DIFF:
https://github.com/llvm/llvm-project/commit/0f1bc5dbf3c51a1ee33d6037a6a169f0b0fbe217.diff
philnik777 wrote:
What's the status of this? I'd really like to use it in a libc++ optimization.
https://github.com/llvm/llvm-project/pull/102476
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
cor3ntin wrote:
@sdkrystian can you merge soon so that we can cherry pick in 19? thanks!
https://github.com/llvm/llvm-project/pull/104458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
https://github.com/jofrn edited https://github.com/llvm/llvm-project/pull/107458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata updated
https://github.com/llvm/llvm-project/pull/107743
>From cb2cc5934488f75664eee61b26a9a3ce3f27010c Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 8 Sep 2024 00:48:25 -0700
Subject: [PATCH 1/2] [FrontEnd] Use SetVector for BlockByCopyDecls (NFC)
We
@@ -4082,8 +4080,10 @@ std::string
RewriteModernObjC::SynthesizeBlockFunc(BlockExpr *CE, int i,
// Create local declarations to avoid rewriting all closure decl ref exprs.
// First, emit a declaration for all "by ref" decls.
- for (SmallVectorImpl::iterator I = BlockByRe
@@ -5157,14 +5163,12 @@ void
RewriteModernObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) {
// Unique all "by copy" declarations.
for (unsigned i = 0; i < BlockDeclRefs.size(); i++)
if (!BlockDeclRefs[i]->getDecl()->hasAttr()) {
kazutakahirata wrot
yronglin wrote:
Thanks for your review!
https://github.com/llvm/llvm-project/pull/97308
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: yronglin
Date: 2024-09-08T22:36:49+08:00
New Revision: 45c8766973bb3bb73dd8d996231e114dcf45df9f
URL:
https://github.com/llvm/llvm-project/commit/45c8766973bb3bb73dd8d996231e114dcf45df9f
DIFF:
https://github.com/llvm/llvm-project/commit/45c8766973bb3bb73dd8d996231e114dcf45df9f.diff
LOG:
https://github.com/yronglin closed
https://github.com/llvm/llvm-project/pull/97308
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2024-09-08T07:48:30-07:00
New Revision: e29e7e726614d59cd5adae1f81266de947ee2f3b
URL:
https://github.com/llvm/llvm-project/commit/e29e7e726614d59cd5adae1f81266de947ee2f3b
DIFF:
https://github.com/llvm/llvm-project/commit/e29e7e726614d59cd5adae1f81266de947ee2f3b.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/107743
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/107757
None
>From 54c996208763db5003e3d7f1e03aaee3de634664 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 8 Sep 2024 07:20:15 -0700
Subject: [PATCH] [Frontend] Use range-based for loops (NFC)
---
.../F
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/107757.diff
1 Files Affected:
- (modified) clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp (+48-60)
``diff
diff --git a/clang/lib
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/107758
None
>From f4517cfe4d48b964001a74452a200558746a3b7e Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 8 Sep 2024 07:41:45 -0700
Subject: [PATCH] [APINotes] Avoid repeated hash lookups (NFC)
---
cla
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/107759
None
>From 98280f2c6c2d1e3b6b0566f3c77649e00fe75da9 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 8 Sep 2024 07:43:18 -0700
Subject: [PATCH] [CodeGen] Avoid repeated hash lookups (NFC)
---
clan
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/107758.diff
1 Files Affected:
- (modified) clang/lib/APINotes/APINotesWriter.cpp (+2-8)
``diff
diff --git a/clang/lib/APINotes/API
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-codegen
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/107759.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CoverageMappingGen.cpp (+1-6)
``di
https://github.com/philnik777 edited
https://github.com/llvm/llvm-project/pull/99473
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/107759
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
dougsonos wrote:
In working with this version of the compiler, I've discovered a pain point with
libc++, `std::__libcpp_verbose_abort()`. Many things which one would expect to
be nonblocking, e.g. `std::vector::operator[]`, have hardening paths which
call `__libcpp_verbose_abort()` on failure.
dougsonos wrote:
> I do agree, it seems reasonable for it to be in `-Wall` or similar! That is
> absolutely what I'd expect as a user :)
I guess my thinking was colored a bit by the way many of our codebases use
`-Wall`.
I did come around to thinking that without `-Wall`, it's cleaner for the
https://github.com/zimirza updated
https://github.com/llvm/llvm-project/pull/107285
From b982621407a1ab1746a023809aae5c6a2b983679 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=97=D0=B8=D1=88=D0=B0=D0=BD=20=D0=9C=D0=B8=D1=80=D0=B7?=
=?UTF-8?q?=D0=B0?= <149377404+zimi...@users.noreply.github.com>
@@ -0,0 +1,26 @@
+//===-- Implementation of ctime function
--===//
+//
+// 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: Apa
@@ -37,6 +37,7 @@ enum Month : int {
};
struct TimeConstants {
+ static constexpr int MAXIMUM_32_BIT_VALUE = 2147483647;
zimirza wrote:
I have removed the constant and used this function.
https://github.com/llvm/llvm-project/pull/107285
@@ -0,0 +1,26 @@
+//===-- Implementation of ctime function
--===//
+//
+// 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: Apa
@@ -0,0 +1,64 @@
+//===-- Unittests for ctime_r
-===//
+//
+// 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: Apa
https://github.com/nicovank created
https://github.com/llvm/llvm-project/pull/107764
Fix #107724.
>From a43b9b74ac253c0072498007cf56ed57d8255143 Mon Sep 17 00:00:00 2001
From: Nicolas van Kempen
Date: Sun, 8 Sep 2024 11:52:28 -0400
Subject: [PATCH] [clang][analyzer] Fix #embed crash
Fix #10
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nicolas van Kempen (nicovank)
Changes
Fix #107724.
---
Full diff: https://github.com/llvm/llvm-project/pull/107764.diff
2 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Core/ExprEngine.cpp (+1-4)
- (added) clang/test/Analysis/
nicovank wrote:
PS: Should this be cherry-picked into 19?
https://github.com/llvm/llvm-project/pull/107764
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2024-09-08T09:04:20-07:00
New Revision: 08085eddfdca51f2bcc23945579109d01b730310
URL:
https://github.com/llvm/llvm-project/commit/08085eddfdca51f2bcc23945579109d01b730310
DIFF:
https://github.com/llvm/llvm-project/commit/08085eddfdca51f2bcc23945579109d01b730310.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/107759
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-aarch64-sve-vla-2stage` running on `linaro-g3-03` while building `clang`
at step 11 "build stage 2".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/41/builds/1894
Here is the relevant piece of
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/107738
>From 17478ebc579cbbaceb9d54ad114b8633112f1f1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 8 Sep 2024 07:30:40 +0200
Subject: [PATCH] [clang][bytecode] Fix a variable scope problem w
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running
on `systemz-1` while building `clang` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/42/builds/1006
Here is the relevant piece of the build log f
https://github.com/Backl1ght created
https://github.com/llvm/llvm-project/pull/107768
fix https://github.com/llvm/llvm-project/issues/107629
TODO: add UT.
TODO: test UB mentioned in https://github.com/llvm/llvm-project/issues/107629.
>From 65172d8391cef4c0c7e239c9a09b34e061f4963a Mon Sep 17 00
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/107757
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/107758
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2024-09-08T09:50:34-07:00
New Revision: 668cbd84099c82f9c34e220a019db2f5f50f4320
URL:
https://github.com/llvm/llvm-project/commit/668cbd84099c82f9c34e220a019db2f5f50f4320
DIFF:
https://github.com/llvm/llvm-project/commit/668cbd84099c82f9c34e220a019db2f5f50f4320.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/107757
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/107758
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2024-09-08T09:50:44-07:00
New Revision: bdb6f1b9d6d6262f1a0f96f410c2702a438a7498
URL:
https://github.com/llvm/llvm-project/commit/bdb6f1b9d6d6262f1a0f96f410c2702a438a7498
DIFF:
https://github.com/llvm/llvm-project/commit/bdb6f1b9d6d6262f1a0f96f410c2702a438a7498.diff
L
Author: Timm Baeder
Date: 2024-09-08T19:22:18+02:00
New Revision: 6f67c386845be85cfcbf5c90949edcdaf40a0ef7
URL:
https://github.com/llvm/llvm-project/commit/6f67c386845be85cfcbf5c90949edcdaf40a0ef7
DIFF:
https://github.com/llvm/llvm-project/commit/6f67c386845be85cfcbf5c90949edcdaf40a0ef7.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/107738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jurahul deleted
https://github.com/llvm/llvm-project/pull/107692
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2808,10 +2806,10 @@ RecordRecTy *Record::getType() {
return RecordRecTy::get(TrackedRecords, DirectSCs);
}
-DefInit *Record::getDefInit() {
+DefInit *Record::getDefInit() const {
if (!CorrespondingDefInit) {
-CorrespondingDefInit =
-new (TrackedRecords.get
@@ -2808,10 +2806,10 @@ RecordRecTy *Record::getType() {
return RecordRecTy::get(TrackedRecords, DirectSCs);
}
-DefInit *Record::getDefInit() {
+DefInit *Record::getDefInit() const {
if (!CorrespondingDefInit) {
-CorrespondingDefInit =
-new (TrackedRecords.get
https://github.com/daniel-petrovic created
https://github.com/llvm/llvm-project/pull/107773
Fixes #106576
In `Sema::PerformImplicitConversion` for standard conversion sequence the
NonAtomicToAtomic conversion is not reverted back after 3.rd conversion step if
not starting from scalar initial
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
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Daniel Petrovic (daniel-petrovic)
Changes
Fixes #106576
In `Sema::PerformImplicitConversion` for standard conversion sequence the
NonAtomicToAtomic conversion is not reverted back after 3.rd conversion step if
not starting from scalar i
https://github.com/AMS21 updated https://github.com/llvm/llvm-project/pull/91124
>From 84c8e546c0826ddcf9c580b9368541670ed05068 Mon Sep 17 00:00:00 2001
From: AMS21
Date: Tue, 16 Apr 2024 08:56:13 +0200
Subject: [PATCH] [clang-tidy] Add `modernize-use-uniform-initializer` check
Finds usage of C
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Po
https://github.com/daniel-petrovic converted_to_draft
https://github.com/llvm/llvm-project/pull/107773
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mstorsjo wrote:
Overall, thanks for the PR - this looks very exciting to me!
First off, I think it'd be good to set the scope for this. This is one of the
historical Windows architectures, supported in early versions of NT and CE. As
such, it probably has mostly hobbyist value at this point. H
tarik-celik wrote:
Ping
https://github.com/llvm/llvm-project/pull/106198
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Poussineau ,
=?utf-8?q?Hervé?= Po
https://github.com/daniel-petrovic updated
https://github.com/llvm/llvm-project/pull/107773
>From 20f065d70ab4ff8b3f77b53db6ce6cf1033e00aa Mon Sep 17 00:00:00 2001
From: Daniel Petrovic
Date: Sun, 8 Sep 2024 21:29:57 +0200
Subject: [PATCH] [clang][Frontend] Fix Sema::PerformImplicitConversion f
@@ -0,0 +1,10 @@
+// RUN: %clang_analyze_cc1 -w -analyzer-checker=nullability \
+// RUN: -analyzer-output=text -verify %s
+//
+// expected-no-diagnostics
+//
+// This case previously crashed because of an assert in CheckerManager.cpp,
+// checking for registe
@@ -48,15 +48,7 @@ bool CheckerManager::hasPathSensitiveCheckers() const {
EvalCallCheckers, EndOfTranslationUnitCheckers);
}
-void CheckerManager::finishedCheckerRegistration() {
-#ifndef NDEBUG
- // Make sure that for every event that has listeners, there is at least
https://github.com/a-tarasyuk created
https://github.com/llvm/llvm-project/pull/107786
Fixes #107047
Fixes #49093
>From b50e49be3765c31b1c555384c41e1f528d529a88 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Mon, 9 Sep 2024 02:30:35 +0300
Subject: [PATCH] [Clang] prevent recovery call expres
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Oleksandr T. (a-tarasyuk)
Changes
Fixes #107047
Fixes #49093
---
Full diff: https://github.com/llvm/llvm-project/pull/107786.diff
3 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+2-1)
- (modified) clang/lib/Sema/SemaTemplat
https://github.com/sookach updated
https://github.com/llvm/llvm-project/pull/101261
>From 7c6109ea5133941baf32ec57e48c770ad015b883 Mon Sep 17 00:00:00 2001
From: Andrew Sukach
Date: Tue, 30 Jul 2024 19:31:41 -0400
Subject: [PATCH] [clang] Improve diagnostics with incompatible VLA types
---
cl
c8ef wrote:
Dear reviewers, if you the patch looks good to you, could you please assist me
in merging it?
@SimplyDanny @shafik
https://github.com/llvm/llvm-project/pull/107665
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
https://github.com/huhu233 created
https://github.com/llvm/llvm-project/pull/107793
For the case,
```
long long res2[SIZE];
svst1(pa, (long *)&res2[0], v2);
/* use res2[i] */
```
svst1 is emitted with TBAA metadata for "long", but other users of "res2" use
"long long", which is a strict a
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: None (huhu233)
Changes
For the case,
```
long long res2[SIZE];
svst1(pa, (long *)&res2[0], v2);
/* use res2[i] */
```
svst1 is emitted with TBAA metadata for "long", but other users of "res2" use
"long long", which is a stric
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (huhu233)
Changes
For the case,
```
long long res2[SIZE];
svst1(pa, (long *)&res2[0], v2);
/* use res2[i] */
```
svst1 is emitted with TBAA metadata for "long", but other users of "res2" use
"long long", which is a strict aliasi
https://github.com/owenca requested changes to this pull request.
Running `FormatTests` failed:
```
[ RUN ] FormatTest.WrapNamespaceBodyWithEmptyLinesNever
Assertion failed: (TheLine->MatchingClosingBlockLineIndex > 0), function
tryFitMultipleLinesInOne, file UnwrappedLineFormatter.cpp, lin
https://github.com/trcrsired updated
https://github.com/llvm/llvm-project/pull/96417
>From 17608570eb2ba6086203f1f8eb20ebafc621caf2 Mon Sep 17 00:00:00 2001
From: trcrsired
Date: Sun, 23 Jun 2024 00:07:19 -0400
Subject: [PATCH] Support --sysroot= for ${arch}-windows-msvc targets
I think it is
https://github.com/tilobyte updated
https://github.com/llvm/llvm-project/pull/101857
>From c1afe853ccacae1605fecfe552bb9a263c6b8c1d Mon Sep 17 00:00:00 2001
From: Timothy Akintilo
Date: Sat, 27 Jul 2024 16:17:46 -0500
Subject: [PATCH 1/7] use lambda name instead of operator()
---
clang-tools-
@@ -6292,11 +6298,16 @@ SemaCodeCompletion::ProduceCallSignatureHelp(Expr *Fn,
ArrayRef Args,
SmallVector ArgExprs(1, NakedFn);
ArgExprs.append(ArgsWithoutDependentTypes.begin(),
ArgsWithoutDependentTypes.end());
+auto *const Lam
@@ -6292,11 +6298,16 @@ SemaCodeCompletion::ProduceCallSignatureHelp(Expr *Fn,
ArrayRef Args,
SmallVector ArgExprs(1, NakedFn);
ArgExprs.append(ArgsWithoutDependentTypes.begin(),
ArgsWithoutDependentTypes.end());
+auto *const Lam
1 - 100 of 145 matches
Mail list logo