cor3ntin wrote:
I'm obviously not qualified to review this but
- Do we need to update https://clang.llvm.org/docs/PointerAuthentication.html ?
- Do we need a changelog entry?
https://github.com/llvm/llvm-project/pull/147899
___
cfe-commits mailing li
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/147793
>From c4466d677619e6eb8ca65ed943bfb103207527c9 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Wed, 9 Jul 2025 21:00:30 +0300
Subject: [PATCH 1/3] [clang-tidy][NFC] add '.clang-tidy' config for clang-tidy
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Igor Kudrin (igorkudrin)
Changes
This helps to avoid duplicating warnings in cases like:
```
> cat test.cpp
void bar(int);
void foo(const int &);
void test(bool a) {
int v = v;
if (a)
bar(v);
else
foo(v);
}
> clang++.
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/147898
This helps to avoid duplicating warnings in cases like:
```
> cat test.cpp
void bar(int);
void foo(const int &);
void test(bool a) {
int v = v;
if (a)
bar(v);
else
foo(v);
}
> clang++.exe test.cp
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/147894
>From 17e42982fc947dccfc724ee6de6cf93fa8de3222 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Thu, 10 Jul 2025 13:26:09 +0800
Subject: [PATCH 1/2] [Clang] Fix the template argument collection after
CWG2369
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Igor Kudrin (igorkudrin)
Changes
The second parameter is unused since 6080d32194.
---
Full diff: https://github.com/llvm/llvm-project/pull/147897.diff
1 Files Affected:
- (modified) clang/lib/Analysis/UninitializedValues.cpp (+
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/147897
The second parameter is unused since 6080d32194.
>From 748a7ad92ed59854502ff5c3b28dfb18f8e08c79 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Wed, 9 Jul 2025 18:49:32 -0700
Subject: [PATCH] [clang][NFC] R
https://github.com/xlauko edited
https://github.com/llvm/llvm-project/pull/147578
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xlauko edited
https://github.com/llvm/llvm-project/pull/147578
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2357,6 +2358,56 @@ mlir::LogicalResult
CIRToLLVMVecTernaryOpLowering::matchAndRewrite(
return mlir::success();
}
+mlir::LogicalResult CIRToLLVMComplexAddOpLowering::matchAndRewrite(
+cir::ComplexAddOp op, OpAdaptor adaptor,
+mlir::ConversionPatternRewriter &rewr
https://github.com/xlauko approved this pull request.
lgtm with minot nit
https://github.com/llvm/llvm-project/pull/147578
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1078,15 +1078,19 @@ static bool
CheckFunctionConstraintsWithoutInstantiation(
// template. We need the entire list, since the constraint is completely
// uninstantiated at this point.
- // FIXME: Add TemplateArgs through the 'Innermost' parameter once
- // the refac
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147892
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-07-10T08:26:08+02:00
New Revision: d72d84cb0df40019a0a5abaf836b38c8e46e4827
URL:
https://github.com/llvm/llvm-project/commit/d72d84cb0df40019a0a5abaf836b38c8e46e4827
DIFF:
https://github.com/llvm/llvm-project/commit/d72d84cb0df40019a0a5abaf836b38c8e46e4827.diff
L
https://github.com/nicovank approved this pull request.
https://github.com/llvm/llvm-project/pull/147793
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -909,10 +909,12 @@ static bool areExprsSameMacroOrLiteral(const
BinaryOperator *BinOp,
// Left is macro so right macro too
if (Rsr.getBegin().isMacroID()) {
// Both sides are macros so they are same macro or literal
- const llvm::StringRef L = Lexer::getS
@@ -2661,6 +2661,45 @@ def BitPopcountOp : CIR_BitOpBase<"bit.popcnt",
}];
}
+def BitReverseOp : CIR_BitOpBase<"bit.reverse",
+ CIR_UIntOfWidths<[8, 16, 32, 64]>> {
+ let summary = "Reverse the bit pattern of the operand integer";
+ let desc
HighCommander4 wrote:
> > Do I understand correctly that, as a result of this commit, the SemaTests
> > target no longer exists, and to work on / run the tests that it used to
> > include (such as HeuristicResolverTest.cpp), I have to build the
> > ClangdUnitTests target, which requires buildi
@@ -1078,15 +1078,19 @@ static bool
CheckFunctionConstraintsWithoutInstantiation(
// template. We need the entire list, since the constraint is completely
// uninstantiated at this point.
- // FIXME: Add TemplateArgs through the 'Innermost' parameter once
- // the refac
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/147894
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1078,15 +1078,19 @@ static bool
CheckFunctionConstraintsWithoutInstantiation(
// template. We need the entire list, since the constraint is completely
// uninstantiated at this point.
- // FIXME: Add TemplateArgs through the 'Innermost' parameter once
- // the refac
cor3ntin wrote:
Thanks for working on this. Did you do any benchmarks?
https://github.com/llvm/llvm-project/pull/147853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
Given that we haven't heard objections, I think we should proceed with using
resolved paths in `IncludeInserter` as well. It would probably be best to do
that before the clangd 21 release, so that we don't ship a release where two
different features are interpreting the c
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/147894
>From 17e42982fc947dccfc724ee6de6cf93fa8de3222 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Thu, 10 Jul 2025 13:26:09 +0800
Subject: [PATCH] [Clang] Fix the template argument collection after CWG2369
Since
kr-2003 wrote:
> We will probably need a test in clang/unittest/Interpreter
Ok. So, replicating clang-repl's way of creating interpreter when
out-of-process should work, right?
https://github.com/llvm/llvm-project/pull/147478
___
cfe-commits mailing
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
Since the function template isn't instantiated before constraint checking,
we'll not be able to find the outer template arguments through function
specialization when evaluating the inner constraint that is
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/147894
Since the function template isn't instantiated before constraint checking,
we'll not be able to find the outer template arguments through function
specialization when evaluating the inner constraint that is nes
vgvassilev wrote:
We will probably need a test in clang/unittest/Interpreter
https://github.com/llvm/llvm-project/pull/147478
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/PiotrZSL requested changes to this pull request.
I'm not sure if this check changes anything related to performance. Most of
this stuff is optimized, local variables with builtin types will be
optimized-out anyway and types that actually could harm performance cannot be
cons
Author: Timm Baeder
Date: 2025-07-10T07:33:33+02:00
New Revision: 36cbd43ae8d5a5274ae3193b6383fff2ba9671f4
URL:
https://github.com/llvm/llvm-project/commit/36cbd43ae8d5a5274ae3193b6383fff2ba9671f4
DIFF:
https://github.com/llvm/llvm-project/commit/36cbd43ae8d5a5274ae3193b6383fff2ba9671f4.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147732
___
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/147892
>From 8cfa60433b285accc0fb58531ad9ee5c74fe46d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Jul 2025 07:25:15 +0200
Subject: [PAT
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/147793
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/147892.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+103-5)
- (modified) clang/test/Sema/constant_builtins_vector
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147892
None
>From 8cfa60433b285accc0fb58531ad9ee5c74fe46d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Jul 2025 07:25:15 +0200
Subject: [PATCH] [clang][bytecode] Implement missing eleme
https://github.com/PiotrZSL approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/147793
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jim Lin
Date: 2025-07-10T13:04:27+08:00
New Revision: 69ff8537296339babc72ae075f3e78a68d1b6816
URL:
https://github.com/llvm/llvm-project/commit/69ff8537296339babc72ae075f3e78a68d1b6816
DIFF:
https://github.com/llvm/llvm-project/commit/69ff8537296339babc72ae075f3e78a68d1b6816.diff
LOG:
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 1/8] pipes for redirection in oop jit
---
.../clang/Interpreter/Remote
@@ -23,10 +23,19 @@
#include
#include
#include
+#ifdef LLVM_ON_UNIX
+#include
+#else
+// Windows/MSVC fallback
+#define STDIN_FILENO 0
+#define STDOUT_FILENO 1
+#define STDERR_FILENO 2
+#endif
kr-2003 wrote:
yes, i don't think we need these now
https://gi
https://github.com/darkbuck closed
https://github.com/llvm/llvm-project/pull/147209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: darkbuck
Date: 2025-07-09T23:26:15-04:00
New Revision: 378e9bb7e06c67d8235a8cb5bfb325b63d2ba319
URL:
https://github.com/llvm/llvm-project/commit/378e9bb7e06c67d8235a8cb5bfb325b63d2ba319
DIFF:
https://github.com/llvm/llvm-project/commit/378e9bb7e06c67d8235a8cb5bfb325b63d2ba319.diff
LOG:
yronglin wrote:
> LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux`
> running on `sanitizer-buildbot7` while building `clang` at step 2 "annotate".
>
> Full details are available at:
> https://lab.llvm.org/buildbot/#/builders/51/builds/19520
>
> Here is the relevan
kkwli wrote:
> LLVM Buildbot has detected a new failure on builder
> `ppc64le-flang-rhel-clang` running on `ppc64le-flang-rhel-test` while
> building `clang,flang` at step 5 "build-unified-tree".
>
> Full details are available at:
> https://lab.llvm.org/buildbot/#/builders/157/builds/33205
>
@@ -12,7 +12,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
+target triple = "x86_64-unknown--"
MaskRay wrote:
Yes, they can be omitted in the IR.
https://github.com/llvm/llvm-project/pull/12387
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/147342
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,36 @@
+; RUN: llc -O0 -mtriple=spirv-unknown-vulkan %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown %s -o -
-filetype=obj | spirv-val %}
farzonl wrote:
There is no spirv64 target if you want to use the glsl e
@@ -1061,15 +1061,36 @@ BuildDeductionGuideForTypeAlias(Sema &SemaRef,
SmallVector DeduceResults(
F->getTemplateParameters()->size());
+ // We don't have to deduce against the alias template specialization,
+ // if the source template is a synthesized alias deduction
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux`
running on `sanitizer-buildbot7` while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/51/builds/19520
Here is the relevant piece of the
ChuanqiXu9 wrote:
The size of the patch is too big to review. And personally I don't have such a
time to review it recently. Also from the community's perspective, the
maintainablity of large patches is questionable.
I think, you can achieve it with another direction. Instead of adding these
sivadeilra wrote:
> For the cases involving noreturn functions, can we emit int3 instead of nop?
Sure. I've implemented that, verified that tests pass, and updated the PR. I
also added coverage for this to `noreturn-call-win64.ll`.
https://github.com/llvm/llvm-project/pull/144745
___
https://github.com/shafik commented:
Seems like this should have a release note?
https://github.com/llvm/llvm-project/pull/146976
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sivadeilra updated
https://github.com/llvm/llvm-project/pull/144745
>From f7c634b074a51b1564137bbcf60904c5dbdfefc0 Mon Sep 17 00:00:00 2001
From: Arlie Davis
Date: Fri, 13 Jun 2025 12:45:34 -0700
Subject: [PATCH 1/4] Fix IP2State tables
style: revert one change
Adjust tests
yronglin wrote:
Congratulations, the first LLVM PR has landed!
https://github.com/llvm/llvm-project/pull/145164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@mrcvtl 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/yronglin closed
https://github.com/llvm/llvm-project/pull/145164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Marco Vitale
Date: 2025-07-10T09:57:07+08:00
New Revision: c86c815fc57c098ba14576fe2bb189da1dfc820d
URL:
https://github.com/llvm/llvm-project/commit/c86c815fc57c098ba14576fe2bb189da1dfc820d
DIFF:
https://github.com/llvm/llvm-project/commit/c86c815fc57c098ba14576fe2bb189da1dfc820d.diff
https://github.com/HaohaiWen updated
https://github.com/llvm/llvm-project/pull/123870
>From 7c531922f20bf284a5cd83b20e94cb624ef031d2 Mon Sep 17 00:00:00 2001
From: Haohai Wen
Date: Thu, 9 Jan 2025 15:29:33 +0800
Subject: [PATCH 1/4] [COFF] Preserve UniqueID used to create MCSectionCOFF
This Un
Author: Jim Lin
Date: 2025-07-10T09:13:22+08:00
New Revision: 2eab6f9bb2b3dd0cf05021939accca75cfb79994
URL:
https://github.com/llvm/llvm-project/commit/2eab6f9bb2b3dd0cf05021939accca75cfb79994
DIFF:
https://github.com/llvm/llvm-project/commit/2eab6f9bb2b3dd0cf05021939accca75cfb79994.diff
LOG:
https://github.com/tclin914 closed
https://github.com/llvm/llvm-project/pull/147767
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/b0gdnv updated
https://github.com/llvm/llvm-project/pull/147853
>From cf6278f92b32106a406aab92f66d66ce992cc04d Mon Sep 17 00:00:00 2001
From: Bogdan Vetrenko
Date: Thu, 10 Jul 2025 02:30:27 +0300
Subject: [PATCH] [clang] Use SmallString in CommentBriefParser to eliminate
per
https://github.com/b0gdnv updated
https://github.com/llvm/llvm-project/pull/147853
>From cf6278f92b32106a406aab92f66d66ce992cc04d Mon Sep 17 00:00:00 2001
From: Bogdan Vetrenko
Date: Thu, 10 Jul 2025 02:30:27 +0300
Subject: [PATCH] [clang] Use SmallString in CommentBriefParser to eliminate
per
@@ -70,6 +70,16 @@ Code completion
Code actions
+- New ``clangd`` code action: "Override pure virtual methods". When invoked on
a
+ class definition, this action automatically generates C++ ``override``
+ declarations for all pure virtual methods inherited from
@@ -70,6 +70,16 @@ Code completion
Code actions
+- New ``clangd`` code action: "Override pure virtual methods". When invoked on
a
marcogmaia wrote:
Agreed. Dropped.
https://github.com/llvm/llvm-project/pull/139348
__
https://github.com/marcogmaia updated
https://github.com/llvm/llvm-project/pull/139348
>From 76503bd8f5618b710e2909d1303de5d34723 Mon Sep 17 00:00:00 2001
From: Marco Maia
Date: Sat, 10 May 2025 00:48:39 -0300
Subject: [PATCH 01/14] [clangd] Add tweak to add pure virtual overrides
---
...
@@ -1088,6 +1088,9 @@ void CXXNameMangler::mangleNameWithAbiTags(GlobalDecl GD,
return;
}
+ while (DC->isRequiresExprBody())
+DC = DC->getParent();
zyn0217 wrote:
We had a similar while loop in TransformLambdaExpr, is that still needed?
Also I was
https://github.com/b0gdnv updated
https://github.com/llvm/llvm-project/pull/147853
>From 1bbbe10c7e6d75f43003b0e26b7593808f080bb6 Mon Sep 17 00:00:00 2001
From: Bogdan Vetrenko
Date: Thu, 10 Jul 2025 02:30:27 +0300
Subject: [PATCH] [clang] Use SmallString in CommentBriefParser to eliminate
per
sivadeilra wrote:
That was easier than expected -- thanks again, @efriedma-quic . I've updated
the PR. I've also avoided adding NOPs after tail calls, which were happening
in my first version of this. There's never a need for NOP padding after
TAILJMP* because there won't be a return addres
dpaoliello wrote:
Fix: #147837
https://github.com/llvm/llvm-project/pull/147354
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -68,9 +68,9 @@ double f1(int b, int i) {
//.
// CHECK-TRAP: [[META0:![0-9]+]] = distinct !DICompileUnit(language:
DW_LANG_C11, file: [[META1:![0-9]+]], isOptimized: false, runtimeVersion: 0,
emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None)
-// CHEC
dpaoliello wrote:
> Is anybody working on a fix or reversion?
I can work on a fix: should be trivial.
https://github.com/llvm/llvm-project/pull/147354
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/nilanjana87 closed
https://github.com/llvm/llvm-project/pull/146795
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nilanjana Basu
Date: 2025-07-09T14:53:28-07:00
New Revision: 2fc4a4a9d3a87a9e11c48ef25522aa17c2a71003
URL:
https://github.com/llvm/llvm-project/commit/2fc4a4a9d3a87a9e11c48ef25522aa17c2a71003
DIFF:
https://github.com/llvm/llvm-project/commit/2fc4a4a9d3a87a9e11c48ef25522aa17c2a71003.diff
QuietMisdreavus wrote:
ExtractAPI changes look good.
https://github.com/llvm/llvm-project/pull/147835
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,69 @@
+// RUN: %clang_cc1 -verify -std=c++26 %s -Wno-defaulted-function-deleted
-triple x86_64-linux-gnu
+
+struct NonTrivial {
brevzin wrote:
Done.
https://github.com/llvm/llvm-project/pull/146815
___
cfe-
https://github.com/brevzin updated
https://github.com/llvm/llvm-project/pull/146815
>From 40290a957b6f349a9b670193c8bc699d8eb7d373 Mon Sep 17 00:00:00 2001
From: Barry Revzin
Date: Fri, 27 Jun 2025 17:29:45 -0500
Subject: [PATCH 01/10] [P3074] Implementing part of trivial unions
---
clang/lib
jhuber6 wrote:
> > but we now assume that if the user specified --offload-arch= on the link
> > job, they definitely want that architecture to be used if it exists.
>
> That would be my assumption, too. Do we currently just ignore
> `--offload-arch=` for the linking phase?
>
> With the patch,
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/147609
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pcc wrote:
> LGTM, thanks!
>
> A minor nit-picking is that the description of `emitPtrauthDiscriminator` in
> AsmPrinter is a bit out of sync with the implementation, as it does not
> mention that the requirement on certain registers being x16/x17 can be
> relaxed.
Fixed
https://github.com/
https://github.com/pcc closed https://github.com/llvm/llvm-project/pull/132857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/pcc edited https://github.com/llvm/llvm-project/pull/132857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Artem-B wrote:
> but we now assume that if the user specified --offload-arch= on the link job,
> they definitely want that architecture to be used if it exists.
That would be my assumption, too. Do we currently just ignore
`--offload-arch=` for the linking phase?
With the patch, what's expe
klausler wrote:
Is anybody working on a fix or reversion?
https://github.com/llvm/llvm-project/pull/147354
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/147163
>From 4e0cf4e00d4cfd837e9dfd9e6aed88aca1de295a Mon Sep 17 00:00:00 2001
From: Oleksandr Tarasiuk
Date: Sun, 6 Jul 2025 00:35:48 +0300
Subject: [PATCH] [Clang] fix crash in codegen caused by deferred asm
diag
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/147711
>From 20b9d9bb16f82120cee41bf6a59d3bfa34aa0d3b Mon Sep 17 00:00:00 2001
From: Oleksandr Tarasiuk
Date: Wed, 9 Jul 2025 15:16:45 +0300
Subject: [PATCH] [Clang] fixed false positive redeclaration error for usin
@@ -1061,15 +1061,36 @@ BuildDeductionGuideForTypeAlias(Sema &SemaRef,
SmallVector DeduceResults(
F->getTemplateParameters()->size());
+ // We don't have to deduce against the alias template specialization,
+ // if the source template is a synthesized alias deduction
alexfh wrote:
This patch causes a clang crash (reproducible at least up
7bf439d2607e636ada7e0bafda0fae447ec36002). Reduced test case:
https://gcc.godbolt.org/z/xdnWzP9qs
https://github.com/llvm/llvm-project/pull/141937
___
cfe-commits mailing list
cf
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/147793
>From a0fd1b04817c03685bacd70f763ef0f62dd4e425 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Wed, 9 Jul 2025 21:00:30 +0300
Subject: [PATCH 1/2] [clang-tidy][NFC] add '.clang-tidy' config for clang-tidy
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-tools-extra/clang-tidy/performance/ConstexprN
AaronBallman wrote:
> I THINK this is right, but we also need to have a codegen test to make sure
> we don't try to do goofiness with these.
I was thinking the ast-dump test sufficed because it shows that we set the
underlying type to non-atomic in the AST. But I can certainly add a codegen
t
@@ -17152,6 +17152,13 @@ bool Sema::CheckEnumUnderlyingType(TypeSourceInfo *TI)
{
SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc();
QualType T = TI->getType();
+ // C++0x 7.2p2: The type-specifier-seq of an enum-base shall name an
+ // integral type; any cv
@@ -17563,6 +17573,16 @@ Sema::ActOnTag(Scope *S, unsigned TagSpec, TagUseKind
TUK, SourceLocation KWLoc,
UPPC_FixedUnderlyingType))
EnumUnderlying = Context.IntTy.getTypePtr();
+ // If the underlying type is atomic, we n
https://github.com/RolandF77 updated
https://github.com/llvm/llvm-project/pull/145372
>From fc5226fa4bb20267c4e3ed3c687056461ccfbccb Mon Sep 17 00:00:00 2001
From: Roland Froese
Date: Mon, 23 Jun 2025 17:27:46 +
Subject: [PATCH 1/3] dmf basic builtins
---
clang/include/clang/Basic/Builtin
@@ -547,6 +547,15 @@ static void DoEmitAvailabilityWarning(Sema &S,
AvailabilityResult K,
return;
}
case AR_Deprecated:
+// Suppress -Wdeprecated-declarations in purely implicit special-member
functions.
+if (auto *MD = dyn_cast_if_present(S.getCurFunctionDecl
@@ -17152,6 +17152,13 @@ bool Sema::CheckEnumUnderlyingType(TypeSourceInfo *TI)
{
SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc();
QualType T = TI->getType();
+ // C++0x 7.2p2: The type-specifier-seq of an enum-base shall name an
+ // integral type; any cv
@@ -17152,6 +17152,13 @@ bool Sema::CheckEnumUnderlyingType(TypeSourceInfo *TI)
{
SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc();
QualType T = TI->getType();
+ // C++0x 7.2p2: The type-specifier-seq of an enum-base shall name an
+ // integral type; any cv
@@ -2022,8 +2022,14 @@ Decl *TemplateDeclInstantiator::VisitEnumDecl(EnumDecl
*D) {
DeclarationName());
if (!NewTI || SemaRef.CheckEnumUnderlyingType(NewTI))
Enum->setIntegerType(SemaRef.Context.IntTy);
- else
@@ -17563,6 +17573,16 @@ Sema::ActOnTag(Scope *S, unsigned TagSpec, TagUseKind
TUK, SourceLocation KWLoc,
UPPC_FixedUnderlyingType))
EnumUnderlying = Context.IntTy.getTypePtr();
+ // If the underlying type is atomic, we n
https://github.com/erichkeane commented:
I THINK this is right, but we also need to have a codegen test to make sure we
don't try to do goofiness with these.
https://github.com/llvm/llvm-project/pull/147802
___
cfe-commits mailing list
cfe-commits@lis
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/147802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagyDonat updated
https://github.com/llvm/llvm-project/pull/147797
From fc638a1d7d56becbe7e8350b46b75ade51718f71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?=
Date: Tue, 20 May 2025 15:51:48 +0200
Subject: [PATCH 1/3] [analyzer] Prettify checker registration an
1 - 100 of 376 matches
Mail list logo