[clang] [Clang][Comments] Attach comments to decl even if preproc directives are in between (PR #88367)

2024-06-09 Thread via cfe-commits
https://github.com/hdoc updated https://github.com/llvm/llvm-project/pull/88367 >From a98d117c68b33d2e6632a832ff77b0e8258469e6 Mon Sep 17 00:00:00 2001 From: hdoc Date: Thu, 11 Apr 2024 01:54:18 -0700 Subject: [PATCH 1/5] Attach comments to decl even if preproc directives are in between --- c

[clang] [clang-format] Add option to remove leading blank lines (PR #91221)

2024-06-09 Thread via cfe-commits
https://github.com/sstwcw updated https://github.com/llvm/llvm-project/pull/91221 >From 72e15ffb87eff94d51af69c0f804084ab7abe474 Mon Sep 17 00:00:00 2001 From: sstwcw Date: Mon, 6 May 2024 14:34:08 + Subject: [PATCH 1/4] [clang-format] Add option to remove leading blank lines --- clang/do

[clang] [Clang] Fix two issues of CTAD for aggregates (PR #94889)

2024-06-09 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 edited https://github.com/llvm/llvm-project/pull/94889 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix two issues of CTAD for aggregates (PR #94889)

2024-06-09 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 updated https://github.com/llvm/llvm-project/pull/94889 >From 217c00f47aaa65b113d1c1cfd93a9c4e1d235c1a Mon Sep 17 00:00:00 2001 From: Younan Zhang Date: Sun, 9 Jun 2024 11:49:18 +0800 Subject: [PATCH 1/2] [Clang] Fix two issues of CTAD for aggregates --- clang/lib/S

[clang] [Clang] Fix two issues of CTAD for aggregates (PR #94889)

2024-06-09 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 ready_for_review https://github.com/llvm/llvm-project/pull/94889 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix two issues of CTAD for aggregates (PR #94889)

2024-06-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Younan Zhang (zyn0217) Changes Fixes two issues in two ways: 1) A `designated-initializer-list` is also a `braced-init-list` and thus it's subject to `[over.match.class.deduct]p1.8`, which means the brace elision should also apply to desi

[clang] [Clang][Sema] Tweak tryCaptureVariable for unevaluated lambdas (PR #93206)

2024-06-09 Thread Younan Zhang via cfe-commits
zyn0217 wrote: +1 for being too late because 18.1.7 just got rolled out a few days ago (I thought 18.1.6 was the final version of 18.x!), and there's probably no 18.1.8. https://github.com/llvm/llvm-project/pull/93206 ___ cfe-commits mailing list cfe-

[clang] [Driver] Add winsysroot alias to the GNU driver (PR #94731)

2024-06-09 Thread via cfe-commits
https://github.com/Andarwinux updated https://github.com/llvm/llvm-project/pull/94731 >From c31dc726e7c0c20f12d6ea3152dfde1c40819f49 Mon Sep 17 00:00:00 2001 From: Andarwinux <144242044+andarwi...@users.noreply.github.com> Date: Fri, 7 Jun 2024 07:07:40 + Subject: [PATCH] [Driver] Add winsys

[clang] [test][OpenMP] Avoid writing to a potentially write-protected dir (PR #94931)

2024-06-09 Thread Karl-Johan Karlsson via cfe-commits
https://github.com/karka228 created https://github.com/llvm/llvm-project/pull/94931 The test clang/test/OpenMP/error_unsupport_feature.c don't check the output written to the current directory. The current directory may be write protected e.g. in a sandboxed environment. This patch replace th

[clang] [test][OpenMP] Avoid writing to a potentially write-protected dir (PR #94931)

2024-06-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Karl-Johan Karlsson (karka228) Changes The test clang/test/OpenMP/error_unsupport_feature.c don't check the output written to the current directory. The current directory may be write protected e.g. in a sandboxed environment. This patch

[clang] [llvm] [Offload][CUDA] Add initial cuda_runtime.h overlay (PR #94821)

2024-06-09 Thread Johannes Doerfert via cfe-commits
@@ -0,0 +1,30 @@ +// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t +// RUN: %t | %fcheck-generic + +// UNSUPPORTED: aarch64-unknown-linux-gnu +// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO +// UNSUPPORTED: x86_64-pc-linux-gnu +// UNSUPPORTED: x86_64-pc-linux-gnu-

[clang] [test][OpenMP] Avoid writing to a potentially write-protected dir (PR #94931)

2024-06-09 Thread Karl-Johan Karlsson via cfe-commits
@@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -verify -fopenmp %s +// RUN: %clang_cc1 -fsyntax-only -verify -fopenmp %s karka228 wrote: It seems like this was a bad idea. When I test this locally this test works for me, but it seems like the it fail in the test

[clang] [clang][NVPTX] Define macro indicating the PTX version (PR #94934)

2024-06-09 Thread Victor Lomuller via cfe-commits
https://github.com/Naghasan created https://github.com/llvm/llvm-project/pull/94934 Define __PTX_VERSION__ macro to indicate the used PTX version. Usually each new PTX version brings a new sm version and the associated instructions. However, some of these instructions can also be made avialabl

[clang] [clang][NVPTX] Define macro indicating the PTX version (PR #94934)

2024-06-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Victor Lomuller (Naghasan) Changes Define __PTX_VERSION__ macro to indicate the used PTX version. Usually each new PTX version brings a new sm version and the associated instructions. However, some of these instructions can also be made a

[clang] a47e40b - [clang][Interp] Disallow ptr-to-int casts on dummy pointers

2024-06-09 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2024-06-10T08:49:49+02:00 New Revision: a47e40bce086c506b672cbd8fbb2abdc6619c0a6 URL: https://github.com/llvm/llvm-project/commit/a47e40bce086c506b672cbd8fbb2abdc6619c0a6 DIFF: https://github.com/llvm/llvm-project/commit/a47e40bce086c506b672cbd8fbb2abdc6619c0a6.diff LO

[clang] [test][OpenMP] Avoid writing to a potentially write-protected dir (PR #94931)

2024-06-09 Thread Karl-Johan Karlsson via cfe-commits
https://github.com/karka228 updated https://github.com/llvm/llvm-project/pull/94931 >From c5b2765d9f4bd2a8412c0722a052148673411f94 Mon Sep 17 00:00:00 2001 From: Karl-Johan Karlsson Date: Mon, 10 Jun 2024 07:45:48 +0200 Subject: [PATCH 1/2] [test][OpenMP] Avoid writing to a potentially write-p

[clang] [test][OpenMP] Avoid writing to a potentially write-protected dir (PR #94931)

2024-06-09 Thread Karl-Johan Karlsson via cfe-commits
https://github.com/karka228 edited https://github.com/llvm/llvm-project/pull/94931 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2