Author: Daniel Paoliello
Date: 2025-05-09T14:56:38-07:00
New Revision: 97a58b04c6813d8cab1bfb47ce5023895b016319
URL:
https://github.com/llvm/llvm-project/commit/97a58b04c6813d8cab1bfb47ce5023895b016319
DIFF:
https://github.com/llvm/llvm-project/commit/97a58b04c6813d8cab1bfb47ce5023895b016319.di
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/136828
>From f19a0a6045c98211fcb354e6614aa6707dfccc59 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Wed, 30 Apr 2025 22:26:59 -0700
Subject: [PATCH] [clang][ptrauth] add support for options parameter to
__ptrauth
T
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Cory Fields (theuni)
Changes
Fix the case where `release_generic_capability` did not correctly release when
used as a reverse capability as enabled by commit 6a68efc959.
I noticed this when trying to implement a reverse lock.
My my proje
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/139335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Oliver Hunt
Date: 2025-05-09T16:38:42-07:00
New Revision: 3f42d34c03096af4f026db2dbe049bbb20f0fddc
URL:
https://github.com/llvm/llvm-project/commit/3f42d34c03096af4f026db2dbe049bbb20f0fddc
DIFF:
https://github.com/llvm/llvm-project/commit/3f42d34c03096af4f026db2dbe049bbb20f0fddc.diff
L
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/139353
None
>From b2e1ad4dde2e1a2ef56e47d7c86e86271c264521 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Tue, 25 Mar 2025 00:24:37 -0700
Subject: [PATCH] [StaticAnalyzer] Remove redundant calls to
std::uniq
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/139353.diff
5 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp (+1-1)
- (modified) clang/lib/StaticAnaly
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/139353
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cachemeifyoucan approved this pull request.
https://github.com/llvm/llvm-project/pull/139335
___
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: Ian Anderson (ian-twilightcoder)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/139335.diff
1 Files Affected:
- (modified) clang/unittests/Frontend/SearchPathTest.cpp (+3-3)
``diff
diff --git a/clang/unitte
ian-twilightcoder wrote:
Yeah that's the one, https://github.com/llvm/llvm-project/pull/139335.
Hopefully that'll take care of the buildbot
https://github.com/llvm/llvm-project/pull/138234
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
https://github.com/Artem-B approved this pull request.
https://github.com/llvm/llvm-project/pull/139244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Johannes Doerfert
Date: 2025-05-09T16:32:39-07:00
New Revision: 73165de4e68166da5527641078aeaa039116d63d
URL:
https://github.com/llvm/llvm-project/commit/73165de4e68166da5527641078aeaa039116d63d
DIFF:
https://github.com/llvm/llvm-project/commit/73165de4e68166da5527641078aeaa039116d63d.d
https://github.com/jdoerfert closed
https://github.com/llvm/llvm-project/pull/139287
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-openmp
Author: Johannes Doerfert (jdoerfert)
Changes
We are missing a few declerative directives in the parser for executable and
declerative directives causing us to error out if they are inside of functions.
This adds support for begin/end declare va
https://github.com/jdoerfert created
https://github.com/llvm/llvm-project/pull/139344
We are missing a few declerative directives in the parser for executable and
declerative directives causing us to error out if they are inside of functions.
This adds support for begin/end declare variant by
rniwa wrote:
Thanks for the review!
https://github.com/llvm/llvm-project/pull/138042
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/138995
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Cyndy Ishida
Date: 2025-05-09T16:56:18-07:00
New Revision: 12e6622d4a6602e1c63b261b185eab136b4827de
URL:
https://github.com/llvm/llvm-project/commit/12e6622d4a6602e1c63b261b185eab136b4827de
DIFF:
https://github.com/llvm/llvm-project/commit/12e6622d4a6602e1c63b261b185eab136b4827de.diff
Author: Ryosuke Niwa
Date: 2025-05-09T17:44:13-07:00
New Revision: 984475d82df8d75095c987c909073cec83d5375e
URL:
https://github.com/llvm/llvm-project/commit/984475d82df8d75095c987c909073cec83d5375e
DIFF:
https://github.com/llvm/llvm-project/commit/984475d82df8d75095c987c909073cec83d5375e.diff
rniwa wrote:
Thanks for the review!
https://github.com/llvm/llvm-project/pull/138995
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/theuni edited
https://github.com/llvm/llvm-project/pull/139343
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138060
>From 88e705710a6c25eee3468dc51ade3b1e274eb7be Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 07:59:01 -0700
Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator.cpp
Split from #133161. This
https://github.com/Sirraide closed
https://github.com/llvm/llvm-project/pull/133653
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/136828
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
@@ -285,15 +285,43 @@ void ExprEngine::VisitCast(const CastExpr *CastE, const
Expr *Ex,
ExplodedNodeSet dstPreStmt;
getCheckerManager().runCheckersForPreStmt(dstPreStmt, Pred, CastE, *this);
- if (CastE->getCastKind() == CK_LValueToRValue ||
- CastE->getCastKind() =
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/139199
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zwuis commented:
LGTM module nit.
Are you happy with the current state? @cor3ntin @Sirraide
https://github.com/llvm/llvm-project/pull/130458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/130458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/136828
>From 8d42eca9da4afd53b9d51fda5a8d285ed2cdeb72 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Wed, 30 Apr 2025 22:26:59 -0700
Subject: [PATCH 1/2] [clang][PAC] add support for options parameter to
__ptrauth
T
Author: Prabhu Rajasekaran
Date: 2025-05-09T04:26:31-07:00
New Revision: ca6c6f1dfb03571dda8d8bca15b8df7d2983d4dc
URL:
https://github.com/llvm/llvm-project/commit/ca6c6f1dfb03571dda8d8bca15b8df7d2983d4dc
DIFF:
https://github.com/llvm/llvm-project/commit/ca6c6f1dfb03571dda8d8bca15b8df7d2983d4dc.
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-4` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/19726
Here is th
Author: Krzysztof Parzyszek
Date: 2025-05-09T07:41:54-05:00
New Revision: 6094080d27bc6dae4d85de207d4cf5586becf1aa
URL:
https://github.com/llvm/llvm-project/commit/6094080d27bc6dae4d85de207d4cf5586becf1aa
DIFF:
https://github.com/llvm/llvm-project/commit/6094080d27bc6dae4d85de207d4cf5586becf1aa
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/139131
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/139115
___
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/139115
___
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/139131
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -25030,7 +25030,8 @@ static SDValue foldCSELofLASTB(SDNode *Op, SelectionDAG
&DAG) {
if (AnyPred.getOpcode() == AArch64ISD::REINTERPRET_CAST)
AnyPred = AnyPred.getOperand(0);
- if (TruePred != AnyPred && TruePred.getOpcode() != AArch64ISD::PTRUE)
+ if (TruePred !=
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/126434
>From c30d6e1cb5770d9a7bda077c60958027515c065c Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Mon, 3 Mar 2025 09:25:03 +0300
Subject: [PATCH 01/12] [clang-tidy] add scoped-lock-check
---
.../clang-tidy/m
https://github.com/hokein updated
https://github.com/llvm/llvm-project/pull/139253
>From b8ba1ae30227fd7c946c5f5e57fb83e47f3bbe69 Mon Sep 17 00:00:00 2001
From: Haojian Wu
Date: Fri, 9 May 2025 10:24:01 +0200
Subject: [PATCH] Reland "Reland [Modules] Remove unnecessary check when
generating na
https://github.com/NagyDonat created
https://github.com/llvm/llvm-project/pull/139256
The checker classes (i.e. classes derived from `CheckerBase` via the utility
template `Checker<...>`) act as intermediates between the user and the analyzer
engine, so they have two interfaces:
- On the front
@@ -0,0 +1,93 @@
+//RUN: %libomp-cxx-compile -fopenmp-version=60 && %libomp-run
+#include
+#include
+#include "omp_testsuite.h"
+
+#define N 10
+class Sum {
+ int val;
+
+public:
+ Sum(int v = 0) : val(v) {}
+ Sum operator+(const Sum &rhs) const { return Sum(val + rhs.val);
@@ -0,0 +1,93 @@
+//RUN: %libomp-cxx-compile -fopenmp-version=60 && %libomp-run
+#include
+#include
+#include "omp_testsuite.h"
+
+#define N 10
+class Sum {
+ int val;
+
+public:
+ Sum(int v = 0) : val(v) {}
+ Sum operator+(const Sum &rhs) const { return Sum(val + rhs.val);
@@ -0,0 +1,93 @@
+//RUN: %libomp-cxx-compile -fopenmp-version=60 && %libomp-run
+#include
+#include
+#include "omp_testsuite.h"
+
+#define N 10
+class Sum {
+ int val;
+
+public:
+ Sum(int v = 0) : val(v) {}
+ Sum operator+(const Sum &rhs) const { return Sum(val + rhs.val);
https://github.com/AaronBallman approved this pull request.
I didn't spot any further concerns, but I'd appreciate a second set of eyes on
this given the size of the changes.
https://github.com/llvm/llvm-project/pull/111035
___
cfe-commits mailing lis
https://github.com/CarlosAlbertoEnciso updated
https://github.com/llvm/llvm-project/pull/130255
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`amdgpu-offload-rhel-9-cmake-build-only` running on `rocm-docker-rhel-9` while
building `flang` at step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/205/builds/8833
Here is the releva
Maetveis wrote:
ping @ChuanqiXu9 can you please review?
https://github.com/llvm/llvm-project/pull/135375
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jan Svoboda
Date: 2025-05-09T08:33:28-07:00
New Revision: 49c513844db2e1513827a7c5b3c08acf87cfbd2b
URL:
https://github.com/llvm/llvm-project/commit/49c513844db2e1513827a7c5b3c08acf87cfbd2b
DIFF:
https://github.com/llvm/llvm-project/commit/49c513844db2e1513827a7c5b3c08acf87cfbd2b.diff
L
https://github.com/stuij closed https://github.com/llvm/llvm-project/pull/139055
___
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` at step 4
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/11/builds/14789
Here is the relevant
mizvekov wrote:
Hello, it is helpful to include link to original landing attempt, and a brief
description of what changed since last time, or otherwise explanation of why we
go ahead and reland with no changes anyway.
https://github.com/llvm/llvm-project/pull/139246
___
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/17515
Her
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building
`clang` at step 7 "Add check check-clang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/10/builds/5055
Here is the re
https://github.com/JungPhilipp updated
https://github.com/llvm/llvm-project/pull/138282
>From 0567bc8e1168bb409ee759dd5505861a644a8ead Mon Sep 17 00:00:00 2001
From: Philipp Jung
Date: Fri, 2 May 2025 15:22:40 +0200
Subject: [PATCH 1/5] Add check 'modernize-use-enum-class'
Warn on non-class en
@@ -0,0 +1,26 @@
+.. title:: clang-tidy - modernize-use-enum-class
+
+modernize-use-enum-class
+=
+
+Scoped enums (enum class) should be preferred over unscoped enums:
JungPhilipp wrote:
Done
https://github.com/llvm/llvm-project/pull/
@@ -0,0 +1,34 @@
+//===--- UseEnumClassCheck.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: Apa
@@ -0,0 +1,58 @@
+// RUN: %check_clang_tidy -std=c++17-or-later %s modernize-use-enum-class %t
JungPhilipp wrote:
Done
https://github.com/llvm/llvm-project/pull/138282
___
cfe-commits mailing list
cfe-commits@lists.llv
@@ -0,0 +1,34 @@
+//===--- UseEnumClassCheck.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: Apa
@@ -0,0 +1,34 @@
+//===--- UseEnumClassCheck.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: Apa
@@ -115,6 +115,11 @@ New checks
Gives warnings for tagged unions, where the number of tags is
different from the number of data members inside the union.
+- New :doc:`modernize-use-enum-class
+ ` check.
+
+ Finds plain non-class enum definitions that could use ``enum cla
@@ -0,0 +1,34 @@
+//===--- UseEnumClassCheck.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/AaronBallman updated
https://github.com/llvm/llvm-project/pull/139280
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,s
https://github.com/Wolfram70 edited
https://github.com/llvm/llvm-project/pull/139244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alexrp wrote:
Ah, if there are no known users outside of the test suite, then it might not be
worth the trouble.
https://github.com/llvm/llvm-project/pull/137949
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
Author: Cyndy Ishida
Date: 2025-05-08T21:15:10-07:00
New Revision: 823b1a582258f1417c648b3117ba08edc4855c68
URL:
https://github.com/llvm/llvm-project/commit/823b1a582258f1417c648b3117ba08edc4855c68
DIFF:
https://github.com/llvm/llvm-project/commit/823b1a582258f1417c648b3117ba08edc4855c68.diff
https://github.com/dtcxzyw closed
https://github.com/llvm/llvm-project/pull/137851
___
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: Donát Nagy (NagyDonat)
Changes
The checker classes (i.e. classes derived from `CheckerBase` via the utility
template `Checker<...>`) act as intermediates between the user and the
analyzer engine, so they have two interfaces:
- On the fron
https://github.com/erichkeane closed
https://github.com/llvm/llvm-project/pull/139119
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Yingwei Zheng
Date: 2025-05-09T19:23:48+08:00
New Revision: 61a8da9367dc7949f36916749f6038453ea4197f
URL:
https://github.com/llvm/llvm-project/commit/61a8da9367dc7949f36916749f6038453ea4197f
DIFF:
https://github.com/llvm/llvm-project/commit/61a8da9367dc7949f36916749f6038453ea4197f.diff
mstorsjo wrote:
> Would backporting this be worthwhile?
I guess it could be considered. However in practice I'm not aware of any
external cases that actually use the "force unwinding" functionality, outside
of the libunwind/libcxxabi testsuite. My main motivation is having the
`check-unwind`
Author: Matt Arsenault
Date: 2025-05-09T14:24:54+02:00
New Revision: 5ae2aed218470783e6c7a2d255c7946f4549cb46
URL:
https://github.com/llvm/llvm-project/commit/5ae2aed218470783e6c7a2d255c7946f4549cb46
DIFF:
https://github.com/llvm/llvm-project/commit/5ae2aed218470783e6c7a2d255c7946f4549cb46.diff
@@ -0,0 +1,178 @@
+// Test that modifications to a common header (imported from both a PCH and a
TU)
+// cause rebuilds of dependent modules imported from the TU on incremental
build.
+
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+
+//--- module.modulemap
+module mod_common { h
@@ -1663,6 +1663,13 @@ let TargetPrefix = "nvvm" in {
def int_nvvm_ # type # _to_f16x2 # suffix : CVT_I16_TO_F16X2;
}
}
+
+ // FP4 conversions.
+ foreach relu = ["", "_relu"] in {
+defvar suffix = !strconcat("_rn", relu);
durga4github wrote:
@@ -9659,6 +9659,42 @@ void Sema::CheckMemaccessArguments(const CallExpr *Call,
if (BId == Builtin::BIbzero && !FirstArgTy->getAs())
return;
+ // Try to detect a relocation operation
+ if (getLangOpts().CPlusPlus &&
+ (BId == Builtin::BImemmove || BId == Builtin::
https://github.com/durga4github approved this pull request.
https://github.com/llvm/llvm-project/pull/139244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
GeorgeKA wrote:
Ping @Maetveis
Any more thoughts on this one? I think I've addressed the existing comments.
https://github.com/llvm/llvm-project/pull/120900
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
@@ -0,0 +1,178 @@
+// Test that modifications to a common header (imported from both a PCH and a
TU)
+// cause rebuilds of dependent modules imported from the TU on incremental
build.
+
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+
+//--- module.modulemap
+module mod_common { h
https://github.com/Sirraide approved this pull request.
LGTM
Feel free to @ me to merge this once clang-format and CI are fine with it
because from what I can tell you don’t have commit access.
https://github.com/llvm/llvm-project/pull/133653
___
cfe
@@ -0,0 +1,26 @@
+.. title:: clang-tidy - modernize-use-enum-class
+
+modernize-use-enum-class
+=
+
+Scoped enums (enum class) should be preferred over unscoped enums:
+https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Renum-class
---
@@ -0,0 +1,34 @@
+//===--- UseEnumClassCheck.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: Apa
durga4github wrote:
Changes LGTM. Let us wait for Artem's review.
https://github.com/llvm/llvm-project/pull/139244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alexrp wrote:
Would backporting this be worthwhile?
https://github.com/llvm/llvm-project/pull/137949
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/139276
___
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 `llvm-clang-x86_64-sie-win`
running on `sie-win-worker` while building `clang` at step 7
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/46/builds/16524
Here is th
Author: cor3ntin
Date: 2025-05-09T18:02:09+02:00
New Revision: 0077d4ca78342ed009eca324f93f1c62a90399c5
URL:
https://github.com/llvm/llvm-project/commit/0077d4ca78342ed009eca324f93f1c62a90399c5
DIFF:
https://github.com/llvm/llvm-project/commit/0077d4ca78342ed009eca324f93f1c62a90399c5.diff
LOG:
@@ -105,3 +105,11 @@ int main(int argc, char **argv) {
return (tmain(argc) + tmain(argv[0][0])); // expected-note
{{in instantiation of function template specialization 'tmain'
requested here}} expected-note {{in instantiation of function template
specialization 'tmain' re
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/139246
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/139246
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cppm,cpp,h --
clang/include/clang/Serialization/ASTWriter.h
@@ -14175,27 +14222,350 @@ bool SemaOpenMP::checkTransformableLoopNest(
return false;
},
[&OriginalInits](OMPLoopBasedDirective *Transform) {
-Stmt *DependentPreInits;
-if (auto *Dir = dyn_cast(Transform))
- DependentPreInits = Dir->
Author: erichkeane
Date: 2025-05-09T11:26:15-07:00
New Revision: 3668a3a7c8a0a4cdb4bd781529bb72b8588e8f99
URL:
https://github.com/llvm/llvm-project/commit/3668a3a7c8a0a4cdb4bd781529bb72b8588e8f99
DIFF:
https://github.com/llvm/llvm-project/commit/3668a3a7c8a0a4cdb4bd781529bb72b8588e8f99.diff
LO
@@ -5087,6 +5087,19 @@ Decl *Sema::ParsedFreeStandingDeclSpec(Scope *S,
AccessSpecifier AS,
assert(EllipsisLoc.isInvalid() &&
"Friend ellipsis but not friend-specified?");
+ if (DS.isExportSpecified()) {
+VisibilityAttr *existingAttr = TagD->getAttr();
+if
@@ -962,6 +962,9 @@ class OMPLoopTransformationDirective : public
OMPLoopBasedDirective {
/// Number of loops generated by this loop transformation.
unsigned NumGeneratedLoops = 0;
+ /// Number of top level canonical loop nests generated by this loop
+ /// transformatio
@@ -14175,27 +14222,350 @@ bool SemaOpenMP::checkTransformableLoopNest(
return false;
},
[&OriginalInits](OMPLoopBasedDirective *Transform) {
-Stmt *DependentPreInits;
-if (auto *Dir = dyn_cast(Transform))
- DependentPreInits = Dir->
@@ -0,0 +1,20 @@
+// RUN: cir-opt %s -cir-canonicalize -o - | FileCheck %s
+
+!s32i = !cir.int
+
+module {
+ cir.func @fold_extract_vector_op_test() {
+%init = cir.alloca !s32i, !cir.ptr, ["e", init]
+%const_vec = cir.const #cir.const_vector<[#cir.int<1> : !s32i, #cir.int
@@ -0,0 +1,13 @@
+// RUN: %check_clang_tidy -std=c++11-or-later %s
cppcoreguidelines-use-enum-class %t -- -config="{CheckOptions:
{cppcoreguidelines-use-enum-class.IgnoreUnscopedEnumsInClasses: true}}" --
+
+enum E {};
+// CHECK-MESSAGES: :[[@LINE-1]]:6: warning: enum 'E' is uns
@@ -1170,82 +1171,117 @@ class CFGBuilder {
if (!areExprTypesCompatible(NumExpr1, NumExpr2))
return {};
+// Check that the two expressions are of the same type.
Expr::EvalResult L1Result, L2Result;
-if (!NumExpr1->EvaluateAsInt(L1Result, *Context) ||
-
Author: Timm Baeder
Date: 2025-05-09T09:02:25+02:00
New Revision: 7439d7bdf5aa0069c91693ec590561f234d05c20
URL:
https://github.com/llvm/llvm-project/commit/7439d7bdf5aa0069c91693ec590561f234d05c20
DIFF:
https://github.com/llvm/llvm-project/commit/7439d7bdf5aa0069c91693ec590561f234d05c20.diff
L
https://github.com/YutongZhuu updated
https://github.com/llvm/llvm-project/pull/133653
>From ca795c3f27e37ad8a8f165a3b10e9415cbfd66a5 Mon Sep 17 00:00:00 2001
From: Yutong Zhu
Date: Sat, 12 Apr 2025 15:32:46 -0400
Subject: [PATCH 1/5] Improved the -Wtautological-overlap-compare diagnostics
to
101 - 200 of 553 matches
Mail list logo