MythreyaK wrote:
> How does completion handle things like this?
@cor3ntin Oh I totally forgot about this! Thanks! I'll check it in the evening.
https://github.com/llvm/llvm-project/pull/146649
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
https://github.com/Endilll commented:
Changes to CWG1458 test are fine, because it's still unspecified behavior, so
we're conforming either way.
Kudos for getting the expected directives (almost) right.
https://github.com/llvm/llvm-project/pull/143667
___
5chmidti wrote:
> Another interesting case, it seems somehow multiple constexprs got added, ex:
>
> ```c++
> template
> constexpr constexpr constexpr constexpr constexpr constexpr constexpr
> constexpr int numberOfSidesOfDimension(int dimension);
> ```
>
> This actually compiles, though with
https://github.com/xlauko updated
https://github.com/llvm/llvm-project/pull/146662
>From a957afae2db5a9dca87048f8e5f5e1c092992a53 Mon Sep 17 00:00:00 2001
From: xlauko
Date: Wed, 2 Jul 2025 09:56:38 +0200
Subject: [PATCH] [CIR] Clean up FPAttr
- Adds CIR_ prefix to the definition
- Removes red
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/146129
>From 964a930b9f96423d04155b9972bfd8540c59d911 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Fri, 27 Jun 2025 20:10:48 +0200
Subject: [PATCH 1/6] [CIR] Implement NotEqualOp for ComplexType
---
clang/i
hvdijk wrote:
> > Would it not still be important for that for RVV intrinsics?
>
> Pretty sure we bypass all the normal calling convention lowering, in this
> context.
Ah, this is confusing. There's two types of RVV intrinsics that use this code.
Many use `ManualCodegen` which indeed bypasses
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.cpp -
clang-tidy===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.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
@@ -142,6 +142,10 @@ New checks
Finds unscoped (non-class) ``enum`` declarations and suggests using
``enum class`` instead.
+- New :doc:`modernize-use-constexpr
+ ` check that finds functions and
+ variables that can be declared `constexpr`.
EugeneZelenk
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.cpp -
clang-tidy===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.cpp -
clang-tidy===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.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
@@ -1662,9 +1662,11 @@ namespace NullptrCast {
constexpr A *na = nullptr;
constexpr B *nb = nullptr;
constexpr A &ra = *nb; // both-error {{constant expression}} \
- // both-note {{cannot access base class of null
pointer}}
+
https://github.com/xlauko updated
https://github.com/llvm/llvm-project/pull/146662
>From 5d8c80501735c96f600e6454adec33a6c5ead4e0 Mon Sep 17 00:00:00 2001
From: xlauko
Date: Wed, 2 Jul 2025 09:56:38 +0200
Subject: [PATCH] [CIR] Clean up FPAttr
- Adds CIR_ prefix to the definition
- Removes red
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.cpp -
clang-tidy===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.cpp -
clang-tidy===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,985 @@
+//===--- UseConstexprCheck.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/jhuber6 closed
https://github.com/llvm/llvm-project/pull/146687
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
steakhal wrote:
I resign from review. I don't have time to review 100+ lines PRs right now.
https://github.com/llvm/llvm-project/pull/146212
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
https://github.com/Andres-Salamanca closed
https://github.com/llvm/llvm-project/pull/146608
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern closed
https://github.com/llvm/llvm-project/pull/146261
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ykhatav created
https://github.com/llvm/llvm-project/pull/146729
None
>From cfd949c1a70ae25c5c35e48d92166b45aef63654 Mon Sep 17 00:00:00 2001
From: "Khatavkar, Yashasvi"
Date: Wed, 2 Jul 2025 08:23:14 -0700
Subject: [PATCH 1/2] Fix scoping of dependent typedefs
---
clang/l
https://github.com/s-perron updated
https://github.com/llvm/llvm-project/pull/144774
>From 7d3d8bb30863dd860183f7b9635aa34b72a9c3ae Mon Sep 17 00:00:00 2001
From: Steven Perron
Date: Wed, 18 Jun 2025 09:19:45 -0400
Subject: [PATCH 1/5] [HLSL][SPRIV] Handle sign RWBuffer correctly
MIME-Version:
Author: Andres-Salamanca
Date: 2025-07-02T10:28:38-05:00
New Revision: ce99db9d1b8ab609575893fc8026143d9b4765c9
URL:
https://github.com/llvm/llvm-project/commit/ce99db9d1b8ab609575893fc8026143d9b4765c9
DIFF:
https://github.com/llvm/llvm-project/commit/ce99db9d1b8ab609575893fc8026143d9b4765c9.di
Author: Joseph Huber
Date: 2025-07-02T10:26:32-05:00
New Revision: d04d2557255a55aa3df5f76cfe7ee7cef7bf99a4
URL:
https://github.com/llvm/llvm-project/commit/d04d2557255a55aa3df5f76cfe7ee7cef7bf99a4
DIFF:
https://github.com/llvm/llvm-project/commit/d04d2557255a55aa3df5f76cfe7ee7cef7bf99a4.diff
@@ -50,11 +50,11 @@ BUILTIN(__builtin_arm_wfi, "v", "")
BUILTIN(__builtin_arm_sev, "v", "")
BUILTIN(__builtin_arm_sevl, "v", "")
BUILTIN(__builtin_arm_chkfeat, "WUiWUi", "")
-TARGET_HEADER_BUILTIN(__yield, "v", "h", ARMACLE_H, ALL_LANGUAGES, "")
-TARGET_HEADER_BUILTIN(__wfe,
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/145178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/anchuraj updated
https://github.com/llvm/llvm-project/pull/143441
>From 55e513da2cb2d68dfb91e889bb66b7fdd58090ac Mon Sep 17 00:00:00 2001
From: Anchu Rajendran
Date: Wed, 4 Jun 2025 15:12:49 -0500
Subject: [PATCH 1/5] [flang][flang-driver] atomic control support
---
clang/i
https://github.com/ykhatav edited
https://github.com/llvm/llvm-project/pull/146729
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -880,6 +880,37 @@ TEST(MinimizeSourceToDependencyDirectivesTest,
EXPECT_EQ(pp_eof, Directives[22].Kind);
}
+TEST(MinimizeSourceToDependencyDirectivesTest,
+ TestFixedBugThatReportUnterminatedDirectiveFalsely) {
+ SmallVector Out;
+ SmallVector Tokens;
+ SmallVector
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/Driver/ToolChains/HIPSPV.cpp
``
https://github.com/Lukasdoe updated
https://github.com/llvm/llvm-project/pull/146230
From e4b0ccd8e1ac579066c559e890c3d610bbf226fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20D=C3=B6llerer?=
Date: Wed, 2 Jul 2025 10:14:20 +0200
Subject: [PATCH] [LLVM][WebAssembly] Implement branch hinting
cor3ntin wrote:
Let's go with @frederick-vs-ja if that makes people happier!
https://github.com/llvm/llvm-project/pull/143839
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Lukasdoe wrote:
- lld now inserts combined branch hint section directly in front of code section
- fixed failing tests
- reordered branch hints option to fit into alphabetically sorted options
declarations
https://github.com/llvm/llvm-project/pull/146230
https://github.com/simpal01 edited
https://github.com/llvm/llvm-project/pull/146651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/simpal01 edited
https://github.com/llvm/llvm-project/pull/146651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/simpal01 edited
https://github.com/llvm/llvm-project/pull/146651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/simpal01 edited
https://github.com/llvm/llvm-project/pull/146651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/simpal01 edited
https://github.com/llvm/llvm-project/pull/146651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/simpal01 edited
https://github.com/llvm/llvm-project/pull/146651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MythreyaK updated
https://github.com/llvm/llvm-project/pull/146649
>From 7f8581f01c3c25363b77100635c6df7223badba3 Mon Sep 17 00:00:00 2001
From: Mythreya Kuricheti
Date: Wed, 2 Jul 2025 01:26:25 -0700
Subject: [PATCH] [clang][CodeComplete] skip explicit obj param in
Signatur
frasercrmck wrote:
I am seeing unresolved CLC functions in `nvptx--.bc` and `nvptx64--.bc`. I
think it's because we're now building things like `get_num_groups` for
`nvptx`/`nvptx64`, whereas previously they were not being built for those
targets. We're also not building `__clc_get_num_groups`
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mészáros Gergely (Maetveis)
Changes
These extensions add char and long support to the subgroup builtins.
They are already supported by the Intel Graphics Compiler.
---
Full diff: https://github.com/llvm/llvm-project/pull/146655.diff
1 Fi
https://github.com/Maetveis created
https://github.com/llvm/llvm-project/pull/146655
These extensions add char and long support to the subgroup builtins.
They are already supported by the Intel Graphics Compiler.
From 536ee942918338f655dbf85cc746028bf39bf7b8 Mon Sep 17 00:00:00 2001
From: Gerge
https://github.com/Maetveis created
https://github.com/llvm/llvm-project/pull/146656
This extension extends the subgroup block read and write functions defined by
`cl_intel_subgroups` (and, when supported, `cl_intel_subgroups_char`,
`cl_intel_subgroups_short`, and `cl_intel_subgroups_long`) to
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Mészáros Gergely (Maetveis)
Changes
This extension extends the subgroup block read and write functions defined by
`cl_intel_subgroups` (and, when supported, `cl_intel_subgroups_char`,
`cl_intel_subgroups_short`, and `cl_intel_subgro
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mészáros Gergely (Maetveis)
Changes
This extension extends the subgroup block read and write functions defined by
`cl_intel_subgroups` (and, when supported, `cl_intel_subgroups_char`,
`cl_intel_subgroups_short`, and `cl_intel_subgroups_lo
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 h --
clang/lib/Headers/opencl-c.h
``
View the d
https://github.com/wangpc-pp commented:
How are we going to verify the correctness? Does qemu support big-endian
riscv64?
https://github.com/llvm/llvm-project/pull/146534
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
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 h --
clang/lib/Headers/opencl-c.h
``
View the d
Maetveis wrote:
> ⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️
This file is not formatted currently, the changes should match the current
formatting style.
https://github.com/llvm/llvm-project/pull/146656
___
cfe-commits mailin
Maetveis wrote:
> ⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️
This file is not formatted currently, the changes should match the current
formatting style.
https://github.com/llvm/llvm-project/pull/146655
___
cfe-commits mailin
https://github.com/tomtor updated
https://github.com/llvm/llvm-project/pull/146244
>From a08a6a071db9bf553bb64fcfa39d2ed80e000fe6 Mon Sep 17 00:00:00 2001
From: Tom Vijlbrief
Date: Fri, 27 Jun 2025 17:16:35 +0200
Subject: [PATCH 1/2] [AVR] Handle mapped RO data for newer devices
---
clang/inc
https://github.com/mstorsjo approved this pull request.
Thanks, this looks good to me! I'd still wait a little bit in case a Clang
maintainer has an opinion on it, but it seems to fix the issue for me.
https://github.com/llvm/llvm-project/pull/146643
benshi001 wrote:
> > I do not think this PR is necessary, since there is no bug, I have
> > explained in #146537.
>
> You are right, so this PR is not a bug fix, but just adding features and a
> minor optimization.
Currently I am focusing on bugfix and compatibility with avr-gcc-7.3 (which is
mstorsjo wrote:
> > This broke building C++ modules for mingw targets. Repro:
> > `empty.cppm`:
> > ```c++
> > export module empty;
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ```
> > $ clang -target x86_64-windows-gnu -x c++-module empty.cppm
@@ -4210,6 +4215,7 @@ class Parser : public CodeCompletionHandler {
/// \endverbatim
ExprResult ParseParenExpression(ParenParseOption &ExprType,
bool stopIfCastExpr, bool isTypeCast,
+ bool ParenKnownToBeNon
benshi001 wrote:
> > I do not think this PR is necessary, since there is no bug, I have
> > explained in #146537.
>
> You are right, so this PR is not a bug fix, but just adding features and a
> minor optimization.
Currently I am focusing on bugfix and compatibility/substitutability with
avr
@@ -35,6 +35,7 @@ namespace clang {
class TextDiagnostic : public DiagnosticRenderer {
raw_ostream &OS;
const Preprocessor *PP;
+ llvm::StringMap> SimplifiedFileNameCache;
Sirraide wrote:
Not anymore; forgot to remove that.
https://github.com/llvm/llvm-p
benshi001 wrote:
> > I do not think this PR is necessary, since there is no bug, I have
> > explained in #146537.
>
> You are right, so this PR is not a bug fix, but just adding features and a
> minor optimization.
Currently I am focusing on bugfix and compatibility/substitutability with
avr
@@ -2403,3 +2403,75 @@ SourceManagerForFile::SourceManagerForFile(StringRef
FileName,
assert(ID.isValid());
SourceMgr->setMainFileID(ID);
}
+
+StringRef
+SourceManager::getNameForDiagnostic(StringRef Filename,
+const DiagnosticOptions &O
@@ -651,8 +651,19 @@ void AVR::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
// This is almost always required because otherwise avr-ld
// will assume 'avr2' and warn about the program being larger
// than the bare minimum supports.
- if (Linker.find("avr-ld
https://github.com/saturn691 updated
https://github.com/llvm/llvm-project/pull/145700
>From 97c87ceb781eee0a04bd93299a341e03cbe68ddd Mon Sep 17 00:00:00 2001
From: William Huynh
Date: Wed, 25 Jun 2025 14:25:22 +0100
Subject: [PATCH 1/2] [clang] Add option for -nolibc in
Driver/ToolChains/Barem
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/146649
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide updated
https://github.com/llvm/llvm-project/pull/143520
>From 15c0a79d6a0cd65d88fbe152275b224201e632a1 Mon Sep 17 00:00:00 2001
From: Sirraide
Date: Tue, 10 Jun 2025 14:32:32 +0200
Subject: [PATCH 1/5] [Clang] [Diagnostics] Simplify filenames that contain
'..'
---
https://github.com/saturn691 updated
https://github.com/llvm/llvm-project/pull/145700
>From 97c87ceb781eee0a04bd93299a341e03cbe68ddd Mon Sep 17 00:00:00 2001
From: William Huynh
Date: Wed, 25 Jun 2025 14:25:22 +0100
Subject: [PATCH 1/4] [clang] Add option for -nolibc in
Driver/ToolChains/Barem
Sirraide wrote:
Ok, looks like the clang-tidy test failure is related to the `-header-filter`
option:
```C++
// Check that `-header-filter` operates on the same file paths as paths in
// diagnostics printed by ClangTidy.
#include "dir1/dir2/../header_alias.h"
// CHECK_HEADER_ALIAS: dir1/dir2/../
https://github.com/amitamd7 updated
https://github.com/llvm/llvm-project/pull/144635
>From bdff136d17695f009bdbe6a133e1241cbb233ed5 Mon Sep 17 00:00:00 2001
From: amtiwari
Date: Mon, 16 Jun 2025 01:07:01 -0400
Subject: [PATCH] strided_update_offloading with lit-tests and clang-unittests
added
jmmartinez wrote:
If there are no other remarks for landing this patch, I'll land it next week.
https://github.com/llvm/llvm-project/pull/143507
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=
Message-ID:
In-Reply-To:
https://github.com/arsenm approv
@@ -93,16 +73,6 @@
__SPIRV_BUILTIN_ALIAS(__builtin_spirv_generic_cast_to_ptr_explicit)
__private const void *
__spirv_GenericCastToPtrExplicit_ToPrivate(__generic const void *,
int) __SPIRV_NOEXCEPT;
-extern __SPIRV_overloadable
-__SP
https://github.com/saturn691 updated
https://github.com/llvm/llvm-project/pull/145700
>From 97c87ceb781eee0a04bd93299a341e03cbe68ddd Mon Sep 17 00:00:00 2001
From: William Huynh
Date: Wed, 25 Jun 2025 14:25:22 +0100
Subject: [PATCH 1/3] [clang] Add option for -nolibc in
Driver/ToolChains/Barem
Sirraide wrote:
> should the header filter apply to the original filename,
I mean, I guess this beacuse it’s what the user specified and it’s what we’re
currently doing? It’s just that the end result might be weird, e.g. if a user
writes `-exclude-header=filter='a/foo.h'` and then we print dia
https://github.com/saturn691 edited
https://github.com/llvm/llvm-project/pull/145700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2608,6 +2612,21 @@ void
WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
Stack.push_back(std::make_pair(&MBB, &MI));
break;
+ case WebAssembly::BR_IF: {
+// this is the last place where we can easily calculate the branch
+
https://github.com/michalpaszkowski approved this pull request.
https://github.com/llvm/llvm-project/pull/143909
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2608,6 +2612,21 @@ void
WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
Stack.push_back(std::make_pair(&MBB, &MI));
break;
+ case WebAssembly::BR_IF: {
+// this is the last place where we can easily calculate the branch
+
https://github.com/Lukasdoe edited
https://github.com/llvm/llvm-project/pull/146230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lukasdoe edited
https://github.com/llvm/llvm-project/pull/146230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Keenuts approved this pull request.
https://github.com/llvm/llvm-project/pull/143909
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/farzonl approved this pull request.
https://github.com/llvm/llvm-project/pull/143909
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
djtodoro wrote:
> How are we going to verify the correctness? Does qemu support big-endian
> riscv64?
Good question. We have an initial support for it developed internally inside
MIPS, for both qemu and Linux kernel, but team from Codethink is trying to
upstream similar effort already, so ple
https://github.com/kish1n updated
https://github.com/llvm/llvm-project/pull/146635
>From 76bd9279c0410fa53c8a8ca34229f5ca3a4812e3 Mon Sep 17 00:00:00 2001
From: Ashwin Banwari
Date: Mon, 30 Jun 2025 18:10:24 -0700
Subject: [PATCH 1/5] Reapply "[clang] [modules] Add err_main_in_named_module
(#1
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/146645
>From b9c3c4e0eca567937e59b2ae21f805d8156f7204 Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Wed, 2 Jul 2025 15:46:37 +0800
Subject: [PATCH 1/2] [clang-scan-deps] Fix "unterminated conditional
directive"
https://github.com/MythreyaK edited
https://github.com/llvm/llvm-project/pull/146649
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tomtor wrote:
> I do not think this PR is necessary, since there is no bug, I have explained
> in #146537.
You are right, so this PR is not a bug fix, but just adding features and a
minor optimization.
https://github.com/llvm/llvm-project/pull/146244
_
https://github.com/tomtor edited
https://github.com/llvm/llvm-project/pull/146244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ziqingluo-90 created
https://github.com/llvm/llvm-project/pull/146645
`clang-scan-deps` threw "unterminated conditional directive" error falsely on
the following example:
```
#ifndef __TEST
#define __TEST
#if defined(__TEST_DUMMY)
#if defined(__TEST_DUMMY2)
#pragma GCC w
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ziqing Luo (ziqingluo-90)
Changes
`clang-scan-deps` threw "unterminated conditional directive" error falsely on
the following example:
```
#ifndef __TEST
#define __TEST
#if defined(__TEST_DUMMY)
#if defined(__TEST_DUMMY2)
#pragma GCC
cor3ntin wrote:
Adding @hubert-reinterpretcast
I think some / most of the tests are unrelated to the paper, but there seem to
be sufficient tests in
62a16d5e2069542351c164aa0e3b216dc8e153c4
https://github.com/llvm/llvm-project/pull/144214
___
cfe-c
nikic wrote:
> Do you know if this runs into issues with undefined behavior? I don't know
> the exact rules, but remember reading something along the lines that some OOB
> pointers cannot even be compared without running into UB. Having pointers
> that don't respect type alignment sounds like
@@ -871,20 +928,50 @@ const CGFunctionInfo
&CodeGenTypes::arrangeLLVMFunctionInfo(
} else if (info.getCC() == CC_Swift || info.getCC() == CC_SwiftAsync) {
swiftcall::computeABIInfo(CGM, *FI);
} else {
-CGM.getABIInfo().computeInfo(*FI);
+if (isBPF)
+ CGM.f
https://github.com/cor3ntin approved this pull request.
Can you add a changelog entry? LGTM otherwiswe
https://github.com/llvm/llvm-project/pull/144970
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
@@ -825,6 +831,47 @@ void computeSPIRKernelABIInfo(CodeGenModule &CGM,
CGFunctionInfo &FI);
}
} // namespace clang
+ABIArgInfo CodeGenTypes::convertABIArgInfo(const llvm::abi::ABIArgInfo
&abiInfo,
+ QualType type) {
+ ABIArgInfo res
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/Lex/DependencyDirectivesScanner.cpp
clang/
@@ -17,19 +17,50 @@
#include "llvm/ABI/ABIFunctionInfo.h"
#include "llvm/ABI/Types.h"
#include
+#include
+#include
namespace llvm {
namespace abi {
+struct ABICompatInfo {
+ unsigned Version = UINT_MAX;
+
+ struct ABIFlags {
+bool PassInt128VectorsInMem : 1;
+
philnik777 wrote:
> > Thank you all for weighing in here. It seems there is some disagreement on
> > how to move forward with this. I believe the current change addresses the
> > initial issue this PR is tied to, which aimed to clarify this attribute
> > affects more than just explicit special
https://github.com/ziqingluo-90 edited
https://github.com/llvm/llvm-project/pull/146645
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2403,3 +2403,75 @@ SourceManagerForFile::SourceManagerForFile(StringRef
FileName,
assert(ID.isValid());
SourceMgr->setMainFileID(ID);
}
+
+StringRef
+SourceManager::getNameForDiagnostic(StringRef Filename,
+const DiagnosticOptions &O
https://github.com/DeinAlptraum closed
https://github.com/llvm/llvm-project/pull/146486
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
201 - 300 of 443 matches
Mail list logo