@@ -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
@@ -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/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/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
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:
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
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
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
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
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
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/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
@@ -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/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-
@@ -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
-
@@ -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
+ (&
@@ -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
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
@@ -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/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
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/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/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/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
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
_
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
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
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
@@ -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/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
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/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
@@ -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/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
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/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
.
@@ -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/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
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/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
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
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/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
@@ -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 {
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
@@ -195,6 +196,48 @@ EXTERN int omp_target_is_present(const void *Ptr, int
DeviceNum) {
return Rc;
}
+/// Check whether a pointer is accessible from a device.
+/// the functionality is available in OpenMP 5.1 and later
+/// OpenMP 5.1
+/// omp_target_is_accessible checks wh
efriedma-quic wrote:
And a few more:
```
constexpr auto& type(const PolyBase& b) { return typeid(b); }
// dynamic_cast
constexpr const void* dyncast(const PolyBase& b) { return dynamic_cast(&b); }
constexpr int sub(int (&a)[], int (&b)[]) { return a-b; }
constexpr int* add(int &a) { return &a
https://github.com/carlosgalvezp 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/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
401 - 454 of 454 matches
Mail list logo