@@ -0,0 +1,51 @@
+// RUN: %check_clang_tidy --match-partial-fixes %s llvm-mlir-op-builder %t
+
+namespace mlir {
+class Location {};
+class OpBuilder {
+public:
+ template
+ OpTy create(Location location, Args &&...args) {
+return OpTy(args...);
+ }
+ Location getUnknownL
https://github.com/jpienaar updated
https://github.com/llvm/llvm-project/pull/149148
>From b404f5390ac5684c7452e69f6fe209e5215f8929 Mon Sep 17 00:00:00 2001
From: Jacques Pienaar
Date: Wed, 16 Jul 2025 17:37:53 +
Subject: [PATCH 1/9] [clang-tidy] Add MLIR check for old op builder usage.
Mo
mikecrowe wrote:
@vbvictor Thanks for the review. I've rebased (fixing conflicts on the release
notes) and squashed the changes. I don't have commit access. Please can you
land the change for me if you're still happy with it?
https://github.com/llvm/llvm-project/pull/142312
___
rorth wrote:
I've now tested the (original version of) the patch on both
`sparc64-unknown-linux-gnu` and `sparcv9-sun-solaris2.11`. The Linux/sparc64
build failure is gone, no regressions on either target.
Btw., prompted by this I've discovered that GCC's `-mcpu=v9` default on
Solaris/SPARC
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/149148
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
nikic wrote:
> @nikic Can you check the compile-time impact of this patch?
https://llvm-compile-time-tracker.com/compare.php?from=aa27d4e0c3aef8047828aa453f2943730aa779c6&to=6fab608ecf50f2f36ee635e3a5d7e5f326c9e635&stat=instructions:u
https://github.com/llvm/llvm-project/pull/135079
___
https://github.com/mikecrowe updated
https://github.com/llvm/llvm-project/pull/142312
>From 33dcd7df486391e77d4fd3a73c9856ead7dca12d Mon Sep 17 00:00:00 2001
From: Mike Crowe
Date: Thu, 29 May 2025 21:19:11 +0100
Subject: [PATCH] [clang-tidy] modernize-use-std-print,format: Fix checks with
Abs
Author: Timm Baeder
Date: 2025-07-20T10:59:50+02:00
New Revision: 5b0935f1f05c7aa9d315463c17ff85e7d846d237
URL:
https://github.com/llvm/llvm-project/commit/5b0935f1f05c7aa9d315463c17ff85e7d846d237
DIFF:
https://github.com/llvm/llvm-project/commit/5b0935f1f05c7aa9d315463c17ff85e7d846d237.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149693
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -68,6 +165,18 @@ TEST_F(InterpreterTest, Sanity) {
EXPECT_EQ(1U, DeclsSize(R2.TUPart));
}
+TEST_F(InterpreterTest, SanityWithRemoteExecution) {
vgvassilev wrote:
That probably will need to follow the what was done in
`InterpreterExtensionsTest.cpp` wher
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/14] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/13] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Sirui Mu (Lancern)
Changes
This patch adds the `cir.assume_separate_storage` operation for the
`__builtin_assume_separate_storage` builtin function.
---
Full diff: https://github.com/llvm/llvm-project/pull/149696.diff
5 Files Affected:
https://github.com/Lancern created
https://github.com/llvm/llvm-project/pull/149696
This patch adds the `cir.assume_separate_storage` operation for the
`__builtin_assume_separate_storage` builtin function.
>From 54fc10bc7152748c2e889e5c20948a3cb99c1912 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Author: Vassil Vassilev
Date: 2025-07-20T08:23:47Z
New Revision: 6163b66e0aa7a3fa32b05fa4e1016d0631c20451
URL:
https://github.com/llvm/llvm-project/commit/6163b66e0aa7a3fa32b05fa4e1016d0631c20451
DIFF:
https://github.com/llvm/llvm-project/commit/6163b66e0aa7a3fa32b05fa4e1016d0631c20451.diff
LO
@@ -3540,18 +3568,29 @@ foldCondBranchOnValueKnownInPredecessorImpl(BranchInst
*BI, DomTreeUpdater *DTU,
return false;
// Now we know that this block has multiple preds and two succs.
- // Check that the block is small enough and values defined in the block are
- // n
https://github.com/dtcxzyw edited
https://github.com/llvm/llvm-project/pull/135079
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/dtcxzyw commented:
@nikic Can you check the compile-time impact of this patch?
https://github.com/llvm/llvm-project/pull/135079
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/12] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fixes #149520
---
Full diff: https://github.com/llvm/llvm-project/pull/149695.diff
2 Files Affected:
- (modified) clang/lib/Format/ContinuationIndenter.cpp (+1)
- (modified) clang/unittests/Format/Forma
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/149695
Fixes #149520
>From 00d145827caea33cbec8f49a03e4c8b56fc40e01 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Sun, 20 Jul 2025 00:58:58 -0700
Subject: [PATCH] [clang-format] Fix a bug in `BreakBeforeBinaryOperators
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/11] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
@@ -0,0 +1,248 @@
+// TODO: When Clang adds support for C++23 floating-point types, enable these
tests by:
+//1. Removing all the #if 0 + #endif guards.
+//2. Removing all occurrences of the string "DISABLED-" in this file.
+//3. Deleting this message.
+// These suffi
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/10] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
@@ -225,6 +226,89 @@ void integer_complex_suffix() {
static_assert(v28 == 1J, "");
}
+// This is a C++23 feature, but Clang supports it in earlier language modes
+// as an extension, so we test it unconditionally.
carlosgalvezp wrote:
I agree!
https://gith
https://github.com/localspook converted_to_draft
https://github.com/llvm/llvm-project/pull/149694
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/localspook updated
https://github.com/llvm/llvm-project/pull/149694
>From 823bfd458a0e03125d84fd676fbc284f09b50a5b Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Sat, 19 Jul 2025 23:43:55 -0700
Subject: [PATCH] [clang-tidy] Make `modernize-use-using`'s fixits more rob
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149693
>From 52e71459ab39407590ebf92f48e150a0e0f21a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 20 Jul 2025 08:45:47 +0200
Subject: [PATCH] [clang][bytecode] Reintroduce Pointer::elem()
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Victor Chernyakin (localspook)
Changes
Fixes #105503.
Fixes #31141 (the new fixit is not the one the author suggests, but now
it's at least *correct*).
First, let's look at `typedef`s that only introduce one name. Currently, t
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Victor Chernyakin (localspook)
Changes
Fixes #105503.
Fixes #31141 (the new fixit is not the one the author suggests, but now
it's at least *correct*).
First, let's look at `typedef`s that only introduce one name. Currently, this
fa
https://github.com/localspook created
https://github.com/llvm/llvm-project/pull/149694
Fixes #105503.
Fixes #31141 (the new fixit is not the one the author suggests, but now it's at
least *correct*).
First, let's look at `typedef`s that only introduce one name. Currently, this
fails in severa
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
As a way of writing atIndex(I).deref(), which creates an intermediate
Pointer, which in turn adds (and removes) that pointer from the pointer list of
the Block. This way we can avoid that.
---
Full diff:
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149693
As a way of writing atIndex(I).deref(), which creates an intermediate
Pointer, which in turn adds (and removes) that pointer from the pointer list of
the Block. This way we can avoid that.
>From 6b0f913b9f7ef
@@ -77,6 +79,82 @@ class RocmInstallationDetector {
SPACKReleaseStr(SPACKReleaseStr.str()) {}
};
+ struct CommonBitcodeLibsPreferences {
+CommonBitcodeLibsPreferences(const Driver &D,
+ const llvm::opt::ArgList &DriverArgs,
+
@@ -77,6 +79,82 @@ class RocmInstallationDetector {
SPACKReleaseStr(SPACKReleaseStr.str()) {}
};
+ struct CommonBitcodeLibsPreferences {
+CommonBitcodeLibsPreferences(const Driver &D,
+ const llvm::opt::ArgList &DriverArgs,
+
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149677
___
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-20T09:00:22+02:00
New Revision: 51af47e53c32d29c0e29cbdcd66d8bbd41b673f3
URL:
https://github.com/llvm/llvm-project/commit/51af47e53c32d29c0e29cbdcd66d8bbd41b673f3
DIFF:
https://github.com/llvm/llvm-project/commit/51af47e53c32d29c0e29cbdcd66d8bbd41b673f3.diff
L
https://github.com/jchlanda updated
https://github.com/llvm/llvm-project/pull/149294
>From ee6018745b93211af716e8923ecec9a83f717f55 Mon Sep 17 00:00:00 2001
From: Jakub Chlanda
Date: Mon, 14 Jul 2025 13:30:57 +
Subject: [PATCH 1/2] [HIP][Clang][Driver] Move BC preference logic into ROCm
de
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/149602
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jpienaar updated
https://github.com/llvm/llvm-project/pull/149148
>From b404f5390ac5684c7452e69f6fe209e5215f8929 Mon Sep 17 00:00:00 2001
From: Jacques Pienaar
Date: Wed, 16 Jul 2025 17:37:53 +
Subject: [PATCH 1/8] [clang-tidy] Add MLIR check for old op builder usage.
Mo
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/149677
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 1/9] pipes for redirection in oop jit
---
.../clang/Interpreter/Remote
mgorny wrote:
Thx.
https://github.com/llvm/llvm-project/pull/149657
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/koachan edited
https://github.com/llvm/llvm-project/pull/149652
___
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 `premerge-monolithic-linux`
running on `premerge-linux-1` while building `libclc` at step 7
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/153/builds/38701
Here i
https://github.com/sylvestre closed
https://github.com/llvm/llvm-project/pull/149657
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Michał Górny
Date: 2025-07-20T12:26:51+09:00
New Revision: 58c3affdaa732fd6f8c7e6640396e7c6366bac9d
URL:
https://github.com/llvm/llvm-project/commit/58c3affdaa732fd6f8c7e6640396e7c6366bac9d
DIFF:
https://github.com/llvm/llvm-project/commit/58c3affdaa732fd6f8c7e6640396e7c6366bac9d.diff
mintsuki wrote:
A bunch of tests fail now... I feel like this change is too invasive for what I
can possibly do on my own, but I hope that the original commit message is
helpful in describing the problem at hand.
https://github.com/llvm/llvm-project/pull/149681
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timothy Herchen (anematode)
Changes
Fixes #149669; the old check compared with the end of the literal, but
we can just check that after parsing digits, we're pointing to one character
past the token start.
---
Full diff: https://github.c
https://github.com/anematode created
https://github.com/llvm/llvm-project/pull/149688
Fixes #149669; the old check compared with the end of the literal, but we can
just check that after parsing digits, we're pointing to one character past the
token start.
>From 5def3c282d446e6ac687cdef37710e9
https://github.com/koachan updated
https://github.com/llvm/llvm-project/pull/149652
>From 84da1b197113869b684f87bf580b37122d6a15e3 Mon Sep 17 00:00:00 2001
From: Koakuma
Date: Sat, 19 Jul 2025 05:40:56 +0700
Subject: [PATCH 1/2] [SPARC][Driver] Move feature mode selection to
Arch/Sparc.cpp
Th
https://github.com/mintsuki updated
https://github.com/llvm/llvm-project/pull/149681
>From 491a834787083c74c3584839dc036cc1f54519c1 Mon Sep 17 00:00:00 2001
From: Mintsuki
Date: Sun, 20 Jul 2025 00:21:08 +0200
Subject: [PATCH] [Clang][Driver] Override Generic_ELF::buildLinker() to avoid
callin
mintsuki wrote:
> Can you add a test to clang/test/Driver to show the behavior difference ?
@MaskRay done. Does this work?
https://github.com/llvm/llvm-project/pull/149681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
https://github.com/mintsuki updated
https://github.com/llvm/llvm-project/pull/149681
>From 468635d12a26a7e1d38fe9d1321a5f76167ddead Mon Sep 17 00:00:00 2001
From: Mintsuki
Date: Sun, 20 Jul 2025 00:21:08 +0200
Subject: [PATCH] [Clang][Driver] Override Generic_ELF::buildLinker() to avoid
callin
MaskRay wrote:
Can you add a test to clang/test/Driver to show the behavior difference ?
https://github.com/llvm/llvm-project/pull/149681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
@@ -1445,3 +1445,8 @@ static_assert(test_member_null(), "");
}
}
+
+namespace GH149500 {
+ unsigned int * p = &(*(unsigned int *)0x400);
+ static const void *q = &(*(const struct sysrq_key_op *)0);
shafik wrote:
Maybe also `nullptr` test?
https://github.co
@@ -153,3 +150,7 @@ struct PR35214_X {
int PR35214_x;
int PR35214_y = ((struct PR35214_X *)&PR35214_x)->arr[1]; // expected-error
{{not a compile-time constant}}
int *PR35214_z = &((struct PR35214_X *)&PR35214_x)->arr[1]; // ok, &PR35214_x
+ 2
+
+
+int * GH149500_p = &(*(int
brad0 wrote:
This should be taken and created as a MR against the 21 release.
https://github.com/llvm/llvm-project/pull/147133
___
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: Changpeng Fang (changpeng)
Changes
---
Patch is 132.52 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/149684.diff
31 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAMDGPU.de
llvmbot wrote:
@llvm/pr-subscribers-mc
Author: Changpeng Fang (changpeng)
Changes
---
Patch is 132.52 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/149684.diff
31 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def (
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
@llvm/pr-subscribers-llvm-ir
Author: Changpeng Fang (changpeng)
Changes
---
Patch is 132.52 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/149684.diff
31 Files Affected:
- (modified) clang
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: Changpeng Fang (changpeng)
Changes
---
Patch is 132.52 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/149684.diff
31 Files Affected:
- (modified) clang/include/clang/Basic/Builtin
brad0 wrote:
cc @MaskRay
https://github.com/llvm/llvm-project/pull/149681
___
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: None (mintsuki)
Changes
This change primarily makes it so that when targeting freestanding/unknown
OSes, the driver will not use `gcc` to link, but rather will link using
the chosen linker (`-fuse-ld=...`) directly.
If Clang is to be a cro
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/mintsuki created
https://github.com/llvm/llvm-project/pull/149681
This change primarily makes it so that when targeting freestanding/unknown
OSes, the driver will not use `gcc` to link, but rather will link using
the chosen linker (`-fuse-ld=...`) directly.
If Clang is to be
naveen-seth wrote:
This now also leverages the `Scanner` in `DependencyDirectivesScanner.cpp` to
reuse its logic for properly lexing module related directives. For this to
happen, I had to first land two fixes with #148674 and #148685.
https://github.com/llvm/llvm-project/pull/147630
_
https://github.com/naveen-seth updated
https://github.com/llvm/llvm-project/pull/147630
>From 6b440de2ed76a6095c4b68ba1301dfbd19f9a285 Mon Sep 17 00:00:00 2001
From: Naveen Seth Hanig
Date: Fri, 13 Jun 2025 09:19:21 +0200
Subject: [PATCH 1/4] Reland [clang][modules-driver] Add scanner to detect
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/148622
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Manas
Date: 2025-07-20T01:18:24+03:00
New Revision: 54492c231c5d9091d086bfb767423415ea6bd0bc
URL:
https://github.com/llvm/llvm-project/commit/54492c231c5d9091d086bfb767423415ea6bd0bc
DIFF:
https://github.com/llvm/llvm-project/commit/54492c231c5d9091d086bfb767423415ea6bd0bc.diff
LOG: [c
@@ -0,0 +1,162 @@
+// TODO: When Clang adds support for decimal floating point types, enable
these tests by:
+//1. Removing all the #if 0 + #endif guards.
+//2. Removing all occurrences of the string "DISABLED-" in this file.
+//3. Deleting this message.
+
+// RUN: %c
@@ -0,0 +1,248 @@
+// TODO: When Clang adds support for C++23 floating-point types, enable these
tests by:
+//1. Removing all the #if 0 + #endif guards.
+//2. Removing all occurrences of the string "DISABLED-" in this file.
+//3. Deleting this message.
+// These suffi
@@ -225,6 +226,89 @@ void integer_complex_suffix() {
static_assert(v28 == 1J, "");
}
+// This is a C++23 feature, but Clang supports it in earlier language modes
+// as an extension, so we test it unconditionally.
vbvictor wrote:
I think we should not depen
@@ -0,0 +1,248 @@
+// TODO: When Clang adds support for C++23 floating-point types, enable these
tests by:
+//1. Removing all the #if 0 + #endif guards.
+//2. Removing all occurrences of the string "DISABLED-" in this file.
+//3. Deleting this message.
+// These suffi
@@ -0,0 +1,248 @@
+// TODO: When Clang adds support for C++23 floating-point types, enable these
tests by:
+//1. Removing all the #if 0 + #endif guards.
+//2. Removing all occurrences of the string "DISABLED-" in this file.
+//3. Deleting this message.
+// These suffi
@@ -540,6 +547,89 @@ class NotACopyAssignmentOperator {
Uy *getUy() const { return Ptr2; }
};
+// Support "extended" copy/move constructors
+class AllocatorAwareClass {
vbvictor wrote:
Could you add cases when the check will fire (I suppose it at least):
-
@@ -69,6 +69,28 @@ void
UnhandledSelfAssignmentCheck::registerMatchers(MatchFinder *Finder) {
cxxMethodDecl(unless(hasDescendant(cxxMemberCallExpr(callee(cxxMethodDecl(
hasName("operator="), ofClass(equalsBoundNode("class";
+ // Checking that some ki
@@ -0,0 +1,51 @@
+// RUN: %check_clang_tidy --match-partial-fixes %s llvm-mlir-op-builder %t
+
+namespace mlir {
+class Location {};
+class OpBuilder {
+public:
+ template
+ OpTy create(Location location, Args &&...args) {
+return OpTy(args...);
+ }
+ Location getUnknownL
@@ -0,0 +1,103 @@
+//===--- MLIROpBuilderCheck.cpp - clang-tidy
--===//
+//
+// 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
@@ -0,0 +1,21 @@
+.. title:: clang-tidy - llvm-mlir-op-builder
+
+llvm-mlir-op-builder
+
+
+Flags usage of old form of invoking create on MLIR's ``OpBuilder`` and suggests
+new form.
vbvictor wrote:
I think we should write why the user should
@@ -0,0 +1,103 @@
+//===--- MLIROpBuilderCheck.cpp - clang-tidy
--===//
+//
+// 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
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/149148
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -40,6 +41,7 @@ class LLVMModule : public ClangTidyModule {
CheckFactories.registerCheck(
"llvm-qualified-auto");
CheckFactories.registerCheck("llvm-twine-local");
+CheckFactories.registerCheck("llvm-mlir-op-builder");
vbvictor wrote:
Ple
@@ -0,0 +1,29 @@
+//===--- MLIROpBuilderCheck.h - clang-tidy --*- 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: Apa
https://github.com/vbvictor commented:
I think we need a more verbose check name for users to understand what is the
check about, e.g.
`llvm-prefer-new-mlir-op-builder`
`llvm-use-new-mlir-op-builder`
`llvm-use-static-function-mlir-op-builder`
https://github.com/llvm/llvm-project/pull/149148
___
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/149677.diff
4 Files Affected:
- (modified) clang/lib/AST/ByteCode/Context.cpp (+37)
- (modified
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149677
None
>From 9db49be1f605ec039b984bd7df3e29c127df1866 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 19 Jul 2025 23:02:13 +0200
Subject
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: None (Andres-Salamanca)
Changes
This PR introduces support for binary operations on bitfield members.
---
Full diff: https://github.com/llvm/llvm-project/pull/149676.diff
2 Files Affected:
- (modified) clang/lib/CIR/CodeGen/CIRGenExpr
https://github.com/Andres-Salamanca created
https://github.com/llvm/llvm-project/pull/149676
This PR introduces support for binary operations on bitfield members.
>From c5da343296558a3a418c6282b104196d20f88a60 Mon Sep 17 00:00:00 2001
From: Andres Salamanca
Date: Sat, 19 Jul 2025 15:54:56 -050
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ayush Pareek (ayushpareek2003)
Changes
Fix an issue where local lambdas caused a crash when importing the std module
in LLDB due to missing capture fields in debug info.
Now closures always emit all fields for lambdas by skipping the `is
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Ayush Pareek (ayushpareek2003)
Changes
Fix an issue where local lambdas caused a crash when importing the std module
in LLDB due to missing capture fields in debug info.
Now closures always emit all fields for lambdas by skipping
llvmbot wrote:
@llvm/pr-subscribers-debuginfo
Author: Ayush Pareek (ayushpareek2003)
Changes
Fix an issue where local lambdas caused a crash when importing the std module
in LLDB due to missing capture fields in debug info.
Now closures always emit all fields for lambdas by skipping the
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/ayushpareek2003 created
https://github.com/llvm/llvm-project/pull/149674
Fix an issue where local lambdas caused a crash when importing the std module
in LLDB due to missing capture fields in debug info.
Now closures always emit all fields for lambdas by skipping the `isImp
https://github.com/thesamesam approved this pull request.
https://github.com/llvm/llvm-project/pull/149657
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux`
running on `systemz-1` while building `clang` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/88/builds/14
@@ -77,6 +79,82 @@ class RocmInstallationDetector {
SPACKReleaseStr(SPACKReleaseStr.str()) {}
};
+ struct CommonBitcodeLibsPreferences {
+CommonBitcodeLibsPreferences(const Driver &D,
+ const llvm::opt::ArgList &DriverArgs,
+
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149330
___
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-19T21:39:06+02:00
New Revision: fed6db45dfbe10cf1a3dab663e8ceb7e7974d713
URL:
https://github.com/llvm/llvm-project/commit/fed6db45dfbe10cf1a3dab663e8ceb7e7974d713
DIFF:
https://github.com/llvm/llvm-project/commit/fed6db45dfbe10cf1a3dab663e8ceb7e7974d713.diff
L
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149330
>From 452950ede23a7a21ca88db3600297d67935ddf51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 17:04:18 +0200
Subject: [PAT
1 - 100 of 159634 matches
Mail list logo