@@ -700,10 +700,13 @@ class MSBuiltin {
//===--- Variable Argument Handling Intrinsics
===//
//
-def int_vastart : DefaultAttrsIntrinsic<[], [llvm_ptr_ty], [],
"llvm.va_start">;
-def int_vacopy : DefaultAttrsIntrinsic<[], [llvm_ptr_ty, llvm_ptr_t
@@ -0,0 +1,5 @@
+// RUN: cat %s | not clang-format --fail-on-incomplete-format | FileCheck %s
+// RUN: cat %s | clang-format | FileCheck %s
+int a([) {}
+
+// CHECK: int a([) {}
owenca wrote:
It's missing the EOF. Also, use a single hyphen for the option like oth
Author: kadir çetinkaya
Date: 2024-03-20T08:48:06+01:00
New Revision: 756c20561efa1e58bd7d2a6df147b6b52e23
URL:
https://github.com/llvm/llvm-project/commit/756c20561efa1e58bd7d2a6df147b6b52e23
DIFF:
https://github.com/llvm/llvm-project/commit/756c20561efa1e58bd7d2a6df147b6b52e23.dif
https://github.com/kadircet closed
https://github.com/llvm/llvm-project/pull/85784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8927,8 +8927,13 @@ void Sema::CheckVariableDeclarationType(VarDecl *NewVD) {
}
}
- if (T->isRVVSizelessBuiltinType())
-checkRVVTypeSupport(T, NewVD->getLocation(), cast(CurContext));
+ if (T->isRVVSizelessBuiltinType() && isa(CurContext)) {
+const FunctionD
https://github.com/hokein created
https://github.com/llvm/llvm-project/pull/85904
Fixes https://github.com/llvm/llvm-project/issues/85767.
>From ff697e2a159a4959deb1103d9d8442ef544a Mon Sep 17 00:00:00 2001
From: Haojian Wu
Date: Fri, 15 Mar 2024 10:47:09 +0100
Subject: [PATCH 1/2] [clan
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Haojian Wu (hokein)
Changes
Fixes https://github.com/llvm/llvm-project/issues/85767.
---
Full diff: https://github.com/llvm/llvm-project/pull/85904.diff
3 Files Affected:
- (modified) clang/lib/Sema/SemaInit.cpp (+5-22)
- (modified)
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 5a744776bb6192dae04360609457c9f49dce43a2
9355ff3d75221659a33ca5e7571849ff3135353a --
https://github.com/zmodem approved this pull request.
https://github.com/llvm/llvm-project/pull/85891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/budimirarandjelovicsyrmia updated
https://github.com/llvm/llvm-project/pull/70024
From 7adedf54a6c4d509046915777600b6e66b90bb8c Mon Sep 17 00:00:00 2001
From: budimirarandjelovicsyrmia
Date: Fri, 13 Oct 2023 14:45:15 +0200
Subject: [PATCH] [clang] Catch missing format attribu
@@ -6849,6 +6849,71 @@ static void handleSwiftAsyncAttr(Sema &S, Decl *D, const
ParsedAttr &AL) {
checkSwiftAsyncErrorBlock(S, D, ErrorAttr, AsyncAttr);
}
+// Warn if parent function misses format attribute. Parent function misses
+// format attribute if there is an argum
https://github.com/labrinea closed
https://github.com/llvm/llvm-project/pull/84405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Alexandros Lamprineas
Date: 2024-03-20T09:24:29Z
New Revision: e6b5bd5854c80eac05f415ad282ba84b840b8af8
URL:
https://github.com/llvm/llvm-project/commit/e6b5bd5854c80eac05f415ad282ba84b840b8af8
DIFF:
https://github.com/llvm/llvm-project/commit/e6b5bd5854c80eac05f415ad282ba84b840b8af8.di
@@ -1386,9 +1386,19 @@ inline _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto)
apply(_Fn&& __f, _Tuple&&
std::forward<_Tuple>(__t),
typename
__make_tuple_indices>>::type{}))
+#if _LIBCPP_STD_VER >= 20
template
inline _LIBCPP_HIDE_FROM_ABI constexpr _Tp __mak
https://github.com/zmodem updated
https://github.com/llvm/llvm-project/pull/85271
>From 97c0ff6c3b05829eb4f0b0350b2c2d000483fe06 Mon Sep 17 00:00:00 2001
From: Hans Wennborg
Date: Thu, 14 Mar 2024 17:09:44 +0100
Subject: [PATCH 1/5] [Coroutines] Drop dead instructions more aggressively in
addM
zmodem wrote:
> I am wondering if this is a regression from f786881 (this may not be
> important)
No, it failed before that commit also.
> And could you put the reduced example into the patch in somewhere of
> `clang/test/CodeGenCoroutines` as a regression test?
Added `coro-symmetric-transfe
Abhinkop wrote:
@nickdesaulniers @AaronBallman Can you'll take a look at this pull request?
https://github.com/llvm/llvm-project/pull/77178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
https://github.com/nikic closed https://github.com/llvm/llvm-project/pull/84341
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DanielKristofKiss edited
https://github.com/llvm/llvm-project/pull/82819
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/labrinea created
https://github.com/llvm/llvm-project/pull/85914
Reverts llvm/llvm-project#84405
In between of passing the precommit tests on github and being merged
some change (perhaps in the AArch64 backend?) landed which resulted
in altering the generated resolver. I will
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alexandros Lamprineas (labrinea)
Changes
Reverts llvm/llvm-project#84405
In between of passing the precommit tests on github and being merged
some change (perhaps in the AArch64 backend?) landed which resulted
in altering the generated res
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From f016e3ad661455d18536d7bcb086c4d33ef0c291 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/2] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/Discookie updated
https://github.com/llvm/llvm-project/pull/83985
>From 881701d528255e2c49ed64f5f1df98f0f44c1d7b Mon Sep 17 00:00:00 2001
From: Viktor
Date: Tue, 5 Mar 2024 09:46:26 +
Subject: [PATCH] [clang][analyzer] Bring cplusplus.ArrayDelete out of alpha
---
clang/
https://github.com/paschalis-mpeis approved this pull request.
Approving 'revert commit'.
https://github.com/llvm/llvm-project/pull/85914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 7f0e9d1b00ce1aba5ae2bee9563f1b681ff5d9b8 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/2] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/nico closed https://github.com/llvm/llvm-project/pull/85914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Alexandros Lamprineas
Date: 2024-03-20T06:16:26-04:00
New Revision: b7975cae7b18485e704a86ed4690a621e5064e13
URL:
https://github.com/llvm/llvm-project/commit/b7975cae7b18485e704a86ed4690a621e5064e13
DIFF:
https://github.com/llvm/llvm-project/commit/b7975cae7b18485e704a86ed4690a621e5064e
nico wrote:
Thanks for the revert!
https://github.com/llvm/llvm-project/pull/85914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/uweigand approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/85730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 approved this pull request.
LGTM. Thanks.
https://github.com/llvm/llvm-project/pull/85271
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/85271
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,65 @@
+// This tests that the symmetric transfer at the final suspend point could
happen successfully.
ChuanqiXu9 wrote:
nit: I feel slightly better to add a link to the github page.
https://github.com/llvm/llvm-project/pull/85271
___
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
@llvm/pr-subscribers-clang-codegen
Author: Alexander Shaposhnikov (alexander-shaposhnikov)
Changes
This PR introduces the numerical sanitizer originally proposed by Clement
Courbet on https://reviews.llvm.org/D97854
(https://arxiv.org/abs/2102.1
https://github.com/alexander-shaposhnikov edited
https://github.com/llvm/llvm-project/pull/85916
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
9fd1c4121f7c797ff7222161cb40cd68ecf0fbc8...f932900890ba96ae01f8c4d762aca5023d0b7fce
compi
https://github.com/alexander-shaposhnikov edited
https://github.com/llvm/llvm-project/pull/85916
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 commented:
Dumping things from the source location makes me nervous... And giving this is
not related to named modules, I'd like to leave this for @Bigcheese
https://github.com/llvm/llvm-project/pull/85745
___
cfe-commit
https://github.com/zmodem updated
https://github.com/llvm/llvm-project/pull/85271
>From 97c0ff6c3b05829eb4f0b0350b2c2d000483fe06 Mon Sep 17 00:00:00 2001
From: Hans Wennborg
Date: Thu, 14 Mar 2024 17:09:44 +0100
Subject: [PATCH 1/6] [Coroutines] Drop dead instructions more aggressively in
addM
@@ -0,0 +1,65 @@
+// This tests that the symmetric transfer at the final suspend point could
happen successfully.
zmodem wrote:
Done.
https://github.com/llvm/llvm-project/pull/85271
___
cfe-commits mailing list
cfe-co
@@ -2487,10 +2480,10 @@ AArch64ExtensionDependenciesBaseCPUTestParams
{}},
{"cortex-a520",
{},
- {"v9.2a","bf16", "crc", "dotprod", "f32mm",
"flagm",
- "fp-armv8", "fullfp16", "fp16fml", "i8mm","lse", "
@@ -2487,10 +2480,10 @@ AArch64ExtensionDependenciesBaseCPUTestParams
{}},
{"cortex-a520",
{},
- {"v9.2a","bf16", "crc", "dotprod", "f32mm",
"flagm",
- "fp-armv8", "fullfp16", "fp16fml", "i8mm","lse", "
https://github.com/Stylie777 edited
https://github.com/llvm/llvm-project/pull/85203
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 7f0e9d1b00ce1aba5ae2bee9563f1b681ff5d9b8 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/3] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/alejandro-alvarez-sonarsource updated
https://github.com/llvm/llvm-project/pull/83027
From a061464b75ac02c21e5d74fc4dff8d8afdbba66b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alejandro=20=C3=81lvarez=20Ayll=C3=B3n?=
Date: Wed, 20 Mar 2024 10:49:08 +0100
Subject: [PATCH 01/18]
@@ -1179,6 +1195,113 @@ void StreamChecker::evalUngetc(const FnDescription
*Desc, const CallEvent &Call,
C.addTransition(StateFailed);
}
+ProgramStateRef StreamChecker::ensureGetdelimBufferAndSizeCorrect(
+SVal LinePtrPtrSVal, SVal SizePtrSVal, const Expr *LinePtrPtrExp
@@ -1179,6 +1195,113 @@ void StreamChecker::evalUngetc(const FnDescription
*Desc, const CallEvent &Call,
C.addTransition(StateFailed);
}
+ProgramStateRef StreamChecker::ensureGetdelimBufferAndSizeCorrect(
+SVal LinePtrPtrSVal, SVal SizePtrSVal, const Expr *LinePtrPtrExp
@@ -0,0 +1,138 @@
+//===--- MinMaxUseInitializerListCheck.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
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 0f46e31cfbf415fcd3d3ce121bef94e92c6ccfc8
bf7543ed9e52eba668b1d56e375e71288d800d99 --
alejandro-alvarez-sonarsource wrote:
Sorry for the force-push, but I have moved now the precondition checks to
`UnixAPIChecker` after uplifting its API (now it uses `PreCall` instead of
`PreStmt`). From my understanding, the previous implementation used a legacy
way of handling them.
The idea
https://github.com/alejandro-alvarez-sonarsource updated
https://github.com/llvm/llvm-project/pull/83027
From a061464b75ac02c21e5d74fc4dff8d8afdbba66b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alejandro=20=C3=81lvarez=20Ayll=C3=B3n?=
Date: Wed, 20 Mar 2024 10:49:08 +0100
Subject: [PATCH 01/19]
AaronBallman wrote:
Do you need someone to commit this on your behalf?
https://github.com/llvm/llvm-project/pull/85347
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 7f0e9d1b00ce1aba5ae2bee9563f1b681ff5d9b8 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/4] [clang-tidy] add check to suggest replacement of nested
std::min or std:
@@ -0,0 +1,138 @@
+//===--- MinMaxUseInitializerListCheck.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/sopyb edited https://github.com/llvm/llvm-project/pull/85572
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 7f0e9d1b00ce1aba5ae2bee9563f1b681ff5d9b8 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/4] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 4e466541a5ccf22d6fef08c71077e1f95ed10616 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/4] [clang-tidy] add check to suggest replacement of nested
std::min or std:
Author: Fraser Cormack
Date: 2024-03-20T11:43:38Z
New Revision: 4b369ff076d9205ddbcfcdef89276a737a83ce0e
URL:
https://github.com/llvm/llvm-project/commit/4b369ff076d9205ddbcfcdef89276a737a83ce0e
DIFF:
https://github.com/llvm/llvm-project/commit/4b369ff076d9205ddbcfcdef89276a737a83ce0e.diff
LOG
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 4e466541a5ccf22d6fef08c71077e1f95ed10616 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/5] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/85921
None
>From 144119d57d181fb16e27a5c7d869422a39185978 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Wed, 20 Mar 2024 19:36:50 +0800
Subject: [PATCH] [clang][AST][NFC] Add '[[fallthrough]];' to cases fall
through
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Ben Shi (benshi001)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/85921.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CGStmt.cpp (+1-1)
``diff
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/cl
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 e2fa90fa0a4b7950dd0d7fae6933e89c075d0af0
144119d57d181fb16e27a5c7d869422a39185978 --
https://github.com/labrinea created
https://github.com/llvm/llvm-project/pull/85923
…ion.
This was reverted because the resolver didn't look as expected in one of the
tests. I believe it had some interaction with #84146. I have now regenerated it
using -target-feature -fp-armv8.
>From 20a44f
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Alexandros Lamprineas (labrinea)
Changes
…ion.
This was reverted because the resolver didn't look as expected in one of the
tests. I believe it had some interaction with #84146. I have now
regenerated it using -target-feature -fp
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alexandros Lamprineas (labrinea)
Changes
…ion.
This was reverted because the resolver didn't look as expected in one of the
tests. I believe it had some interaction with #84146. I have now
regenerated it using -target-feature -fp-armv8.
https://github.com/wheatman updated
https://github.com/llvm/llvm-project/pull/78742
>From 06c87364d11d50284994a14a6dc9b3f510ca8330 Mon Sep 17 00:00:00 2001
From: Brian Wheatman
Date: Fri, 19 Jan 2024 11:13:33 -0500
Subject: [PATCH] [clang][Sema] Fix for overflow in enumerators(#24667)
Enums wh
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/85921
>From 707adafab92900392ed5aabffa678afe9b4903d7 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Wed, 20 Mar 2024 19:36:50 +0800
Subject: [PATCH] [clang][AST][NFC] Add '[[fallthrough]];' to cases fall
through
---
https://github.com/wheatman updated
https://github.com/llvm/llvm-project/pull/78742
>From 23b742e4ee96412dca667da94ad166d4d36b73f9 Mon Sep 17 00:00:00 2001
From: Brian Wheatman
Date: Fri, 19 Jan 2024 11:13:33 -0500
Subject: [PATCH] [clang][Sema] Fix for overflow in enumerators(#24667)
Enums wh
Author: Joseph Huber
Date: 2024-03-20T07:15:49-05:00
New Revision: 357f00dddbe069f75e126188e35cb20edef32a5f
URL:
https://github.com/llvm/llvm-project/commit/357f00dddbe069f75e126188e35cb20edef32a5f
DIFF:
https://github.com/llvm/llvm-project/commit/357f00dddbe069f75e126188e35cb20edef32a5f.diff
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/85842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
That didn't seem to help (I applied only the CMake changes from the linked PR
however). Here's the output I get when calling `dump()` on the
`ExecutionSession` which is failing:
```
JIT session error: Symbols not found: [ ??3@YAXPEAX_K@Z ]
JITDylib "" (ES: 0x02ae9a53836
Author: Yuta Saito
Date: 2024-03-20T21:18:57+09:00
New Revision: 679e594d9d400ab688f6cc47b3ca26fe69265cae
URL:
https://github.com/llvm/llvm-project/commit/679e594d9d400ab688f6cc47b3ca26fe69265cae
DIFF:
https://github.com/llvm/llvm-project/commit/679e594d9d400ab688f6cc47b3ca26fe69265cae.diff
LO
https://github.com/kateinoigakukun closed
https://github.com/llvm/llvm-project/pull/85347
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 4e466541a5ccf22d6fef08c71077e1f95ed10616 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/6] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 4e466541a5ccf22d6fef08c71077e1f95ed10616 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/7] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/77178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vgvassilev wrote:
Did you explicitly list ??3@YAXPEAX_K@Z as it was not part of that code?
https://github.com/llvm/llvm-project/pull/83774
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
https://github.com/sopyb updated https://github.com/llvm/llvm-project/pull/85572
>From 17d6ad65216237f9a325d9b608c1372cbbf83ff0 Mon Sep 17 00:00:00 2001
From: sopy
Date: Sun, 17 Mar 2024 17:30:27 +0200
Subject: [PATCH 1/3] [clang-tidy] add check to suggest replacement of nested
std::min or std:
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/77178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman approved this pull request.
LGTM! I'll fix up the nit and land on your behalf; thank you for the
improvement!
https://github.com/llvm/llvm-project/pull/77178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
@@ -164,6 +164,8 @@ Deprecated Compiler Flags
Modified Compiler Flags
---
+* ``-Wextra`` group flag now contains an additional flag i.e,
``-Wcast-function-type``.
AaronBallman wrote:
```suggestion
- Added ``-Wcast-function-type`` as a war
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/77178
>From d147292312ea05eb6b4a28940faffe54093c900e Mon Sep 17 00:00:00 2001
From: Abhin Parekadan Jose
Date: Sat, 6 Jan 2024 05:09:36 +0100
Subject: [PATCH 1/9] [clang] move -Wcast-function-type under -Wextra
-
Author: Abhin P Jose
Date: 2024-03-20T08:34:46-04:00
New Revision: 1de7e6c8cba27296f3fc16d107822ea0ee856759
URL:
https://github.com/llvm/llvm-project/commit/1de7e6c8cba27296f3fc16d107822ea0ee856759
DIFF:
https://github.com/llvm/llvm-project/commit/1de7e6c8cba27296f3fc16d107822ea0ee856759.diff
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/77178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sopyb wrote:
It should be ready for review now. Sorry for requesting while my code was
broken. I modified a line and committed it without checking if the code still
works.
So there aren't a bunch of "Apply Clang format fixes" I also squished those
into a single commit.
https://github.com/llv
AaronBallman wrote:
> Did you explicitly list ??3@YAXPEAX_K@Z as it was not part of that code?
It is part of that code:
https://github.com/llvm/llvm-project/pull/84769/files#diff-d7f5dca2bd540f1b18ba90a66497b6b12e40fd07058b70f0fdec638c8e97406eR35
https://github.com/llvm/llvm-project/pull/8377
dtcxzyw wrote:
> bin/opt: ../../llvm-opt-benchmark/bench/icu/original/servlkf.ll:776:98:
> error: expected ')' in constantexpr
store ptr getelementptr inbounds ({ [11 x ptr] }, ptr
@_ZTVN6icu_7516LocaleKeyFactoryE, i32 0, inrange i32 0, i32 2), ptr %this1,
align 8
@nikic Do we need an auto-
https://github.com/yronglin updated
https://github.com/llvm/llvm-project/pull/85263
>From fc8c1a24f09c8860269fbdcfb0b285ffd19f427c Mon Sep 17 00:00:00 2001
From: yronglin
Date: Fri, 15 Mar 2024 00:48:08 +0800
Subject: [PATCH 1/8] [libc++] Implement LWG3528 (`make_from_tuple` can perform
(the e
dtcxzyw wrote:
> This is a very niche feature, and I don't think trying to upgrade it is
> worthwhile.
It exists in many real-world applications. If you are not willing to implement
the upgrader, I will do this for the original IR files in my benchmark :)
https://github.com/llvm/llvm-project
nikic wrote:
@dtcxzyw Auto-upgrade is only for bitcode files, we usually do not upgrade IR
files. Can you regenerate the inputs with the new clang version?
https://github.com/llvm/llvm-project/pull/84341
___
cfe-commits mailing list
cfe-commits@lists.
ilya-biryukov wrote:
The change seems to be correct in the way code is written.
However, I wonder what's the connection between the crash and the function
being changed? Is there a way to fail gracefully if there are more mistakes in
this function for incorrect code (e.g. fail deduction instea
AaronBallman wrote:
> > Did you explicitly list ??3@YAXPEAX_K@Z as it was not part of that code?
>
> It is part of that code:
> https://github.com/llvm/llvm-project/pull/84769/files#diff-d7f5dca2bd540f1b18ba90a66497b6b12e40fd07058b70f0fdec638c8e97406eR35
@vgvassilev and I chatted off-list abou
@@ -8927,8 +8927,13 @@ void Sema::CheckVariableDeclarationType(VarDecl *NewVD) {
}
}
- if (T->isRVVSizelessBuiltinType())
-checkRVVTypeSupport(T, NewVD->getLocation(), cast(CurContext));
+ if (T->isRVVSizelessBuiltinType() && isa(CurContext)) {
+const FunctionD
@@ -8927,8 +8927,13 @@ void Sema::CheckVariableDeclarationType(VarDecl *NewVD) {
}
}
- if (T->isRVVSizelessBuiltinType())
-checkRVVTypeSupport(T, NewVD->getLocation(), cast(CurContext));
+ if (T->isRVVSizelessBuiltinType() && isa(CurContext)) {
+const FunctionD
https://github.com/AaronBallman approved this pull request.
I think the changes here make sense (keeping in mind what @efriedma-quic says
about long-term goals vs 18.x practicality). Eli, @serge-sans-paille, are you
okay with the changes as well? (Please don't land on my approval without
waiti
Author: Nikita Popov
Date: 2024-03-20T14:20:44+01:00
New Revision: 3eb806373e3164b242db65f8c900e4adb5a2eddf
URL:
https://github.com/llvm/llvm-project/commit/3eb806373e3164b242db65f8c900e4adb5a2eddf
DIFF:
https://github.com/llvm/llvm-project/commit/3eb806373e3164b242db65f8c900e4adb5a2eddf.diff
https://github.com/yronglin updated
https://github.com/llvm/llvm-project/pull/85263
>From fc8c1a24f09c8860269fbdcfb0b285ffd19f427c Mon Sep 17 00:00:00 2001
From: yronglin
Date: Fri, 15 Mar 2024 00:48:08 +0800
Subject: [PATCH 1/9] [libc++] Implement LWG3528 (`make_from_tuple` can perform
(the e
@@ -195,6 +195,34 @@ void test_noexcept() {
}
}
+namespace LWG3528 {
+template >
yronglin wrote:
done
https://github.com/llvm/llvm-project/pull/85263
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http
@@ -195,6 +195,34 @@ void test_noexcept() {
}
}
+namespace LWG3528 {
+template >
+struct can_make_from_tuple : std::false_type {};
+template
+struct can_make_from_tuple<
+_Tp,
+_Tuple,
+std::void_t(
+std::declval<_Tuple>(),
+std::declval<
+
@@ -195,6 +195,34 @@ void test_noexcept() {
}
}
+namespace LWG3528 {
+template >
+struct can_make_from_tuple : std::false_type {};
+template
+struct can_make_from_tuple<
+_Tp,
+_Tuple,
+std::void_t(
yronglin wrote:
done
https://github.com/ll
https://github.com/yronglin edited
https://github.com/llvm/llvm-project/pull/85263
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 313 matches
Mail list logo