https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/158509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
JVApen wrote:
Can @kadircet and/or @llvm-beanz be added as reviewer?
(https://discord.com/channels/636084430946959380/649134148723802113/1416928414241259670)
https://github.com/llvm/llvm-project/pull/158461
___
cfe-commits mailing list
cfe-commits@li
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
See if this fixes the documentation.
---
Full diff: https://github.com/llvm/llvm-project/pull/158550.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Pointer.h (+2-1)
``diff
diff --git
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/158550
See if this fixes the documentation.
>From 932ed7eabf7e040ed7b2d40a6c5dff3392de7fa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 15 Sep 2025 08:40:40 +0200
Subject: [PATCH] [clang][b
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running
on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/154/builds/21492
Here is the relevant piece o
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/141776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -436,4 +440,32 @@ void SemaAMDGPU::handleAMDGPUMaxNumWorkGroupsAttr(Decl *D,
addAMDGPUMaxNumWorkGroupsAttr(D, AL, AL.getArgAsExpr(0), YExpr, ZExpr);
}
+
+bool SemaAMDGPU::checkAMDGCNAtomicFaddV2F16Type(CallExpr *TheCall) {
+ // Check that the pointer argument is a pointe
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/158543
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-09-15T08:33:34+02:00
New Revision: 7b0d91002691e6fe4ad421682f7d2a12c21d9055
URL:
https://github.com/llvm/llvm-project/commit/7b0d91002691e6fe4ad421682f7d2a12c21d9055
DIFF:
https://github.com/llvm/llvm-project/commit/7b0d91002691e6fe4ad421682f7d2a12c21d9055.diff
L
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang` at step 5 "ninja check
1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/16051
Here is the relevant piece
@@ -1379,216 +1890,327 @@ static void
diagnoseWellFormedUnsatisfiedConstraintExpr(Sema &S,
S.DiagnoseTypeTraitDetails(SubstExpr);
}
-template
static void diagnoseUnsatisfiedConstraintExpr(
-Sema &S, const llvm::PointerUnion
&Record,
-bool First = true) {
- if (a
Author: Timm Baeder
Date: 2025-09-15T08:20:24+02:00
New Revision: 6931bad36c0ddae441d115814022fd5d3cbc554b
URL:
https://github.com/llvm/llvm-project/commit/6931bad36c0ddae441d115814022fd5d3cbc554b
DIFF:
https://github.com/llvm/llvm-project/commit/6931bad36c0ddae441d115814022fd5d3cbc554b.diff
L
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux`
running on `sanitizer-buildbot7` while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/51/builds/23452
Here is the relevant piece of the
https://github.com/ravurvi20 updated
https://github.com/llvm/llvm-project/pull/157025
>From 1efc6c0d9418d5aa4299595b5008b4b580e556b1 Mon Sep 17 00:00:00 2001
From: urvi-rav
Date: Thu, 4 Sep 2025 04:47:06 -0500
Subject: [PATCH 1/6] Implement new syntax for uses_allocators clause
---
.../clang/
Author: SunilKuravinakop
Date: 2025-09-15T10:40:37+05:30
New Revision: 4a11ccee497a3e266c38eb6e9279f75cc61cfb9d
URL:
https://github.com/llvm/llvm-project/commit/4a11ccee497a3e266c38eb6e9279f75cc61cfb9d
DIFF:
https://github.com/llvm/llvm-project/commit/4a11ccee497a3e266c38eb6e9279f75cc61cfb9d.di
https://github.com/adityankit updated
https://github.com/llvm/llvm-project/pull/158199
>From 4f58d192cb423bf3a546c5dab307a4064707cd13 Mon Sep 17 00:00:00 2001
From: Aditya Chaudhary
Date: Thu, 11 Sep 2025 12:16:31 -0400
Subject: [PATCH] Disable -gsplit-dwarf as it is unsupported at the moment o
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
They can't be written to or read from.
Fixes #158535
---
Full diff: https://github.com/llvm/llvm-project/pull/158543.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/Interp.h (+3)
- (modified)
ravurvi20 wrote:
> Also update clang release notes document
done!!
https://github.com/llvm/llvm-project/pull/157025
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/158056
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-09-15T07:39:11+02:00
New Revision: 03c356c5544fad1890cc9abd0c1a9b7bab6f2a6b
URL:
https://github.com/llvm/llvm-project/commit/03c356c5544fad1890cc9abd0c1a9b7bab6f2a6b
DIFF:
https://github.com/llvm/llvm-project/commit/03c356c5544fad1890cc9abd0c1a9b7bab6f2a6b.diff
L
https://github.com/adityankit updated
https://github.com/llvm/llvm-project/pull/158199
>From 4f58d192cb423bf3a546c5dab307a4064707cd13 Mon Sep 17 00:00:00 2001
From: Aditya Chaudhary
Date: Thu, 11 Sep 2025 12:16:31 -0400
Subject: [PATCH] Disable -gsplit-dwarf as it is unsupported at the moment o
https://github.com/ravurvi20 updated
https://github.com/llvm/llvm-project/pull/157025
>From 1efc6c0d9418d5aa4299595b5008b4b580e556b1 Mon Sep 17 00:00:00 2001
From: urvi-rav
Date: Thu, 4 Sep 2025 04:47:06 -0500
Subject: [PATCH 1/6] Implement new syntax for uses_allocators clause
---
.../clang/
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/158543
They can't be written to or read from.
Fixes #158535
>From 614a2f42bab39fd0b7d40172f328aa8596d617fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 15 Sep 2025 07:34:21 +0200
Subject:
@@ -1379,216 +1890,327 @@ static void
diagnoseWellFormedUnsatisfiedConstraintExpr(Sema &S,
S.DiagnoseTypeTraitDetails(SubstExpr);
}
-template
static void diagnoseUnsatisfiedConstraintExpr(
-Sema &S, const llvm::PointerUnion
&Record,
-bool First = true) {
- if (a
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/158541
None
>From 297953bedf93135420d86e8289b4a9d59598f4a2 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 15 Sep 2025 01:58:01 -0300
Subject: [PATCH] [clang] WIP: remove workaround for
SubstNonTypeTemplat
https://github.com/ravurvi20 updated
https://github.com/llvm/llvm-project/pull/157025
>From 1efc6c0d9418d5aa4299595b5008b4b580e556b1 Mon Sep 17 00:00:00 2001
From: urvi-rav
Date: Thu, 4 Sep 2025 04:47:06 -0500
Subject: [PATCH 1/6] Implement new syntax for uses_allocators clause
---
.../clang/
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/157063
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lenary wrote:
Paging some things back into my head (sorry, I was on vacation). The codegen
for shadow stack and landing pads is guarded by a different feature, right?
These just control whether the underlying instructions are supported?
If so, this seems fine to me.
https://github.com/llvm/ll
shreya-jain wrote:
@jkorous-apple Modified the `-Wunsafe-buffer-usage` to flag use of `operator[]`
for `unique_ptr`.
https://github.com/llvm/llvm-project/pull/156773
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi
zwuis wrote:
> I don't know what an RFC is.
https://clang.llvm.org/get_involved.html#criteria
https://github.com/llvm/llvm-project/pull/154943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/141776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/141776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1379,216 +1890,327 @@ static void
diagnoseWellFormedUnsatisfiedConstraintExpr(Sema &S,
S.DiagnoseTypeTraitDetails(SubstExpr);
}
-template
static void diagnoseUnsatisfiedConstraintExpr(
-Sema &S, const llvm::PointerUnion
&Record,
-bool First = true) {
- if (a
https://github.com/zyn0217 deleted
https://github.com/llvm/llvm-project/pull/141776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1379,216 +1890,327 @@ static void
diagnoseWellFormedUnsatisfiedConstraintExpr(Sema &S,
S.DiagnoseTypeTraitDetails(SubstExpr);
}
-template
static void diagnoseUnsatisfiedConstraintExpr(
-Sema &S, const llvm::PointerUnion
&Record,
-bool First = true) {
- if (a
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/158283
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Wenju He
Date: 2025-09-15T10:10:07+08:00
New Revision: fef88d2ef21edc83660968e0134e28dda88d4a11
URL:
https://github.com/llvm/llvm-project/commit/fef88d2ef21edc83660968e0134e28dda88d4a11
DIFF:
https://github.com/llvm/llvm-project/commit/fef88d2ef21edc83660968e0134e28dda88d4a11.diff
LOG:
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64le-flang-rhel-clang`
running on `ppc64le-flang-rhel-test` while building `clang` at step 6
"test-build-unified-tree-check-flang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/157/builds/39736
@@ -0,0 +1,531 @@
+//===- ABI/Types.h --*- 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
https://github.com/kimyounhoex1 updated
https://github.com/llvm/llvm-project/pull/157403
>From 38b90ecc3dc30668860cc80a6c8f075536764b5e Mon Sep 17 00:00:00 2001
From: kimyounhoex1
Date: Thu, 4 Sep 2025 00:55:24 +0900
Subject: [PATCH 1/5] todo list
---
clang/lib/AST/ExprConstant.cpp | 4
https://github.com/Keenuts updated
https://github.com/llvm/llvm-project/pull/153224
From 7b09222a9792d9e83c68acea3429e6bd1622e0b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nathan=20Gau=C3=ABr?=
Date: Tue, 12 Aug 2025 18:06:17 +0200
Subject: [PATCH 1/2] [HLSL] Add support for input semantics in s
llvmbot wrote:
@llvm/pr-subscribers-libcxx
Author: None (halbi2)
Changes
---
Patch is 23.78 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/158523.diff
8 Files Affected:
- (modified) clang/docs/LanguageExtensions.rst (+3-3)
- (modified) cl
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/158434
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/halbi2 created
https://github.com/llvm/llvm-project/pull/158523
None
>From d63b4cf5258de608c6a42259082057b03811ca18 Mon Sep 17 00:00:00 2001
From: halbi2
Date: Sun, 14 Sep 2025 21:45:51 -0400
Subject: [PATCH] [clang][libc++] Fix spelling of "synthesize"
---
clang/docs/Lang
@@ -1257,4 +1256,35 @@ template concept PerfectSquare = [](){} //
expected-note 2{{here}}
([](auto) { return true; }) < PerfectSquare ;
// expected-error@-1 {{declaration of 'T' shadows template parameter}} \
// expected-error@-1 {{a concept definition cannot refer to itself}
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
This is a follow-up to #134461, reverting some unnecessary changes.
This cleans up some checks around the assumption that a pack expansion on the
argument side could appear when checking non-type templat
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= S
@@ -1379,216 +1890,327 @@ static void
diagnoseWellFormedUnsatisfiedConstraintExpr(Sema &S,
S.DiagnoseTypeTraitDetails(SubstExpr);
}
-template
static void diagnoseUnsatisfiedConstraintExpr(
-Sema &S, const llvm::PointerUnion
&Record,
-bool First = true) {
- if (a
https://github.com/itzexpoexpo updated
https://github.com/llvm/llvm-project/pull/154580
From 877d155b65a054a240490d3c7e2015673f964466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Slanina?=
Date: Wed, 20 Aug 2025 19:28:23 +0200
Subject: [PATCH 01/17] [clang-format] Add option
Allo
@@ -1257,4 +1256,35 @@ template concept PerfectSquare = [](){} //
expected-note 2{{here}}
([](auto) { return true; }) < PerfectSquare ;
// expected-error@-1 {{declaration of 'T' shadows template parameter}} \
// expected-error@-1 {{a concept definition cannot refer to itself}
https://github.com/DenisGZM updated
https://github.com/llvm/llvm-project/pull/158301
>From 100645ecb2f8d406fb8c1b59c3e4f3e85ca81100 Mon Sep 17 00:00:00 2001
From: Denis Gerasimov
Date: Fri, 12 Sep 2025 17:13:21 +0300
Subject: [PATCH] [CLANG][CUDA] Enable nan/nanf from libdevice in device code
@@ -7085,18 +7102,24 @@ ExprResult
Sema::CheckTemplateArgument(NonTypeTemplateParmDecl *Param,
? Context.getIntWidth(IntegerType)
: Context.getTypeSize(IntegerType));
- SugaredConverted = TemplateArgum
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/mizvekov created
https://github.com/llvm/llvm-project/pull/158515
This is a follow-up to #134461, reverting some unnecessary changes.
This cleans up some checks around the assumption that a pack expansion on the
argument side could appear when checking non-type template argu
owenca wrote:
> As to the implementation, it can be simplified and probably made less
> brittle. I would do something like the following instead:
>
> * Name the option as `AllowBreakBeforeQtProperty`.
> * Use `Q_PROPERTY` for a new context `Context::QtProperty`. (See `_Generic`
> and `Context:
https://github.com/lakreite updated
https://github.com/llvm/llvm-project/pull/158514
>From ef99801b67c51694186b5c872a75c4b6dab406a3 Mon Sep 17 00:00:00 2001
From: lakreite
Date: Sun, 14 Sep 2025 23:46:45 +0300
Subject: [PATCH] [Sema] Fix missing warnings for unused args with invalid
printf spe
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Lakreite (lakreite)
Changes
Before this change, the analyzer didn't emit warnings for unused arguments when
the format string contained invalid `printf` specifier (printf, os_log, NSLog)
at the end of the format string.
Before:
```c
p
https://github.com/lakreite updated
https://github.com/llvm/llvm-project/pull/158514
>From ef99801b67c51694186b5c872a75c4b6dab406a3 Mon Sep 17 00:00:00 2001
From: lakreite
Date: Sun, 14 Sep 2025 23:46:45 +0300
Subject: [PATCH] [Sema] Fix missing warnings for unused args with invalid
printf spe
https://github.com/lakreite created
https://github.com/llvm/llvm-project/pull/158514
Before this change, the analyzer didn't emit warnings for unused arguments when
the format string contained invalid `printf` specifier (printf, os_log, NSLog)
at the end of the format string.
Before:
```c
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/158418
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: owenca
Date: 2025-09-14T14:20:59-07:00
New Revision: 30f4781eef567b99214e02137a57c7ac91279a48
URL:
https://github.com/llvm/llvm-project/commit/30f4781eef567b99214e02137a57c7ac91279a48
DIFF:
https://github.com/llvm/llvm-project/commit/30f4781eef567b99214e02137a57c7ac91279a48.diff
LOG: [
avikivity wrote:
> This error is [produced for the following
> code](https://github.com/carbon-language/carbon-lang/pull/5170):
>
> ```c++
> template
> class SetView {
> SetView(SetView> other_view)
> requires(!std::same_as>);
> };
> ```
>
> ... which is never an eligible copy construct
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/139750
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Gedare Bloom
Date: 2025-09-14T13:47:06-07:00
New Revision: 7dd2f1cc10902e632c0c78c75a30432a53eb59dc
URL:
https://github.com/llvm/llvm-project/commit/7dd2f1cc10902e632c0c78c75a30432a53eb59dc
DIFF:
https://github.com/llvm/llvm-project/commit/7dd2f1cc10902e632c0c78c75a30432a53eb59dc.diff
https://github.com/alexey-bataev approved this pull request.
https://github.com/llvm/llvm-project/pull/155849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/157464
___
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: Timm Baeder (tbaederr)
Changes
They were left out.
Fixes #153920
---
Full diff: https://github.com/llvm/llvm-project/pull/158509.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp (+21-7)
- (modified)
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/158509
They were left out.
Fixes #153920
>From 7ec071c268f2fd13e190fff38e302c7aec3c1b0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 14 Sep 2025 22:20:38 +0200
Subject: [PATCH] [clang][byt
@@ -99,7 +99,10 @@ void yamlize(IO &IO, ClangTidyOptions::OptionMap &Val, bool,
for (auto &Option : SortedOptions) {
bool UseDefault = false;
void *SaveInfo = nullptr;
+ // NOLINTBEGIN(bugprone-suspicious-stringview-data-usage): Requires
+ // updates t
https://github.com/localspook closed
https://github.com/llvm/llvm-project/pull/158497
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -99,7 +99,10 @@ void yamlize(IO &IO, ClangTidyOptions::OptionMap &Val, bool,
for (auto &Option : SortedOptions) {
bool UseDefault = false;
void *SaveInfo = nullptr;
+ // NOLINTBEGIN(bugprone-suspicious-stringview-data-usage): Requires
+ // updates t
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while
building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/95/builds/182
https://github.com/capitan-davide updated
https://github.com/llvm/llvm-project/pull/158480
>From d70698939c4a7bb43c2eba139852079b6d3b3bcd Mon Sep 17 00:00:00 2001
From: Davide Cunial
Date: Sun, 14 Sep 2025 15:16:17 +0200
Subject: [PATCH 1/2] [clang-tidy] Fix a couple of suspicious StringRef::da
https://github.com/capitan-davide updated
https://github.com/llvm/llvm-project/pull/158480
>From d70698939c4a7bb43c2eba139852079b6d3b3bcd Mon Sep 17 00:00:00 2001
From: Davide Cunial
Date: Sun, 14 Sep 2025 15:16:17 +0200
Subject: [PATCH 1/2] [clang-tidy] Fix a couple of suspicious StringRef::da
vbvictor wrote:
> > LGTM But there are still some violations left?
>
> Yes, two more. Unfortunately, they require some refactoring as
> `llvm::yaml::IO` API uses C-strings only.
We can use a `// NOLINT(bugprone-suspicious-stringview-data-usage)` or `//
NOLINTNEXTLINE(bugprone-suspicious-strin
@@ -99,7 +99,10 @@ void yamlize(IO &IO, ClangTidyOptions::OptionMap &Val, bool,
for (auto &Option : SortedOptions) {
bool UseDefault = false;
void *SaveInfo = nullptr;
+ // NOLINTBEGIN(bugprone-suspicious-stringview-data-usage): Requires
+ // updates t
@@ -116,7 +119,10 @@ void yamlize(IO &IO, ClangTidyOptions::OptionMap &Val,
bool,
} else if (isa(I.getCurrentNode())) {
IO.beginMapping();
for (StringRef Key : IO.keys()) {
+// NOLINTNEXTLINE(bugprone-suspicious-stringview-data-usage): Requires
+
@@ -116,7 +119,10 @@ void yamlize(IO &IO, ClangTidyOptions::OptionMap &Val,
bool,
} else if (isa(I.getCurrentNode())) {
IO.beginMapping();
for (StringRef Key : IO.keys()) {
+// NOLINTNEXTLINE(bugprone-suspicious-stringview-data-usage): Requires
+
Author: Baranov Victor
Date: 2025-09-14T11:45:55+03:00
New Revision: 9c91d4a31d758cbddc0fc6347470604c2040ab2f
URL:
https://github.com/llvm/llvm-project/commit/9c91d4a31d758cbddc0fc6347470604c2040ab2f
DIFF:
https://github.com/llvm/llvm-project/commit/9c91d4a31d758cbddc0fc6347470604c2040ab2f.diff
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/158418
___
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: marius doerner (mariusdr)
Changes
Fixes #152893.
An assert was raised when a constexpr virtual function was called from an
constexpr array element with -fexperimental-new-constant-interpreter set.
---
Full diff: https://github.com/llvm/l
https://github.com/mariusdr created
https://github.com/llvm/llvm-project/pull/158502
Fixes #152893.
An assert was raised when a constexpr virtual function was called from an
constexpr array element with -fexperimental-new-constant-interpreter set.
>From 26e222a60af111c638d87176c20e9cb6a11a4ce
https://github.com/capitan-davide updated
https://github.com/llvm/llvm-project/pull/158480
>From d70698939c4a7bb43c2eba139852079b6d3b3bcd Mon Sep 17 00:00:00 2001
From: Davide Cunial
Date: Sun, 14 Sep 2025 15:16:17 +0200
Subject: [PATCH 1/2] [clang-tidy] Fix a couple of suspicious StringRef::da
https://github.com/flovent updated
https://github.com/llvm/llvm-project/pull/158462
>From a1941312179171a8752c27f886158ce4fd90db33 Mon Sep 17 00:00:00 2001
From: flovent
Date: Sun, 14 Sep 2025 14:33:59 +0800
Subject: [PATCH 01/19] [clang-tidy] Add new check
`modernize-use-structured-binding`
https://github.com/flovent updated
https://github.com/llvm/llvm-project/pull/158462
>From a1941312179171a8752c27f886158ce4fd90db33 Mon Sep 17 00:00:00 2001
From: flovent
Date: Sun, 14 Sep 2025 14:33:59 +0800
Subject: [PATCH 01/18] [clang-tidy] Add new check
`modernize-use-structured-binding`
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/158462
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor approved this pull request.
https://github.com/llvm/llvm-project/pull/158497
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
capitan-davide wrote:
> LGTM But there are still some violations left?
Yes, two more. Unfortunately, they require some refactoring as `llvm::yaml::IO`
API uses C-strings only.
```sh
clang-tools-extra/clang-tidy/ClangTidyOptions.cpp:102:36: warning: result of a
`data()` call may not be null te
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/158480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
koachan wrote:
Okay, revised the implementation. Now it should properly do things @beetrees
@efriedma-quic
https://github.com/llvm/llvm-project/pull/155829
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-global-isel`
running on `linaro-clang-aarch64-global-isel` while building `clang` at step 7
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/125/builds/10357
Here is the
https://github.com/vbvictor approved this pull request.
LGTM
But there are still some violations left?
https://github.com/llvm/llvm-project/pull/158480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/AmrDeveloper edited
https://github.com/llvm/llvm-project/pull/157713
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,419 @@
+//===--- UseStructuredBindingCheck.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/jeremyd2019 closed
https://github.com/llvm/llvm-project/pull/158385
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Keenuts created
https://github.com/llvm/llvm-project/pull/158047
Follow up to #157841, replacing the C-array with std::array so iterators can be
used.
From e42d05ca3c20817d9869f3e4cc3b98087b285175 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nathan=20Gau=C3=ABr?=
Date: Thu, 11
@@ -0,0 +1,60 @@
+.. title:: clang-tidy - bugprone-cast-to-struct
+
+bugprone-cast-to-struct
+===
+
+Finds casts from pointers to struct or scalar type to pointers to struct type.
+
+Casts between pointers to different structs can be unsafe because it is
possi
@@ -0,0 +1,216 @@
+// RUN: %check_clang_tidy -std=c++17-or-later %s
modernize-use-structured-binding %t -- -- -I %S/Inputs/use-structured-binding/
+
+#include "fake_std_pair_tuple.h"
+
+template
+void MarkUsed(T x);
+
+struct TestClass {
+ int a;
+ int b;
+ TestClass() : a(0),
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: None (JVApen)
Changes
Do not restrict HeaderSourceSwitch to switching between .h and .cpp. For
templates, the relevant 'source' is the header containing the implementation of
the templated functions.
Instead of considering every symbol
1 - 100 of 177 matches
Mail list logo