https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/147463
We were using the lexical DC as the starting point of template argument
collection when comparing declarations. This caused an issue that template
arguments from out-of-line declarations are ignored when substi
Himadhith wrote:
- The assertions for this file `clang/test/CodeGen/PowerPC/check-zero-vector.c`
are auto-generated.
- But for the file `llvm/test/CodeGen/PowerPC/check-zero-vectors.ll`, the
generated assertions were very long, I have limited them to the important code
blocks. Also changed th
@@ -43,17 +46,24 @@ namespace clang {
// Macro locations have the top bit set, we rotate by one so it is the low bit.
class SourceLocationEncoding {
using UIntTy = SourceLocation::UIntTy;
- constexpr static unsigned UIntBits = CHAR_BIT * sizeof(UIntTy);
static UIntTy en
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux`
running on `fuchsia-debian-64-us-central1-a-1` while building `clang` at step 4
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/11/builds/19001
Here is the relevant
@@ -43,17 +46,24 @@ namespace clang {
// Macro locations have the top bit set, we rotate by one so it is the low bit.
class SourceLocationEncoding {
using UIntTy = SourceLocation::UIntTy;
- constexpr static unsigned UIntBits = CHAR_BIT * sizeof(UIntTy);
static UIntTy en
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/147173
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-07-08T06:00:52+02:00
New Revision: 4c98da2cadfb23f6d4070db9136d8dc0a379bcc1
URL:
https://github.com/llvm/llvm-project/commit/4c98da2cadfb23f6d4070db9136d8dc0a379bcc1
DIFF:
https://github.com/llvm/llvm-project/commit/4c98da2cadfb23f6d4070db9136d8dc0a379bcc1.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147303
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147221
>From f1e26fed6c5023ba59990112ec4a77b024247e4b Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 4 Jul 2025 23:55:41 -0700
Subject: [PATCH 1/3] [clang] Fix -Wuninitialized for values passed by const
poin
@@ -0,0 +1,22 @@
+//===--===//
+//
+// 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
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/147138
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -13658,6 +13658,7 @@ bool SITargetLowering::isCanonicalized(Register Reg,
const MachineFunction &MF,
case Intrinsic::amdgcn_frexp_mant:
case Intrinsic::amdgcn_fdot2:
case Intrinsic::amdgcn_trig_preop:
+case Intrinsic::amdgcn_tanh:
arsenm wro
Author: Ashwin Kishin Banwari
Date: 2025-07-08T09:54:33+08:00
New Revision: 84be78524de7d06943570854cbf31537c8f45199
URL:
https://github.com/llvm/llvm-project/commit/84be78524de7d06943570854cbf31537c8f45199
DIFF:
https://github.com/llvm/llvm-project/commit/84be78524de7d06943570854cbf31537c8f451
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/146993
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/147292
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shafik wrote:
> Why doesn't C++20 below suffer from the issue?
>
> I think it's a waste to add a Sema scope object just for diagnostic issues.
> It's more like that there's an underlying issue that would be otherwise
> hidden by the patch. Can you explore?
Thank you for this PR but I agree th
Author: Ashwin Kishin Banwari
Date: 2025-07-08T10:00:55+08:00
New Revision: e427bd55a852eff2b7fed97941642be121557dca
URL:
https://github.com/llvm/llvm-project/commit/e427bd55a852eff2b7fed97941642be121557dca
DIFF:
https://github.com/llvm/llvm-project/commit/e427bd55a852eff2b7fed97941642be121557d
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/147135
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ashwin Kishin Banwari
Date: 2025-07-08T10:01:08+08:00
New Revision: 48ff068c525922e8323982795c69bbfbe49fea1e
URL:
https://github.com/llvm/llvm-project/commit/48ff068c525922e8323982795c69bbfbe49fea1e
DIFF:
https://github.com/llvm/llvm-project/commit/48ff068c525922e8323982795c69bbfbe49fea
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/142313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/negativ updated
https://github.com/llvm/llvm-project/pull/147066
>From 950b6dce92eb2a831e7bd7e7ba44b3e8cc354dd4 Mon Sep 17 00:00:00 2001
From: Andrey Karlov
Date: Fri, 4 Jul 2025 17:13:20 +0300
Subject: [PATCH 1/5] Checking that some kind of constructor is called and
followe
https://github.com/tgymnich approved this pull request.
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -114,24 +115,221 @@ static inline void clearModule(Module &M) { // TODO:
simplify.
eraseFromModule(*M.ifuncs().begin());
}
+static inline SmallVector>
+collectIndirectableUses(GlobalVariable *G) {
+ // We are interested only in use chains that end in an Instruction.
+
@@ -114,24 +115,221 @@ static inline void clearModule(Module &M) { // TODO:
simplify.
eraseFromModule(*M.ifuncs().begin());
}
+static inline SmallVector>
+collectIndirectableUses(GlobalVariable *G) {
+ // We are interested only in use chains that end in an Instruction.
+
@@ -114,24 +115,221 @@ static inline void clearModule(Module &M) { // TODO:
simplify.
eraseFromModule(*M.ifuncs().begin());
}
+static inline SmallVector>
+collectIndirectableUses(GlobalVariable *G) {
+ // We are interested only in use chains that end in an Instruction.
+
@@ -114,24 +115,221 @@ static inline void clearModule(Module &M) { // TODO:
simplify.
eraseFromModule(*M.ifuncs().begin());
}
+static inline SmallVector>
+collectIndirectableUses(GlobalVariable *G) {
+ // We are interested only in use chains that end in an Instruction.
+
@@ -114,24 +115,221 @@ static inline void clearModule(Module &M) { // TODO:
simplify.
eraseFromModule(*M.ifuncs().begin());
}
+static inline SmallVector>
+collectIndirectableUses(GlobalVariable *G) {
+ // We are interested only in use chains that end in an Instruction.
+
kadircet wrote:
@AaronBallman @ilya-biryukov ping here, I am planning to merge this soon.
please LMK if you still have any concerns.
https://github.com/llvm/llvm-project/pull/137163
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/146840
>From eea3f1a2f5af14ac83c11bfb8da1d4be620d3078 Mon Sep 17 00:00:00 2001
From: Fraser Cormack
Date: Thu, 3 Jul 2025 10:45:05 +0100
Subject: [PATCH 1/3] [libclc] Reduce include usage in OpenCL builtins
This c
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
steakhal wrote:
I'd reject the idea of sprinkling ifdefs and feature detections.
Let's just move on.
https://github.com/llvm/llvm-project/pull/146859
__
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
steakhal wrote:
I don't think it's possible to create RUN lines for standards of which the
flags are rejected by clang right now.
https://github.com/llvm/llvm-project/pull
https://github.com/Shoreshen updated
https://github.com/llvm/llvm-project/pull/145278
>From 888df5412b37bd3f232bdb38c9f89786d042fe75 Mon Sep 17 00:00:00 2001
From: shore <372660...@qq.com>
Date: Mon, 23 Jun 2025 14:12:15 +0800
Subject: [PATCH 1/6] Add alignment attr & propagate alignment through
https://github.com/isuckatcs edited
https://github.com/llvm/llvm-project/pull/146859
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
isuckatcs wrote:
I don't have anything against, but I don't see this pattern in the analyzer
tests, so I'm a bit hesitant. We however have a lot of the `#if __cplusplus >=
@@ -327,39 +327,7 @@ void testArrayDestr() {
clang_analyzer_warnIfReached(); // no-warning
}
-// Invalidate Region even in case of default destructor
-class InvalidateDestTest {
-public:
- int x;
- int *y;
- ~InvalidateDestTest();
-};
-
-int test_member_invalidation() {
-
https://github.com/imdj updated https://github.com/llvm/llvm-project/pull/146859
>From 1077e164158965e824097542dc4c3ecc8821d6dc Mon Sep 17 00:00:00 2001
From: Imad Aldij
Date: Thu, 3 Jul 2025 13:50:55 +0300
Subject: [PATCH 1/5] Add support for consteval if in ConditionBRVisitor
---
clang/lib/S
https://github.com/tgymnich approved this pull request.
https://github.com/llvm/llvm-project/pull/147088
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -402,16 +449,19 @@ class MallocChecker
const char *NL, const char *Sep) const override;
private:
- mutable std::unique_ptr BT_DoubleFree[CK_NumCheckKinds];
- mutable std::unique_ptr BT_DoubleDelete;
- mutable std::unique_ptr BT_Leak[CK_NumCheckKinds];
-
wenju-he wrote:
> This isn't `NFC`, though?
Removed `NFC`. I was not seeing changes in OpenCL bitcode files.
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Himadhith updated
https://github.com/llvm/llvm-project/pull/147246
>From 118389439ac39b9d097b26450e5934a38be8f740 Mon Sep 17 00:00:00 2001
From: himadhith
Date: Mon, 7 Jul 2025 07:31:59 +
Subject: [PATCH] NFC test cases lockdown for vector compare equal
---
.../test/Cod
https://github.com/negativ updated
https://github.com/llvm/llvm-project/pull/147066
>From 950b6dce92eb2a831e7bd7e7ba44b3e8cc354dd4 Mon Sep 17 00:00:00 2001
From: Andrey Karlov
Date: Fri, 4 Jul 2025 17:13:20 +0300
Subject: [PATCH 1/6] Checking that some kind of constructor is called and
followe
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
steakhal wrote:
I don't think we have tools for doing this.
https://github.com/llvm/llvm-project/pull/146859
___
cfe-commits mail
https://github.com/cor3ntin commented:
Thanks for working on this
Did you try to use `!isUsable` instead of IsInvalid in
`ParseBaseSpecifier` ? I think that might be a simpler fix.
---
This change needs a release note.
Please add an entry to `clang/docs/ReleaseNotes.rst` in the section the mo
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: bd1976bris (bd1976bris)
Changes
This patch introduces support for Integrated Distributed ThinLTO (DTLTO) in
Clang.
DTLTO enables the distribution of ThinLTO backend compilations via external
distribution systems, such as Incredibu
https://github.com/jthackray approved this pull request.
Looks good.
https://github.com/llvm/llvm-project/pull/147086
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xlauko deleted
https://github.com/llvm/llvm-project/pull/147209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Krzysztof Parzyszek
Date: 2025-07-07T07:54:50-05:00
New Revision: 3d6407965d5ab6df64919e725e9dd7b3be2bc235
URL:
https://github.com/llvm/llvm-project/commit/3d6407965d5ab6df64919e725e9dd7b3be2bc235
DIFF:
https://github.com/llvm/llvm-project/commit/3d6407965d5ab6df64919e725e9dd7b3be2bc235
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/146933
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kparzysz closed
https://github.com/llvm/llvm-project/pull/146779
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
gjasny wrote:
All builds are green, now.
https://github.com/llvm/llvm-project/pull/147048
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/146933
>From 0e9eab649f7a515c0697c3fe58309c478108f6b1 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 2 Jul 2025 09:43:32 -0500
Subject: [PATCH 01/12] [Frontend][OpenMP] Implement directive name parser
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building
`clang,llvm,mlir` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/169/builds/12913
Here is the relev
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/147219
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Himadhith created
https://github.com/llvm/llvm-project/pull/147246
NFC patch to add testcase for locking down the support of Zero vector
comparisons using the `vcmpgtuh (vector compare greater than unsigned
halfword)` instruction.
Currently `vcmpequh (vector compare equal u
llvmbot wrote:
@llvm/pr-subscribers-backend-powerpc
Author: None (Himadhith)
Changes
NFC patch to add testcase for locking down the support of Zero vector
comparisons using the `vcmpgtuh (vector compare greater than unsigned
halfword)` instruction.
Currently `vcmpequh (vector compare eq
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (Himadhith)
Changes
NFC patch to add testcase for locking down the support of Zero vector
comparisons using the `vcmpgtuh (vector compare greater than unsigned
halfword)` instruction.
Currently `vcmpequh (vector compare equal unsign
@@ -9125,9 +9126,25 @@ bool
LValueExprEvaluator::VisitCompoundLiteralExpr(const CompoundLiteralExpr *E) {
assert((!Info.getLangOpts().CPlusPlus || E->isFileScope()) &&
"lvalue compound literal in c++?");
- // Defer visiting the literal until the lvalue-to-rvalue con
Author: Haojian Wu
Date: 2025-07-07T09:42:38+02:00
New Revision: 784bd61fc497b11a6d8d30abb6157c8a3597ffbf
URL:
https://github.com/llvm/llvm-project/commit/784bd61fc497b11a6d8d30abb6157c8a3597ffbf
DIFF:
https://github.com/llvm/llvm-project/commit/784bd61fc497b11a6d8d30abb6157c8a3597ffbf.diff
LO
hokein wrote:
I'm landing this PR now, happy to address any post comments.
https://github.com/llvm/llvm-project/pull/146604
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Himadhith wrote:
@tonykuttai @AditiRM @lei137 @amy-kwan @kamaub
https://github.com/llvm/llvm-project/pull/147246
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/negativ updated
https://github.com/llvm/llvm-project/pull/147066
>From 950b6dce92eb2a831e7bd7e7ba44b3e8cc354dd4 Mon Sep 17 00:00:00 2001
From: Andrey Karlov
Date: Fri, 4 Jul 2025 17:13:20 +0300
Subject: [PATCH 1/3] Checking that some kind of constructor is called and
followe
https://github.com/nikic updated
https://github.com/llvm/llvm-project/pull/146595
>From 28d67e3da912a0f6b09921874d1beb35a0548816 Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Tue, 1 Jul 2025 13:51:43 +0200
Subject: [PATCH 1/3] [DenseMap] Do not align pointer sentinel values (NFC)
DenseMapI
https://github.com/hokein closed
https://github.com/llvm/llvm-project/pull/146604
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Fznamznon updated
https://github.com/llvm/llvm-project/pull/147030
>From 3060e6f416ea62bdf62470e6636278d736cc49d0 Mon Sep 17 00:00:00 2001
From: "Podchishchaeva, Mariya"
Date: Fri, 4 Jul 2025 02:50:38 -0700
Subject: [PATCH 1/3] [win][clang] Do not inject static_assert macro d
https://github.com/rj-jesus updated
https://github.com/llvm/llvm-project/pull/146515
>From cdaa8f58630ff30ad7719ca2a670238859648211 Mon Sep 17 00:00:00 2001
From: Ricardo Jesus
Date: Wed, 2 Apr 2025 10:37:59 -0700
Subject: [PATCH 1/3] [AArch64] Add support for -mcpu=gb10.
This patch adds suppo
MikeWeller wrote:
Fixes https://github.com/llvm/llvm-project/issues/146324
https://github.com/llvm/llvm-project/pull/147066
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rj-jesus wrote:
I've just rebased this to solve a conflict in `llvm/lib/TargetParser/Host.cpp`
created due to 29b2b2263f9eb7b310ee38628e43be76f2c9caf4.
https://github.com/llvm/llvm-project/pull/146515
___
cfe-commits mailing list
cfe-commits@lists.llv
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
isuckatcs wrote:
I thought the [infrastructure used in
clang-tidy](https://github.com/llvm/llvm-project/blob/c50415bb82a740426a5559ff7f1e350f394e9fcf/clang-tools-extra/test/
Author: Ricardo Jesus
Date: 2025-07-07T11:14:26+01:00
New Revision: 84e54515bc4e9dd4938121f4df7cc27bb89a0a43
URL:
https://github.com/llvm/llvm-project/commit/84e54515bc4e9dd4938121f4df7cc27bb89a0a43
DIFF:
https://github.com/llvm/llvm-project/commit/84e54515bc4e9dd4938121f4df7cc27bb89a0a43.diff
https://github.com/rj-jesus closed
https://github.com/llvm/llvm-project/pull/146515
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
imdj wrote:
> Duplicating the lines is the only way right now.
I added a line for the c++26 standard for now
https://github.com/llvm/llvm-project/pull/146859
__
vbvictor wrote:
> In that case the default should be true though right?
Yes, that would be just as current default behavior.
https://github.com/llvm/llvm-project/pull/147060
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.o
https://github.com/isuckatcs approved this pull request.
https://github.com/llvm/llvm-project/pull/146859
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
imdj wrote:
Could we rely on feature detection? like
```
// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
#if __cpp_if_consteval >= 202106L
void test_consteval()
https://github.com/Naghasan updated
https://github.com/llvm/llvm-project/pull/143909
>From b2e45fdf15b28187463b5afda89bbe26c5083d80 Mon Sep 17 00:00:00 2001
From: Victor Lomuller
Date: Thu, 5 Jun 2025 16:17:10 +0100
Subject: [PATCH] [SPIRV] Add more id and range builtIns
The patch adds intrins
frasercrmck wrote:
This isn't `NFC`, though?
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/frasercrmck approved this pull request.
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,13 @@
+#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIME_SAFETY_H
usx95 wrote:
Done. Thanks.
https://github.com/llvm/llvm-project/pull/142313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists
@@ -0,0 +1,13 @@
+#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIME_SAFETY_H
usx95 wrote:
Done.
https://github.com/llvm/llvm-project/pull/142313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.or
@@ -0,0 +1,728 @@
+#include "clang/Analysis/Analyses/LifetimeSafety.h"
+#include "clang/AST/Decl.h"
+#include "clang/AST/Expr.h"
+#include "clang/AST/StmtVisitor.h"
+#include "clang/AST/Type.h"
+#include "clang/Analysis/AnalysisDeclContext.h"
+#include "clang/Analysis/CFG.h"
+#inc
https://github.com/Xazax-hun edited
https://github.com/llvm/llvm-project/pull/142313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1023,12 +1023,12 @@ defm offload_uniform_block :
BoolFOption<"offload-uniform-block",
BothFlags<[], [ClangOption], " that kernels are launched with uniform block
sizes (default true for CUDA/HIP and false otherwise)">>;
def fcomplex_arithmetic_EQ : Joined<["-"], "fcomp
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/147208
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kiranchandramohan approved this pull request.
LG.
https://github.com/llvm/llvm-project/pull/146641
___
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 `fuchsia-x86_64-linux`
running on `fuchsia-debian-64-us-central1-a-1` while building `clang,llvm` at
step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/11/builds/18922
Here is the rele
https://github.com/quic-garvgupt updated
https://github.com/llvm/llvm-project/pull/146849
>From 3d0220ecce368a481981c414f789d9dbbfc49c81 Mon Sep 17 00:00:00 2001
From: Garvit Gupta
Date: Thu, 3 Jul 2025 02:56:01 -0700
Subject: [PATCH] [Driver][RISCV] Fix and print appropriate compiler-rt path
@@ -206,6 +206,15 @@ std::string BareMetal::computeSysRoot() const {
return computeClangRuntimesSysRoot(D, /*IncludeTriple*/ true);
}
+std::string BareMetal::getCompilerRTPath() const {
+ if (IsGCCInstallationValid || detectGCCToolchainAdjacent(getDriver())) {
+SmallStr
https://github.com/Xazax-hun approved this pull request.
There are some discussions open on this PR e.g., whether access paths need
kinds. But I don't think those are blockers, this is exploratory work and it is
expected that some design decisions might be revisited along the way when we
learn
https://github.com/Xazax-hun edited
https://github.com/llvm/llvm-project/pull/142313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,508 @@
+//===- LifetimeSafety.cpp - C++ Lifetime Safety Analysis -*-
C++-*-===//
+//
+// 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: Ap
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
kparzysz wrote:
Hi @alexey-bataev, did you miss this one?
https://github.com/llvm/llvm-project/pull/146779
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
> Can we merge this with private email address?
Community policy is to have public email addresses:
https://llvm.org/docs/DeveloperPolicy.html#email-addresses
https://github.com/llvm/llvm-project/pull/146433
___
cfe-commits mailin
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/87989
>From b41b2032fdb01bd91d32255bf22a94315b58a017 Mon Sep 17 00:00:00 2001
From: Fraser Cormack
Date: Mon, 30 Jun 2025 10:59:02 +0100
Subject: [PATCH 01/10] [libclc] Place libclc files in clang's resource dir
-
AaronBallman wrote:
> > You've got the same typo (?) in a bunch of places. You have `/stdc:latest`
> > instead of `/std:clatest`. Same for `/std:c++latest`.
>
> Good catch! Sheesh, fingers. Work!
Those are all addressed. This is what I get for typing `__STDC_*` as often as I
do. :-D
https://
https://github.com/tclin914 updated
https://github.com/llvm/llvm-project/pull/147018
>From 4ee3cbce0032f57c30692654be160e2745955f04 Mon Sep 17 00:00:00 2001
From: Jim Lin
Date: Mon, 5 May 2025 13:58:59 +0800
Subject: [PATCH 1/2] [RISCV] Implement Clang Builtins for XAndesPerf Extension
This pa
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/147231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Bogdan Vetrenko
Date: 2025-07-07T14:09:04+02:00
New Revision: 95862d0897352de4bc7f4815def819639533bfc7
URL:
https://github.com/llvm/llvm-project/commit/95862d0897352de4bc7f4815def819639533bfc7
DIFF:
https://github.com/llvm/llvm-project/commit/95862d0897352de4bc7f4815def819639533bfc7.dif
1 - 100 of 550 matches
Mail list logo