llvmbot wrote:
/pull-request llvm/llvm-project#151092
https://github.com/llvm/llvm-project/pull/151077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -225,3 +225,20 @@ extern void abc_02(func_type *);
abc_02(&func_ptr);
func_ptr();
} // expected-warning {{function declared 'noreturn' should not return}}
+
+namespace Issue150336 {
+void free(void *);
+typedef void (*sel_freefunc)(void *);
+struct gmx_ana_selmethod_t {
https://github.com/amitamd7 updated
https://github.com/llvm/llvm-project/pull/144635
>From 940d6dcd37dba9b8c9d8b945d4ff1b6f735f3ef1 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-offload and clang-tests
---
cla
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/150164
>From b9655ff6d54475b5697a63571734192c92a6af07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 23 Jul 2025 06:05:21 +0200
Subject: [PAT
phoebewang wrote:
/cherry-pick
https://github.com/llvm/llvm-project/commit/3ea3e334cc19cdd34416b546ac4b4a24b2018a28
https://github.com/llvm/llvm-project/pull/151077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin
https://github.com/phoebewang milestoned
https://github.com/llvm/llvm-project/pull/151077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/phoebewang closed
https://github.com/llvm/llvm-project/pull/151077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Phoebe Wang
Date: 2025-07-29T14:52:14+08:00
New Revision: 3ea3e334cc19cdd34416b546ac4b4a24b2018a28
URL:
https://github.com/llvm/llvm-project/commit/3ea3e334cc19cdd34416b546ac4b4a24b2018a28
DIFF:
https://github.com/llvm/llvm-project/commit/3ea3e334cc19cdd34416b546ac4b4a24b2018a28.diff
L
https://github.com/RKSimon approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/151077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -107,3 +110,282 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+void cygwin::Linker::Constru
https://github.com/tyan0 updated
https://github.com/llvm/llvm-project/pull/147960
>From 5a02673773031f782ccef1a510a58cbb80681f76 Mon Sep 17 00:00:00 2001
From: Takashi Yano
Date: Thu, 10 Jul 2025 21:55:05 +0900
Subject: [PATCH] [Clang][Driver] Revise Cygwin ToolChain to call linker
directly
.
Author: Juan Manuel Martinez Caamaño
Date: 2025-07-29T08:49:36+02:00
New Revision: 8b020d5434078145e2fd2b4f1a48bb1c78ace491
URL:
https://github.com/llvm/llvm-project/commit/8b020d5434078145e2fd2b4f1a48bb1c78ace491
DIFF:
https://github.com/llvm/llvm-project/commit/8b020d5434078145e2fd2b4f1a48bb1
https://github.com/jmmartinez closed
https://github.com/llvm/llvm-project/pull/137665
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1336,6 +1336,45 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ bool isInSystemHeader(const SourceLocation &Loc) {
+const SourceManager &SM = getASTContext().getSourceManager();
+return SM.isInSystemHeader(Loc);
+ }
+
+ template
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/26] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/25] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/24] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/151086
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kr-2003 updated
https://github.com/llvm/llvm-project/pull/147478
>From fbe4344831538480be33accd35ef618c6d0e50b3 Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Tue, 1 Jul 2025 18:55:21 +0530
Subject: [PATCH 01/23] pipes for redirection in oop jit
---
.../clang/Interpreter/Remo
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
This has been a long-standing problem, but we didn't use to call the
destructors of items on the stack unless we explicitly `pop()` or `discard()`
them.
When interpretation was interrupted midway-through (b
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/151088
This has been a long-standing problem, but we didn't use to call the
destructors of items on the stack unless we explicitly `pop()` or `discard()`
them.
When interpretation was interrupted midway-through (bec
Author: Henrich Lauko
Date: 2025-07-29T07:38:51+02:00
New Revision: 2b8696b58e25f53f23d35a3904c111c1ae61d6f4
URL:
https://github.com/llvm/llvm-project/commit/2b8696b58e25f53f23d35a3904c111c1ae61d6f4
DIFF:
https://github.com/llvm/llvm-project/commit/2b8696b58e25f53f23d35a3904c111c1ae61d6f4.diff
https://github.com/xlauko closed
https://github.com/llvm/llvm-project/pull/150694
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
xlauko wrote:
### Merge activity
* **Jul 29, 5:37 AM UTC**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/150694).
https://github.com/llvm/llvm-project/pull/150694
_
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
This patch removes getVirtualFile because it has been deprecated for
more than 10 months since:
commit b1aea98cfa357e23f4bb52232da5f41781f23bff
Author: Jan Svoboda
Date:
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/151086
This patch removes getVirtualFile because it has been deprecated for
more than 10 months since:
commit b1aea98cfa357e23f4bb52232da5f41781f23bff
Author: Jan Svoboda
Date: Wed Sep 25 10:36:44 2024
@@ -107,3 +110,282 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+void cygwin::Linker::Constru
@@ -1,14 +1,42 @@
struct A {
- void foo(this A self, int arg);
+ void foo(this auto&& self, int arg);
+ void bar(this A self, int arg);
};
-int main() {
+int func1() {
A a {};
a.
}
-// RUN: %clang_cc1 -cc1 -fsyntax-only -code-completion-at=%s:%(line-2):5
-std=c++23
@@ -4386,12 +4430,24 @@ TEST(CompletionTest, SkipExplicitObjectParameter) {
MockFS FS;
auto Inputs = TU.inputs(FS);
- auto Result = codeComplete(testPath(TU.Filename), Code.point(),
- Preamble.get(), Inputs, Opts);
-
- EXPECT_THAT(Result.Compl
@@ -4368,11 +4409,14 @@ TEST(CompletionTest, SkipExplicitObjectParameter) {
Annotations Code(R"cpp(
struct A {
void foo(this auto&& self, int arg);
+ void bar(this A self, int arg);
};
int main() {
A a {};
- a.^
+ a.$c1^s
+ (&
@@ -4368,11 +4409,14 @@ TEST(CompletionTest, SkipExplicitObjectParameter) {
Annotations Code(R"cpp(
struct A {
void foo(this auto&& self, int arg);
+ void bar(this A self, int arg);
};
int main() {
A a {};
- a.^
+ a.$c1^s
-
https://github.com/HighCommander4 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/HighCommander4 commented:
Thanks for the patch and the nice test coverage! A few comments/questions:
https://github.com/llvm/llvm-project/pull/146649
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
@@ -107,3 +110,282 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+void cygwin::Linker::Constru
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/151011
>From 65a04c0b903243bbc854477075b8e9e1a62fdfeb Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Mon, 28 Jul 2025 21:12:04 +0300
Subject: [PATCH 1/4] [clang-tidy] Add 'enable-check-profiling' with aggregated
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
@@ -178,6 +182,122 @@ def merge_replacement_files(tmpdir: str, mergefile: str)
-> None:
open(mergefile, "w").close()
+def aggregate_profiles(profile_dir: str) -> Dict[str, float]:
+"""Aggregate timing data from multiple profile JSON files"""
+aggregated: Dict
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/151011
>From 65a04c0b903243bbc854477075b8e9e1a62fdfeb Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Mon, 28 Jul 2025 21:12:04 +0300
Subject: [PATCH 1/3] [clang-tidy] Add 'enable-check-profiling' with aggregated
https://github.com/spavloff updated
https://github.com/llvm/llvm-project/pull/150582
>From c63685694e0d2ffb7599006aa08c6032eafd2edb Mon Sep 17 00:00:00 2001
From: Serge Pavlov
Date: Fri, 25 Jul 2025 13:35:19 +0700
Subject: [PATCH 1/2] [Analysis] Prevent revisiting block when searching for
nore
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/24252
Here is the relevant piece of the build log fo
https://github.com/zwuis closed https://github.com/llvm/llvm-project/pull/150814
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Yanzuo Liu
Date: 2025-07-29T11:53:02+08:00
New Revision: b39160ddfb625bd57f9113471b15cda748151a10
URL:
https://github.com/llvm/llvm-project/commit/b39160ddfb625bd57f9113471b15cda748151a10
DIFF:
https://github.com/llvm/llvm-project/commit/b39160ddfb625bd57f9113471b15cda748151a10.diff
LO
phoebewang wrote:
The change needs a release note update, but I want to backport it to LLVM21
release. Would update LLVM21 release note instead.
https://github.com/llvm/llvm-project/pull/151077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Phoebe Wang (phoebewang)
Changes
For maskz intrinsics, the first argument is always the mask.
---
Patch is 22.88 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/151077.diff
4 Files Affec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Phoebe Wang (phoebewang)
Changes
For maskz intrinsics, the first argument is always the mask.
---
Patch is 22.88 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/151077.diff
4 Files Affected:
https://github.com/phoebewang created
https://github.com/llvm/llvm-project/pull/151077
For maskz intrinsics, the first argument is always the mask.
>From f175aa9a54b8fb6e3be91af0ae38e553a4d4852d Mon Sep 17 00:00:00 2001
From: "Wang, Phoebe"
Date: Tue, 29 Jul 2025 10:59:38 +0800
Subject: [PATCH
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/151074
>From 86b334ad710dcb622f63d4040096416ef10022b6 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Tue, 29 Jul 2025 10:23:33 +0800
Subject: [PATCH] [NFC] [Sema] [Modules] Use DynamicRecursiveASTVisitor to
reduce
https://github.com/mmha updated https://github.com/llvm/llvm-project/pull/151076
>From 41de9a3ded9751ec72715122ed9d5b91f7efd121 Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Tue, 29 Jul 2025 04:54:42 +0200
Subject: [PATCH] [CIR] Support more declarations without any codegen
This patch adds
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Morris Hafner (mmha)
Changes
This patch adds or completes support for a couple of top level declaration
types that don't emit any code: Most notably these include Concepts,
static_assert and type aliases.
---
Full diff: https://github
https://github.com/mmha created https://github.com/llvm/llvm-project/pull/151076
This patch adds or completes support for a couple of top level declaration
types that don't emit any code: Most notably these include Concepts,
static_assert and type aliases.
>From fb52c398ad796aa3728b7f7c8edaf4
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-modules
Author: Chuanqi Xu (ChuanqiXu9)
Changes
It is better to use DynamicRecursiveASTVisitor than RecursiveASTVisitor as it
can reduce the generated size. And also avoid using a template type to present
callbacks to a
ChuanqiXu9 wrote:
I didn't use `function_ref` as it seems not safe to store functions.
https://github.com/llvm/llvm-project/pull/151074
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 created
https://github.com/llvm/llvm-project/pull/151074
It is better to use DynamicRecursiveASTVisitor than RecursiveASTVisitor as it
can reduce the generated size. And also avoid using a template type to present
callbacks to avoid generating more code too.
>Fro
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Morris Hafner (mmha)
Changes
This implements support for structured bindings on a function scope level. It
does not add support for global structured bindings.
---
Full diff: https://github.com/llvm/llvm-project/pull/151073.diff
5 Files
ojhunt wrote:
(if linux folk could retest to see how badly I have broken everything that
would be great)
https://github.com/llvm/llvm-project/pull/143230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
https://github.com/mmha created https://github.com/llvm/llvm-project/pull/151073
This implements support for structured bindings on a function scope level. It
does not add support for global structured bindings.
>From 1a77ffaa97180947a4bfb5c09d801f7feb9b173b Mon Sep 17 00:00:00 2001
From: Morri
ojhunt wrote:
Force push+rebase because I've significantly reworked and tidied the changes.
I've centralized the schema definitions in each library, and made them explicit
rather than constructed at each site.
I've also replaced the __APPLE__ guards with feature guards which seems much
more r
https://github.com/mmha updated https://github.com/llvm/llvm-project/pull/151069
>From a636f04d087eb18e10e6ec738244e2e394deb60b Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Tue, 29 Jul 2025 03:11:11 +0200
Subject: [PATCH 1/2] [CIR] Upstream support for variable template
specializations
-
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/143230
>From 7b5855fef30ef35172e90dade5bdc6de492f5940 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Fri, 6 Jun 2025 18:50:28 -0700
Subject: [PATCH] [runtimes][PAC] Harden unwinding when possible (#138571)
This harde
https://github.com/ojhunt edited
https://github.com/llvm/llvm-project/pull/143230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -178,6 +182,122 @@ def merge_replacement_files(tmpdir: str, mergefile: str)
-> None:
open(mergefile, "w").close()
+def aggregate_profiles(profile_dir: str) -> Dict[str, float]:
+"""Aggregate timing data from multiple profile JSON files"""
+aggregated: Dict
@@ -489,6 +616,12 @@ async def main() -> None:
export_fixes_dir = tempfile.mkdtemp()
delete_fixes_dir = True
+profile_dir: Optional[str] = None
+delete_profile_dir = False
nicovank wrote:
Maybe get rid of `delete_profile_dir` and just
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/143230
>From 3c57edcebc14acc0f00565a9a96885c9ec2d849d Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Fri, 6 Jun 2025 18:50:28 -0700
Subject: [PATCH] [runtimes][PAC] Harden unwinding when possible (#138571)
This harde
@@ -43,8 +48,10 @@ _CLC_DEF _CLC_OVERLOAD half __clc_fmin(half x, half y) {
return (y < x) ? y : x;
wenju-he wrote:
can we use this same implementation for float and double?
https://github.com/llvm/llvm-project/pull/128506
nicovank wrote:
Funny, I wrote this feature a while ago and never got around to making a PR out
of it. FWIW here is my (old) diff:
https://github.com/llvm/llvm-project/compare/main...nicovank:llvm-project:temporary-tidy-profiles
https://github.com/llvm/llvm-project/pull/151011
___
zwuis wrote:
> Is there no issue associated with the crash?
I ran into this assertion failure when trying to implement cwg712. I tried to
search issues but found nothing.
https://github.com/llvm/llvm-project/pull/150814
___
cfe-commits mailing list
c
aadanen wrote:
1. printing stuff on clang-repl start causes several tests to fail
2. need to not parse %lib as a bad % command. Maybe should add %lib as list of
% commands?
https://github.com/llvm/llvm-project/pull/150348
___
cfe-commits mailing list
https://github.com/Zhenhang1213 closed
https://github.com/llvm/llvm-project/pull/150998
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Austin
Date: 2025-07-29T09:57:02+08:00
New Revision: 28c2c1e06e2dc73df03cfc2d797fa70365d481f2
URL:
https://github.com/llvm/llvm-project/commit/28c2c1e06e2dc73df03cfc2d797fa70365d481f2
DIFF:
https://github.com/llvm/llvm-project/commit/28c2c1e06e2dc73df03cfc2d797fa70365d481f2.diff
LOG: [
https://github.com/shafik commented:
Is there no issue associated with the crash?
https://github.com/llvm/llvm-project/pull/150814
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
> Where did the decision to "get these libraries" come from? Linking "libc.bc"
> into hip is unnecessary and unwanted at this point, in my view.
The new driver, which hopefully be the default in HIP soonish, handles all the
offloading languages more or less the same. We link the
@@ -0,0 +1,140 @@
+//===--- SymbolDocumentation.h ==-*-
C++-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -1538,21 +1704,22 @@ markup::Document HoverInfo::present() const {
std::string HoverInfo::present(MarkupKind Kind) const {
if (Kind == MarkupKind::Markdown) {
const Config &Cfg = Config::current();
-if ((Cfg.Documentation.CommentFormat ==
- Config::CommentF
@@ -1388,9 +1393,170 @@ static std::string formatOffset(uint64_t OffsetInBits) {
return Offset;
}
-markup::Document HoverInfo::present() const {
+markup::Document HoverInfo::presentDoxygen() const {
+ // NOTE: this function is currently almost identical to presentDefault().
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: Weibo He (NewSigma)
Changes
This patch attempts to implement piece of the proposed solution to
[CWG2563](https://cplusplus.github.io/CWG/issues/2563.html):
> [9.6.4 dcl.fct.def.coroutine.p8] This return exits the scope of gro. I
@@ -5,6 +5,9 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
endif()
set(LLVM_SUBPROJECT_TITLE "libclc")
+# Top level target used to build all Libclc libraries.
+add_custom_target( libclc ALL )
wenju-he wrote:
can we put this line near line 48~49, o
https://github.com/NewSigma created
https://github.com/llvm/llvm-project/pull/151067
This patch attempts to implement piece of the proposed solution to
[CWG2563](https://cplusplus.github.io/CWG/issues/2563.html):
> [9.6.4 dcl.fct.def.coroutine.p8] This return exits the scope of gro. It exits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Morris Hafner (mmha)
Changes
This fairly simple addition enables codegen for C++ conversion operators
---
Full diff: https://github.com/llvm/llvm-project/pull/151066.diff
2 Files Affected:
- (modified) clang/lib/CIR/CodeGen/CIRGenModule
https://github.com/mmha created https://github.com/llvm/llvm-project/pull/151066
This fairly simple addition enables codegen for C++ conversion operators
>From 433b6af403ce2648717874d1cce0cb9ea8142804 Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Tue, 29 Jul 2025 02:51:46 +0200
Subject: [P
https://github.com/changpeng updated
https://github.com/llvm/llvm-project/pull/151058
Unicorn! · GitHub
body {
background-color: #f1f1f1;
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.container { margin: 50px
https://github.com/aadanen updated
https://github.com/llvm/llvm-project/pull/150348
>From 4e24cb20efa22e364d41026ae40aec470ff786aa Mon Sep 17 00:00:00 2001
From: Aaron Danen
Date: Wed, 23 Jul 2025 18:01:14 -0700
Subject: [PATCH 1/6] added undo to docs in same format as %quit
---
clang/docs/Cl
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Changpeng Fang (changpeng)
Changes
---
Patch is 43.55 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/151058.diff
13 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Changpeng Fang (changpeng)
Changes
---
Patch is 43.55 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/151058.diff
13 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsA
https://github.com/changpeng created
https://github.com/llvm/llvm-project/pull/151058
None
Unicorn! · GitHub
body {
background-color: #f1f1f1;
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.container { margin:
@@ -0,0 +1,38 @@
+// RUN: %clang_cc1 -fsyntax-only -fsanitize=kcfi -verify %s
+
+#define __cfi_salt(S) __attribute__((cfi_salt(S)))
+
+int foo(int a, int b) __cfi_salt("pepper"); // ok
+int foo(int a, int b) __cfi_salt("pepper"); // ok
+
+typedef int (*bar_t)(void) __cfi_salt("pep
@@ -307,6 +310,14 @@ bool WebAssemblyTargetInfo::handleTargetFeatures(
HasReferenceTypes = false;
continue;
}
+if (Feature == "+gc") {
+ HasGC = true;
+ continue;
+}
+if (Feature == "-gc") {
+ HasGC = false;
+ continue;
+}
---
https://github.com/andykaylor approved this pull request.
I verified that CIR builds for me also with the latest changes.
https://github.com/llvm/llvm-project/pull/150805
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cg
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Eli Friedman (efriedma-quic)
Changes
6a60f18997d62b0e2842a921fcb6beb3e52ed823 fixed the primary issue of
dereferences, but there are some expressions that depend on the identity of the
pointed-to object without actually accessing it. Hand
https://github.com/efriedma-quic created
https://github.com/llvm/llvm-project/pull/151053
6a60f18997d62b0e2842a921fcb6beb3e52ed823 fixed the primary issue of
dereferences, but there are some expressions that depend on the identity of the
pointed-to object without actually accessing it. Handle
llvmbot wrote:
/pull-request llvm/llvm-project#151052
https://github.com/llvm/llvm-project/pull/149235
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -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 match AST nodes from system
hea
@@ -135,10 +135,15 @@ class MatchFinder {
llvm::StringMap &Records;
};
+MatchFinderOptions() {}
5chmidti wrote:
`MatchFinderOptions() = default;` (why add it in the first place? Having no
ctor should be enough)
https://github.com/llvm/llvm-pro
https://github.com/5chmidti commented:
Awesome to see this continuing. The changes also look quite clean and
extendable to, e.g., modules, like you mentioned. The performance improvement
is still incredible to see. Especially when considering library layering in
user-code from external or inte
https://github.com/5chmidti 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 updated
https://github.com/llvm/llvm-project/pull/151011
>From 65a04c0b903243bbc854477075b8e9e1a62fdfeb Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Mon, 28 Jul 2025 21:12:04 +0300
Subject: [PATCH 1/2] [clang-tidy] Add 'enable-check-profiling' with aggregated
@@ -1336,6 +1336,45 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ bool isInSystemHeader(const SourceLocation &Loc) {
+const SourceManager &SM = getASTContext().getSourceManager();
+return SM.isInSystemHeader(Loc);
+ }
+
+ template
https://github.com/vbvictor 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 commented:
Thank you for working on this!
Left a couple of NFC comments on style
https://github.com/llvm/llvm-project/pull/151035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
@@ -1336,6 +1336,45 @@ class MatchASTVisitor : public
RecursiveASTVisitor,
return false;
}
+ bool isInSystemHeader(const SourceLocation &Loc) {
+const SourceManager &SM = getASTContext().getSourceManager();
+return SM.isInSystemHeader(Loc);
+ }
+
+ template
https://github.com/carlosgalvezp updated
https://github.com/llvm/llvm-project/pull/151035
>From d52db8ca5d53d021852f85600a63ba235e73fb0b 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
1 - 100 of 454 matches
Mail list logo