https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/149827
>From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Sun, 3 Aug 2025 11:38:07 +0100
Subject: [PATCH 1/3] [clang][Attr] Remove 'literal label' form of AsmLabelAttr
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/150823
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/149827
>From a61eb43dd47463a817e2899ec81bab23d5bdc9bc Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 4 Aug 2025 07:49:19 +0100
Subject: [PATCH 1/3] Clang
---
clang/include/clang/Basic/Attr.td | 17
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Balazs Benics (steakhal)
Changes
We sometimes don't know if the operand of [[assume]] is true/false, and that's
okay. We can just ignore the attribute in that case.
If we wanted something more fancy, we could bring the a
https://github.com/steakhal updated
https://github.com/llvm/llvm-project/pull/151908
>From 9ddd76493ede7e70efc0e930bb6beb31601721ad Mon Sep 17 00:00:00 2001
From: Balazs Benics
Date: Mon, 4 Aug 2025 08:18:26 +0200
Subject: [PATCH] [analyzer] Drop assertion enforcing that assume args are
known
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/151908
We sometimes don't know if the operand of [[assume]] is true/false, and that's
okay. We can just ignore the attribute in that case.
If we wanted something more fancy, we could bring the assumption to the
cons
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/151904.diff
6 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+1-1)
- (modified) clang/lib/AST/ByteCode/Context.cpp (+1-1)
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/151904
None
>From 707fa648c0cf4de66adf34d307dec3e41559f962 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 3 Aug 2025 11:23:05 -0700
Subject: [PATCH] [AST] Use llvm::iterator_range::empty (NFC)
---
clan
https://github.com/negativ updated
https://github.com/llvm/llvm-project/pull/150952
>From 417b4e465744f9a1d1704c87da4587626c9f5411 Mon Sep 17 00:00:00 2001
From: Andrey Karlov
Date: Mon, 28 Jul 2025 16:23:21 +0300
Subject: [PATCH 1/2] Initial implementation
---
.../bugprone/unchecked-optional
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. ``int``, ``float``) and recommends usin
https://github.com/EugeneZelenko edited
https://github.com/llvm/llvm-project/pull/146970
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tclin914 wrote:
> What is the status of Zvfbfa in RVI vector sig?
I think it's still under review:
https://lists.riscv.org/g/tech-arch-review/topic/fast_track_admission_request/113319206.
I'm not too familiar with how the ISA review process works.
https://github.com/llvm/llvm-project/pull/151
https://github.com/ChuanqiXu9 approved this pull request.
https://github.com/llvm/llvm-project/pull/151862
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mizvekov wrote:
> Hope that neither of these complicate your refactor! Looks like super
> impressive work; looking forward to seeing it land.
Thanks, that was very a very helpful summary!
I don't think this changes much about the design here, we will get a few new
nested name kinds, and these
matts1 wrote:
What's required to get this merged? It's blocking some of my work so I'd prefer
it merged sooner rather than later.
https://github.com/llvm/llvm-project/pull/151277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
https://github.com/HighCommander4 requested changes to this pull request.
I do think it would be good to have a test case for this; this is tricky code
(and probably also performance-sensitive), and walking through a test case
helps to think through the resulting behaviour.
You can have a look
@@ -3558,6 +3558,76 @@ struct FormatStyle {
/// \version 9
std::vector NamespaceMacros;
+ /// Control over each component in a numeric literal.
+ enum NumericLiteralComponentStyle : int8_t {
+/// Leave this component of the literal as is.
+NLCS_Leave,
+/// Al
owenca wrote:
I suggest `Prefix`, `HexDigit`, `ExponentLetter`, and `Suffix` for the
sub-option names and `Leave`, `Lower`, and `Upper` for the enum values. For
example:
```
NumericLiteralCase:
Prefix: Lower # 0x, 0b, etc.
HexDigit: Upper # ABCDEF
ExponentLetter: Lower # e a
@@ -0,0 +1,347 @@
+//===--- NumericLiteralCaseFixer.cpp ---*- 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: Apache-2
@@ -0,0 +1,347 @@
+//===--- NumericLiteralCaseFixer.cpp ---*- 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: Apache-2
https://github.com/AndreyG updated
https://github.com/llvm/llvm-project/pull/151874
>From aec94acddef414c3728047b5ff2adeb22d20694b Mon Sep 17 00:00:00 2001
From: Andrey
Date: Sun, 3 Aug 2025 12:39:39 +0200
Subject: [PATCH] [clang-tidy] fix `bugprone-narrowing-conversions` false
positive for co
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/149827
>From 809925d0fcb99f919b3a443a9b5fb22e4173a504 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Sun, 3 Aug 2025 11:38:07 +0100
Subject: [PATCH 1/3] [clang][Attr] Remove 'literal label' form of AsmLabelAttr
aaronpuchert wrote:
I've been trying to implement this in `ThreadSafety.cpp`, and it does seem to
work, but I ended up at the same conclusion that you had originally: that we
don't need to warn about this. It's certainly a strange thing to write, but
warnings are mostly about preventing accide
llvmbot wrote:
/pull-request llvm/llvm-project#151889
https://github.com/llvm/llvm-project/pull/150857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aaronpuchert wrote:
/cherry-pick a048aeb06e5de571eadd646860c320b9a67d1efc
https://github.com/llvm/llvm-project/pull/150857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/aaronpuchert milestoned
https://github.com/llvm/llvm-project/pull/150857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/aaronpuchert updated
https://github.com/llvm/llvm-project/pull/149660
>From 1b1d3114602505618fa9bf7c7009ca848f53f814 Mon Sep 17 00:00:00 2001
From: Aaron Puchert
Date: Sat, 19 Jul 2025 17:33:01 +0200
Subject: [PATCH] Thread safety analysis: Allocate FactEntrys with
BumpPtrAl
@@ -941,43 +966,68 @@ class LockableFactEntry : public FactEntry {
}
};
-class ScopedLockableFactEntry : public FactEntry {
+enum UnderlyingCapabilityKind {
+ UCK_Acquired, ///< Any kind of acquired capability.
+ UCK_ReleasedShared,///< Shared capability that
=?utf-8?q?Ildikó?= Cseri ,
=?utf-8?q?Ildikó?= Cseri ,
=?utf-8?q?Ildikó?= Cseri ,
=?utf-8?q?Ildikó?= Cseri
Message-ID:
In-Reply-To:
@@ -497,354 +78,3 @@ SYMBOL(_26, std::placeholders::, )
SYMBOL(_27, std::placeholders::, )
SYMBOL(_28, std::placeholders::, )
SYMBOL(_29, std::p
Author: Utkarsh Saxena
Date: 2025-08-03T21:45:36+02:00
New Revision: f9be391dd7cf04d83525cfccc954c80c6f05d15d
URL:
https://github.com/llvm/llvm-project/commit/f9be391dd7cf04d83525cfccc954c80c6f05d15d
DIFF:
https://github.com/llvm/llvm-project/commit/f9be391dd7cf04d83525cfccc954c80c6f05d15d.diff
https://github.com/usx95 closed https://github.com/llvm/llvm-project/pull/150670
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
usx95 wrote:
### Merge activity
* **Aug 3, 7:43 PM UTC**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/150670).
https://github.com/llvm/llvm-project/pull/150670
___
https://github.com/carlosgalvezp updated
https://github.com/llvm/llvm-project/pull/151035
>From ba0f486d6509c4227dfd3fdd66f0514534230186 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20G=C3=A1lvez?=
Date: Thu, 24 Jul 2025 21:10:43 +
Subject: [PATCH] [clang-tidy] Avoid matching nodes in sy
carlosgalvezp wrote:
> In one of the files we check. Would we still get warnings for UserCode?
Yes, we would. For example, a simple:
```
int x = 0;
assert(reinterpret_cast(x) == nullptr);
```
Triggers `cppcoreguidelines-pro-type-reinterpret-cast` for the use of
`reinterpret_cast`, even if it'
https://github.com/carlosgalvezp updated
https://github.com/llvm/llvm-project/pull/151035
>From 638b35e0f66f216cf29b67834f212f56f09acd7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20G=C3=A1lvez?=
Date: Thu, 24 Jul 2025 21:10:43 +
Subject: [PATCH] [clang-tidy] Avoid matching nodes in sy
quic-garvgupt wrote:
> This does works for the compilation step, for me it isn't sufficient to link
> the resulting object file:
>
> ```shell
> $ clang -I ./include -c ./src/use_macro.c -flto # Fixed by this PR
> $ ld.lld use_macro.o
> ld.lld: error: :1:10: Could not find include file 'macro.s
@@ -568,31 +572,44 @@ bool writeThinLTOBitcode(raw_ostream &OS, raw_ostream
*ThinLinkOS,
// produced for the full link.
ModuleHash ModHash = {{0}};
WriteBitcodeToFile(M, OS, ShouldPreserveUseListOrder, Index,
- /*GenerateHash=*/true, &ModHash);
+
@@ -1336,6 +1336,44 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ template static SourceLocation getNodeLocation(const T &Node) {
+return Node.getBeginLoc();
+ }
+
+ static SourceLocation getNodeLocation(const QualType &Node) { return
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while
building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/186/builds/11280
Here is the relev
@@ -21,46 +24,64 @@ using namespace llvm;
PreservedAnalyses BitcodeWriterPass::run(Module &M, ModuleAnalysisManager &AM)
{
M.removeDebugIntrinsicDeclarations();
- const ModuleSummaryIndex *Index =
- EmitSummaryIndex ? &(AM.getResult(M))
- : nullp
@@ -139,39 +146,43 @@ initializeRecordStreamer(const Module &M,
void ModuleSymbolTable::CollectAsmSymbols(
const Module &M,
-function_ref AsmSymbol) {
- initializeRecordStreamer(M, [&](RecordStreamer &Streamer) {
-Streamer.flushSymverDirectives();
-
-for (auto
@@ -1158,7 +1158,7 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
return;
}
MPM.addPass(ThinLTOBitcodeWriterPass(
-*OS, ThinLinkOS ? &ThinLinkOS->os() : nullptr));
+*OS, ThinLinkOS ? &ThinLinkOS->os() : nullptr, false, T
@@ -1336,6 +1336,44 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ template static SourceLocation getNodeLocation(const T &Node) {
+return Node.getBeginLoc();
+ }
+
+ static SourceLocation getNodeLocation(const QualType &Node) { return
https://github.com/carlosgalvezp updated
https://github.com/llvm/llvm-project/pull/151035
>From 89a2228e6599b5d1dbd0b734403b317076a93669 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20G=C3=A1lvez?=
Date: Thu, 24 Jul 2025 21:10:43 +
Subject: [PATCH] [clang-tidy] Avoid matching nodes in sy
https://github.com/quic-garvgupt updated
https://github.com/llvm/llvm-project/pull/143692
>From 2ce59cc209f7ffc449f20773e76414839a5125b6 Mon Sep 17 00:00:00 2001
From: Garvit Gupta
Date: Mon, 26 May 2025 10:45:37 -0700
Subject: [PATCH] Pass TargetMachine from from Clang to `BitcodeWriter`and
`
@@ -1336,6 +1336,44 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ template static SourceLocation getNodeLocation(const T &Node) {
+return Node.getBeginLoc();
+ }
+
+ static SourceLocation getNodeLocation(const QualType &Node) { return
@@ -1336,6 +1336,44 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ template static SourceLocation getNodeLocation(const T &Node) {
+return Node.getBeginLoc();
+ }
+
+ static SourceLocation getNodeLocation(const QualType &Node) { return
https://github.com/AndreyG edited
https://github.com/llvm/llvm-project/pull/151874
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running
on `hip-vega20-0` while building `clang` at step 3 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/123/builds/24610
Here is the relevant piece of the build log fo
@@ -570,6 +594,124 @@ ComplexExprEmitter::emitBinOps(const BinaryOperator *e,
QualType promotionTy) {
return binOpInfo;
}
+LValue ComplexExprEmitter::emitCompoundAssignLValue(
+const CompoundAssignOperator *e,
+mlir::Value (ComplexExprEmitter::*func)(const BinOpInfo
https://github.com/AndreyG updated
https://github.com/llvm/llvm-project/pull/151874
>From 5bd55220bc5a7f0d4fa5b43978068e944abfd231 Mon Sep 17 00:00:00 2001
From: Andrey
Date: Sun, 3 Aug 2025 12:39:39 +0200
Subject: [PATCH] [clang-tidy] fix `bugprone-narrowing-conversions` false
positive for co
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/150759
>From 966844c4bbb1a2794c184e9a47bf97aa782dcdfc Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 26 Jul 2025 14:43:06 +0200
Subject: [PATCH 1/4] [CIR] Plus & Minus CompoundAssignment support for
Compl
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/150759
>From 966844c4bbb1a2794c184e9a47bf97aa782dcdfc Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 26 Jul 2025 14:43:06 +0200
Subject: [PATCH 1/3] [CIR] Plus & Minus CompoundAssignment support for
Compl
Author: Aaron Puchert
Date: 2025-08-03T19:50:17+02:00
New Revision: a048aeb06e5de571eadd646860c320b9a67d1efc
URL:
https://github.com/llvm/llvm-project/commit/a048aeb06e5de571eadd646860c320b9a67d1efc
DIFF:
https://github.com/llvm/llvm-project/commit/a048aeb06e5de571eadd646860c320b9a67d1efc.diff
https://github.com/aaronpuchert closed
https://github.com/llvm/llvm-project/pull/150857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -53,21 +58,228 @@ typedef struct{
typedef struct{
volatile unsigned int a : 3;
-unsigned int z: 2;
-volatile unsigned int b : 5;
+unsigned int z;
+volatile unsigned long b : 16;
} st4;
// CIR-LAYOUT: BitFields:[
-// CIR-LAYOUT-NEXT:
-// CIR-LAYOUT
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/150759
>From 966844c4bbb1a2794c184e9a47bf97aa782dcdfc Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 26 Jul 2025 14:43:06 +0200
Subject: [PATCH 1/2] [CIR] Plus & Minus CompoundAssignment support for
Compl
AndreyG wrote:
@vbvictor I've found out that unlike other narrowing-conversion tests, I didn't
set explicitly target for the test run.
I've fixed it and created another PR #151874. Please, take a look and sorry for
the inconvenience.
https://github.com/llvm/llvm-project/pull/139474
___
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (Andres-Salamanca)
Changes
This PR adds support for loading and storing volatile bit-field members
according to the AAPCS specification.
> A volatile bit-field must always be accessed using an access width
appropriate to the type of
codemzs wrote:
> > @codemzs I want to make sure you saw the pending feedback. I think it would
> > be great if we could land this for clang 21 :)
>
> @cor3ntin I plan to address the feedback this weekend. I agree with you on
> aiming to get this in for clang 21, thank you for letting me know.
https://github.com/Andres-Salamanca created
https://github.com/llvm/llvm-project/pull/151875
This PR adds support for loading and storing volatile bit-field members
according to the AAPCS specification.
> A volatile bit-field must always be accessed using an access width
> appropriate to the
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
@llvm/pr-subscribers-clang-tools-extra
Author: Andrey (AndreyG)
Changes
This is another attempt to merge previously
[reverted](https://github.com/llvm/llvm-project/pull/139474#issuecomment-3148339124)
PR #139474. The added tests
`narrowing-
https://github.com/AndreyG created
https://github.com/llvm/llvm-project/pull/151874
This is another attempt to merge previously
[reverted](https://github.com/llvm/llvm-project/pull/139474#issuecomment-3148339124)
PR #139474. The added tests
`narrowing-conversions-conditional-expressions.c[pp]
https://github.com/nicovank closed
https://github.com/llvm/llvm-project/pull/151873
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nicolas van Kempen
Date: 2025-08-03T09:51:54-07:00
New Revision: 408fe1d369df926eecd6c15ce939d38652b4b58d
URL:
https://github.com/llvm/llvm-project/commit/408fe1d369df926eecd6c15ce939d38652b4b58d
DIFF:
https://github.com/llvm/llvm-project/commit/408fe1d369df926eecd6c15ce939d38652b4b58d.
@@ -1336,6 +1336,44 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ template static SourceLocation getNodeLocation(const T &Node) {
+return Node.getBeginLoc();
+ }
+
+ static SourceLocation getNodeLocation(const QualType &Node) { return
https://github.com/steakhal commented:
The patch looks good. I had a couple of remarks though.
Thank you for working on this.
https://github.com/llvm/llvm-project/pull/151035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.or
@@ -1336,6 +1336,44 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ template static SourceLocation getNodeLocation(const T &Node) {
+return Node.getBeginLoc();
+ }
+
+ static SourceLocation getNodeLocation(const QualType &Node) { return
@@ -1336,6 +1336,44 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ template static SourceLocation getNodeLocation(const T &Node) {
+return Node.getBeginLoc();
+ }
+
+ static SourceLocation getNodeLocation(const QualType &Node) { return
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/151035
___
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.
LGTM, thanks!
Indeed, CI checks could be helpful
https://github.com/llvm/llvm-project/pull/151873
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
katzdm wrote:
Hey @mizvekov - Just wanted to point out a few C++26 changes to
nested-name-specifiers (via P2996), in case it helps in any way to future-proof
your design.
- A nested-name-specifier can now be either "_splice-specifier_ `::`" or
"`template` _splice-specialization-specifier_ `::`
Author: Aiden Grossman
Date: 2025-08-03T16:07:36Z
New Revision: 90f1e04954daff087166c1072ad908d62e6ac6c9
URL:
https://github.com/llvm/llvm-project/commit/90f1e04954daff087166c1072ad908d62e6ac6c9
DIFF:
https://github.com/llvm/llvm-project/commit/90f1e04954daff087166c1072ad908d62e6ac6c9.diff
LOG
nicovank wrote:
Unfortunately there is no CI setup for this.
https://github.com/llvm/llvm-project/pull/151873
___
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-tidy
Author: Nicolas van Kempen (nicovank)
Changes
This script passes
```
python3 -m mypy --strict clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
```
`args` and `kwargs` can be typed with what we expect for a single argument. In
this case,
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Nicolas van Kempen (nicovank)
Changes
This script passes
```
python3 -m mypy --strict clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
```
`args` and `kwargs` can be typed with what we expect for a single argument. In
this
https://github.com/nicovank created
https://github.com/llvm/llvm-project/pull/151873
This script passes
```
python3 -m mypy --strict clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
```
`args` and `kwargs` can be typed with what we expect for a single argument. In
this case, since we forwa
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/151852
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-08-03T08:45:05-07:00
New Revision: 32bc2512a3f596ed176b0e8c1a2566e9229db825
URL:
https://github.com/llvm/llvm-project/commit/32bc2512a3f596ed176b0e8c1a2566e9229db825
DIFF:
https://github.com/llvm/llvm-project/commit/32bc2512a3f596ed176b0e8c1a2566e9229db825.diff
L
@@ -1921,6 +1921,10 @@ void UnwrappedLineParser::parseStructuralElement(
}
} else if (Style.BraceWrapping.AfterFunction) {
addUnwrappedLine();
+} else if (Style.AllowShortFunctionBodiesOnASingleLine) {
+ // Wrap the left brace here;
Xazax-hun wrote:
> The rationale being that a user typically cannot change the contents of a
> system macro anyway.
This is not always true, e.g., when it comes to macros with arguments. I am
mostly interested in the scenario where someone has something like:
```
SYSTEM_HEADER_MACRO(UserCode)
@@ -105,6 +105,10 @@ Improvements to clang-tidy
now run checks in parallel by default using all available hardware threads.
Both scripts display the number of threads being used in their output.
+- :program:`clang-tidy` no longer attemps to analyze code from system headers
@@ -1507,11 +1544,17 @@ bool MatchASTVisitor::TraverseStmt(Stmt *StmtNode,
DataRecursionQueue *Queue) {
}
bool MatchASTVisitor::TraverseType(QualType TypeNode) {
+ if (shouldSkipNode(TypeNode))
Xazax-hun wrote:
> b) overload the function for QualType and di
cseriildi wrote:
@kadircet should I modify the failing unit test or what is the best course of
action?
https://github.com/llvm/llvm-project/pull/147720
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
@@ -51,31 +51,23 @@ class InterpreterRemoteTest : public InterpreterTestBase {
using Args = std::vector;
+void removeFilename(int count, llvm::SmallString<256> &Path) {
vgvassilev wrote:
```suggestion
static void removePathComponent(unsigned N, llvm::SmallSt
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux`
running on `systemz-1` while building
`clang-tools-extra,clang,flang-rt,flang,lldb,llvm` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/88/builds/14669
H
https://github.com/c8ef closed https://github.com/llvm/llvm-project/pull/151864
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Connector Switch
Date: 2025-08-03T22:32:00+08:00
New Revision: 8b7f81f2de1faceaa29b2c148d99b663d23f7110
URL:
https://github.com/llvm/llvm-project/commit/8b7f81f2de1faceaa29b2c148d99b663d23f7110
DIFF:
https://github.com/llvm/llvm-project/commit/8b7f81f2de1faceaa29b2c148d99b663d23f7110.di
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From 79849c3ba76ebf66fd7856fa92cd98af56ac49a6 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/EugeneZelenko approved this pull request.
https://github.com/llvm/llvm-project/pull/151863
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Qwinci updated
https://github.com/llvm/llvm-project/pull/151836
>From 5d6cdacb04b9bdb6cc4bad1539901b442ae613d5 Mon Sep 17 00:00:00 2001
From: Qwinci
Date: Sun, 3 Aug 2025 16:18:37 +0300
Subject: [PATCH] [clang][sema]: Error when SEH __try is used in a function
with C++ dtors
https://github.com/c8ef updated https://github.com/llvm/llvm-project/pull/151864
>From 0440a3602e32fb0215c438db939bda6b8503762b Mon Sep 17 00:00:00 2001
From: c8ef
Date: Sun, 3 Aug 2025 20:55:14 +0800
Subject: [PATCH 1/2] fix assignment typo
---
.../checkers/performance/unnecessary-value-param
https://github.com/Qwinci updated
https://github.com/llvm/llvm-project/pull/151836
>From 472cdf4a8433c776a3d955a2b8a7dbe71d85f763 Mon Sep 17 00:00:00 2001
From: Qwinci
Date: Sun, 3 Aug 2025 16:18:37 +0300
Subject: [PATCH] [clang][sema]: Error when SEH __try is used in a function
with C++ dtors
https://github.com/Qwinci edited
https://github.com/llvm/llvm-project/pull/151836
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Qwinci edited
https://github.com/llvm/llvm-project/pull/151836
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Qwinci edited
https://github.com/llvm/llvm-project/pull/151836
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Qwinci updated
https://github.com/llvm/llvm-project/pull/151836
>From 858ae7ed08a52cc8e4a295df7ca3b536df88a7b7 Mon Sep 17 00:00:00 2001
From: Qwinci
Date: Sun, 3 Aug 2025 16:18:37 +0300
Subject: [PATCH] [clang][sema]: Error when SEH __try is used in a function
with C++ dtors
https://github.com/vbvictor approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/151864
___
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-tidy
Author: Connector Switch (c8ef)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/151864.diff
15 Files Affected:
- (modified)
clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-value-param.cpp
(+2-2)
- (m
llvmbot wrote:
@llvm/pr-subscribers-flang-fir-hlfir
@llvm/pr-subscribers-clang
Author: Connector Switch (c8ef)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/151864.diff
15 Files Affected:
- (modified)
clang-tools-extra/test/clang-tidy/checkers/performance/unnecessa
1 - 100 of 179 matches
Mail list logo