https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/151790
>From 12e745a621a7fbd30c0991bf52598455b886f37e Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Sat, 2 Aug 2025 12:02:49 +0800
Subject: [PATCH 1/2] [clang][diagnostics] Fix fix-it hint parenthesis
place
https://github.com/MythreyaK updated
https://github.com/llvm/llvm-project/pull/151624
>From f7e79ed934bcb05548b6a4d303d6ed6284648f35 Mon Sep 17 00:00:00 2001
From: Mythreya Kuricheti
Date: Fri, 1 Aug 2025 01:19:18 -0700
Subject: [PATCH 1/2] [libtooling] Insert headers in global module fragment
MythreyaK wrote:
Should I combine all into the same test case, or are 3 separate ones okay?
I just realized the other tests seem to combine multiple checks into one gtest
test.
https://github.com/llvm/llvm-project/pull/151624
___
https://github.com/MythreyaK edited
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MythreyaK edited
https://github.com/llvm/llvm-project/pull/151624
___
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/21096
Here is th
https://github.com/JVApen approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
JVApen wrote:
@HighCommander4 I don't have the power to complete on LLVM repository, can you
do that?
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/151790
>From 12e745a621a7fbd30c0991bf52598455b886f37e Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Sat, 2 Aug 2025 12:02:49 +0800
Subject: [PATCH 1/2] [clang][diagnostics] Fix fix-it hint parenthesis
place
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 cpp --
clang/test/FixIt/fixit-c++17.cpp clang/lib/Sema/SemaT
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -verify -std=c++17 -pedantic-errors %s
+// RUN: cp %s %t
+// RUN: not %clang_cc1 -x c++ -std=c++17 -fixit %t
+// RUN: %clang_cc1 -Wall -pedantic-errors -x c++ -std=c++17 %t
+
+/* This is a test of the various code modification hints that only
+
Author: Henrich Lauko
Date: 2025-08-02T09:21:05+02:00
New Revision: 44500ae265cb537905e53b02d8c1e6ef7154a3bd
URL:
https://github.com/llvm/llvm-project/commit/44500ae265cb537905e53b02d8c1e6ef7154a3bd
DIFF:
https://github.com/llvm/llvm-project/commit/44500ae265cb537905e53b02d8c1e6ef7154a3bd.diff
https://github.com/xlauko closed
https://github.com/llvm/llvm-project/pull/151217
___
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/151801
___
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 but please let other people take a look.
https://github.com/llvm/llvm-project/pull/151790
___
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/151772
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/trcrsired updated
https://github.com/llvm/llvm-project/pull/96417
>From 7371b05f23116292313f225aa6ac3dd26857683c Mon Sep 17 00:00:00 2001
From: trcrsired
Date: Sun, 23 Jun 2024 00:07:19 -0400
Subject: [PATCH] [clang] Support --sysroot= for ${arch}-windows-msvc targets
I thin
https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/151790
>From 12e745a621a7fbd30c0991bf52598455b886f37e Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Sat, 2 Aug 2025 12:02:49 +0800
Subject: [PATCH 1/3] [clang][diagnostics] Fix fix-it hint parenthesis
place
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 cpp,h --
clang/test/Driver/msvc-sysroot.cpp clang/include/cl
phoebewang wrote:
Is the problem happening when enabling async-exceptions but not cxx-exceptions
on c++ objects? I'm not sure if it's a valid scenario. The designed requires
`cxx-exceptions`, see descriptions in
https://github.com/llvm/llvm-project/commit/797ad701522988e212495285dade8efac41a24
https://github.com/JustinStitt approved this pull request.
Again, can't give any comprehensive code critiques but you addressed my nits
and such so LGTM.
https://github.com/llvm/llvm-project/pull/151590
___
cfe-commits mailing list
cfe-commits@lists.l
@@ -5076,6 +5075,78 @@ the configuration (without a prefix: ``Auto``).
For example: TESTSUITE
+.. _NumericLiteralCase:
+
+**NumericLiteralCase** (``NumericLiteralCaseStyle``)
:versionbadge:`clang-format 21` :ref:`¶ `
+ Controls character case in numeric literals.
+
+ Pos
@@ -1780,6 +1780,20 @@ LValue CIRGenFunction::emitLoadOfReferenceLValue(Address
refAddr,
pointeeBaseInfo);
}
+void CIRGenFunction::emitTrap(mlir::Location loc, bool createNewBlock) {
Lancern wrote:
I added a missing feature call for s
https://github.com/Lancern updated
https://github.com/llvm/llvm-project/pull/151363
>From 8f9ec79eaf53e993558e06dd088ea9924c9ca8a3 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Thu, 31 Jul 2025 01:08:22 +0800
Subject: [PATCH] [CIR] Add CIRGen for cir.unreachable and cir.trap
---
clang/lib/CIR
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/21099
Here is th
Author: Carlos Galvez
Date: 2025-08-02T12:20:25+02:00
New Revision: 0e40051565db1399b573b4bddc43c806ca86dc8d
URL:
https://github.com/llvm/llvm-project/commit/0e40051565db1399b573b4bddc43c806ca86dc8d
DIFF:
https://github.com/llvm/llvm-project/commit/0e40051565db1399b573b4bddc43c806ca86dc8d.diff
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/151802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/151750
>From 756f0656c3ad7788ed80ff9ccc091e19d07d63f8 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Fri, 1 Aug 2025 20:48:02 +0200
Subject: [PATCH 1/2] [CIR] Upstream builtin fabs op
---
clang/include/clang/
https://github.com/snarang181 created
https://github.com/llvm/llvm-project/pull/151815
Addressing
https://github.com/llvm/llvm-project/pull/150003#discussion_r2249169463
>From c19d6a3025be9eda7a05d0ebfc459ae82272809e Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Sat, 2 Aug 2025 08:37:06
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/151815
>From 5dbdca199d6c6d9b150bdb3bb447fab9e313962d Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Sat, 2 Aug 2025 08:37:06 -0400
Subject: [PATCH] Cleanup of inferred noreturn attributes in explicit
speciali
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 cpp --
clang/lib/Sema/SemaDecl.cpp
``
View the
Author: Timm Baeder
Date: 2025-08-02T14:47:49+02:00
New Revision: 41803a24140c3c53bbc82c7b61c7b196cf9d113a
URL:
https://github.com/llvm/llvm-project/commit/41803a24140c3c53bbc82c7b61c7b196cf9d113a
DIFF:
https://github.com/llvm/llvm-project/commit/41803a24140c3c53bbc82c7b61c7b196cf9d113a.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/151717
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1012,6 +1030,107 @@ void SExprBuilder::exitCFG(const CFGBlock *Last) {
IncompleteArgs.clear();
}
+bool SExprBuilder::isVariableReassigned(const VarDecl *VD) {
+ // Note: The search is performed lazily per-variable and result is cached. An
+ // alternative would have be
https://github.com/rampitec closed
https://github.com/llvm/llvm-project/pull/151810
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec edited
https://github.com/llvm/llvm-project/pull/151811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec closed
https://github.com/llvm/llvm-project/pull/151811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Stanislav Mekhanoshin
Date: 2025-08-02T15:21:59-07:00
New Revision: d18511e10a0d737c13a7a017ef3d0655911fc22d
URL:
https://github.com/llvm/llvm-project/commit/d18511e10a0d737c13a7a017ef3d0655911fc22d
DIFF:
https://github.com/llvm/llvm-project/commit/d18511e10a0d737c13a7a017ef3d0655911fc2
https://github.com/30Wedge updated
https://github.com/llvm/llvm-project/pull/151590
>From 2934f3ade1f585ba527507986d46577254e95e40 Mon Sep 17 00:00:00 2001
From: Andy MacGregor
Date: Thu, 31 Jul 2025 16:24:06 -0400
Subject: [PATCH 1/2] [clang-format] Add an option to format integer literal
cas
@@ -0,0 +1,368 @@
+//===--- 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
@@ -3872,6 +3887,10 @@ reformat(const FormatStyle &Style, StringRef Code,
return IntegerLiteralSeparatorFixer().process(Env, Expanded);
});
+ Passes.emplace_back([&](const Environment &Env) {
30Wedge wrote:
I ended up putting it in `NumericLiteralCaseF
https://github.com/30Wedge edited
https://github.com/llvm/llvm-project/pull/151590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,368 @@
+//===--- 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
30Wedge wrote:
> Most likely the docs were not generated with the script, but manually
Yup! I manually edited ClangFormatStyleOptions.rst in the first commit. Much
easier to have a script do it for you :slightly_smiling_face:
In the fixup, this file is regenerated with: `python
clang/docs/t
@@ -5076,6 +5075,78 @@ the configuration (without a prefix: ``Auto``).
For example: TESTSUITE
+.. _NumericLiteralCase:
+
+**NumericLiteralCase** (``NumericLiteralCaseStyle``)
:versionbadge:`clang-format 21` :ref:`¶ `
+ Controls character case in numeric literals.
+
+ Pos
https://github.com/30Wedge edited
https://github.com/llvm/llvm-project/pull/151590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,368 @@
+//===--- 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/30Wedge edited
https://github.com/llvm/llvm-project/pull/151590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3100,6 +3100,54 @@ struct FormatStyle {
/// \version 11
TrailingCommaStyle InsertTrailingCommas;
+ /// Character case format for different components of a numeric literal.
+ ///
+ /// For all options, ``0`` leave the case unchanged, ``-1``
+ /// uses lower case and
https://github.com/melver updated
https://github.com/llvm/llvm-project/pull/142955
>From e5e2f35fb5f528ab4bba0422825a8a8bd7e86a9f Mon Sep 17 00:00:00 2001
From: Marco Elver
Date: Wed, 21 May 2025 23:49:48 +0200
Subject: [PATCH] Thread Safety Analysis: Basic capability alias-analysis
Add basic
https://github.com/emily-dror updated
https://github.com/llvm/llvm-project/pull/149781
>From 90ae570afa7b323be99fd36fd833902f5de9918e Mon Sep 17 00:00:00 2001
From: Emily Dror
Date: Mon, 21 Jul 2025 12:00:08 +0300
Subject: [PATCH 1/2] [clang][Diagnostic] Clarify error message for auto
Show lin
https://github.com/emily-dror updated
https://github.com/llvm/llvm-project/pull/149781
>From 90ae570afa7b323be99fd36fd833902f5de9918e Mon Sep 17 00:00:00 2001
From: Emily Dror
Date: Mon, 21 Jul 2025 12:00:08 +0300
Subject: [PATCH 1/2] [clang][Diagnostic] Clarify error message for auto
Show lin
https://github.com/carlosgalvezp approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/151801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec created
https://github.com/llvm/llvm-project/pull/151804
None
>From 7c47bcb1f0ef99ccfa41d60e363ae6e635fd88b0 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Sat, 2 Aug 2025 01:08:19 -0700
Subject: [PATCH] [AMDGPU] v_cvt_scale_pk16 gfx1250 instructions
--
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
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 cpp,h --
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/151821
>From f021cf0e3bf1880dd31f0477e173a42aaa45d185 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 2 Aug 2025 15:51:44 +0200
Subject: [PATC
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151807
>From 41253bc2a507f36d7f313801ddcda7822907e378 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Sat, 2 Aug 2025 01:48:31 -0700
Subject: [PATCH] [AMDGPU] v_cvt_scalef32_pk16_* gfx1250 instructions
---
https://github.com/shafik commented:
Thank you
https://github.com/llvm/llvm-project/pull/151822
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151807
>From 41253bc2a507f36d7f313801ddcda7822907e378 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Sat, 2 Aug 2025 01:48:31 -0700
Subject: [PATCH] [AMDGPU] v_cvt_scalef32_pk16_* gfx1250 instructions
---
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
@@ -44,12 +44,12 @@ bool Context::isPotentialConstantExpr(State &Parent, const
FunctionDecl *FD) {
Compiler(*this, *P).compileFunc(
FD, const_cast(Func));
- ++EvalID;
- // And run it.
- if (!Run(Parent, Func))
+ i
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/shafik edited
https://github.com/llvm/llvm-project/pull/151821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@JohnFinn Congratulations on having your first Pull Request (PR) merged into
the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a build
https://github.com/MythreyaK updated
https://github.com/llvm/llvm-project/pull/151624
>From f7e79ed934bcb05548b6a4d303d6ed6284648f35 Mon Sep 17 00:00:00 2001
From: Mythreya Kuricheti
Date: Fri, 1 Aug 2025 01:19:18 -0700
Subject: [PATCH 1/3] [libtooling] Insert headers in global module fragment
@@ -115,6 +134,7 @@ unsigned getOffsetAfterHeaderGuardsAndComments(StringRef
FileName,
return SM.getFileOffset(Tok.getLocation());
return 0;
}));
+ return std::max(HeaderAndPPOffset, ModuleDecl);
MythreyaK wrote:
Thanks, d
https://github.com/HighCommander4 approved this pull request.
Thanks, LGTM!
(I've seen the discussion about token selection starting at
https://github.com/clangd/clangd/issues/2203#issuecomment-3027586074, but
haven't had a chance to dig into it and respond yet. Feel free to start a new
threa
Author: Jouni
Date: 2025-08-03T00:23:19-04:00
New Revision: 1da76b42ae437235a6be2c75d91b8d4e04a6d1da
URL:
https://github.com/llvm/llvm-project/commit/1da76b42ae437235a6be2c75d91b8d4e04a6d1da
DIFF:
https://github.com/llvm/llvm-project/commit/1da76b42ae437235a6be2c75d91b8d4e04a6d1da.diff
LOG: [c
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/143193
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/143193
___
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-tools-extra` at step 7
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/46/builds/21126
@@ -115,6 +134,7 @@ unsigned getOffsetAfterHeaderGuardsAndComments(StringRef
FileName,
return SM.getFileOffset(Tok.getLocation());
return 0;
}));
+ return std::max(HeaderAndPPOffset, ModuleDecl);
MythreyaK wrote:
This does
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/151833
>From d0356829a9749ff703577fff1ea8788f09aedf7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 2 Aug 2025 19:50:48 +0200
Subject: [PATCH] [clang][bytecode] Try to load local and global v
https://github.com/MythreyaK updated
https://github.com/llvm/llvm-project/pull/151624
>From f7e79ed934bcb05548b6a4d303d6ed6284648f35 Mon Sep 17 00:00:00 2001
From: Mythreya Kuricheti
Date: Fri, 1 Aug 2025 01:19:18 -0700
Subject: [PATCH 1/4] [libtooling] Insert headers in global module fragment
https://github.com/MythreyaK edited
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/151833
>From 8ad0af7e8efc3fe1c830a5199642010289a48822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 2 Aug 2025 19:50:48 +0200
Subject: [PATCH] [clang][bytecode] Try to load local and global v
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/151848
UnsignedOrNone.h from PrimType.h and ASTLambda.h from Function.h.
>From 6bcb1d155bff3880e252840af178949fd05bf4ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 3 Aug 2025 08:12:27 +020
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
UnsignedOrNone.h from PrimType.h and ASTLambda.h from Function.h.
---
Full diff: https://github.com/llvm/llvm-project/pull/151848.diff
7 Files Affected:
- (modified) clang/lib/AST/ByteCode/Context.cpp (+1)
@@ -83,13 +83,13 @@ bool checkAndConsumeModuleDecl(const SourceManager &SM,
Lexer &Lex,
return Matched;
}
-// Returns the offset after header guard directives and any comments
-// before/after header guards (e.g. #ifndef/#define pair, #pragma once). If no
-// header guard i
https://github.com/MythreyaK updated
https://github.com/llvm/llvm-project/pull/151624
>From f7e79ed934bcb05548b6a4d303d6ed6284648f35 Mon Sep 17 00:00:00 2001
From: Mythreya Kuricheti
Date: Fri, 1 Aug 2025 01:19:18 -0700
Subject: [PATCH 1/5] [libtooling] Insert headers in global module fragment
@@ -83,13 +83,13 @@ bool checkAndConsumeModuleDecl(const SourceManager &SM,
Lexer &Lex,
return Matched;
}
-// Returns the offset after header guard directives and any comments
-// before/after header guards (e.g. #ifndef/#define pair, #pragma once). If no
-// header guard i
https://github.com/HighCommander4 approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
(The merge interface has been tweaked to make me click past a scary-looking
"you probably shouldn't be checking this" warning to merge before CI checks
complete... so I'll just wait for the checks :laughing: )
https://github.com/llvm/llvm-project/pull/151624
_
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/13] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/151833
>From dbe3f1b3e1774d153dbfe8b7b0a2684162ee570d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 2 Aug 2025 19:50:48 +0200
Subject: [PATCH] [clang][bytecode] Try to load local and global v
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/151833
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 requested changes to this pull request.
I couldn't resist making one comment :)
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
@@ -115,6 +134,7 @@ unsigned getOffsetAfterHeaderGuardsAndComments(StringRef
FileName,
return SM.getFileOffset(Tok.getLocation());
return 0;
}));
+ return std::max(HeaderAndPPOffset, ModuleDecl);
HighCommander4 wrote:
Tech
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: timon-ul
Date: 2025-08-03T00:18:47-04:00
New Revision: 7de0da40c0938e1ea7c11a672ae5a329dcf92def
URL:
https://github.com/llvm/llvm-project/commit/7de0da40c0938e1ea7c11a672ae5a329dcf92def
DIFF:
https://github.com/llvm/llvm-project/commit/7de0da40c0938e1ea7c11a672ae5a329dcf92def.diff
LOG:
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/147042
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -137,21 +137,21 @@ int32_t ByteCodeEmitter::getOffset(LabelTy Label) {
template
static void emit(Program &P, std::vector &Code, const T &Val,
bool &Success) {
+ size_t ValPos = Code.size();
size_t Size;
if constexpr (std::is_pointer_v)
-Size =
@@ -115,6 +134,7 @@ unsigned getOffsetAfterHeaderGuardsAndComments(StringRef
FileName,
return SM.getFileOffset(Tok.getLocation());
return 0;
}));
+ return std::max(HeaderAndPPOffset, ModuleDecl);
JVApen wrote:
If rather sa
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/151852.diff
5 Files Affected:
- (modified) clang/lib/Sema/AnalysisBasedWarnings.cpp (+1-1)
- (modified) clang/lib/Sema/SemaDecl.cpp (+2-2)
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/151852
None
>From 04c37957a1020ce5f7ee511f68536c2c8ea80132 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 2 Aug 2025 23:23:12 -0700
Subject: [PATCH] [Sema] Use llvm::iterator_range::empty (NFC)
---
cla
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/151624
>From f7e79ed934bcb05548b6a4d303d6ed6284648f35 Mon Sep 17 00:00:00 2001
From: Mythreya Kuricheti
Date: Fri, 1 Aug 2025 01:19:18 -0700
Subject: [PATCH 1/5] [libtooling] Insert headers in global module frag
Author: Timm Baeder
Date: 2025-08-03T08:52:03+02:00
New Revision: 8259be65c7d60d6ccba4ee168f275076061029e2
URL:
https://github.com/llvm/llvm-project/commit/8259be65c7d60d6ccba4ee168f275076061029e2
DIFF:
https://github.com/llvm/llvm-project/commit/8259be65c7d60d6ccba4ee168f275076061029e2.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/151848
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern updated
https://github.com/llvm/llvm-project/pull/151363
>From 6e74f1908cd9643151ca72e5ab059a4c5d547816 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Thu, 31 Jul 2025 01:08:22 +0800
Subject: [PATCH] [CIR] Add CIRGen for cir.unreachable and cir.trap
---
clang/lib/CIR
https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/151790
>From 12e745a621a7fbd30c0991bf52598455b886f37e Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Sat, 2 Aug 2025 12:02:49 +0800
Subject: [PATCH 1/4] [clang][diagnostics] Fix fix-it hint parenthesis
place
1 - 100 of 210 matches
Mail list logo