https://github.com/cor3ntin approved this pull request.
Thanks for confirming.
Do you need me to merge that for you?
https://github.com/llvm/llvm-project/pull/74439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
cor3ntin wrote:
Can you provide a more complete description of your change, a better title?
Does this change needs tests? A release note?
Thanks
https://github.com/llvm/llvm-project/pull/77031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
koute wrote:
> As for your diffs, it seems that you only handle the
> `__riscv_save/restore_[2|1|0]`, which is incomplete. And the code is not
> different with non-rve cases?
Yes, I mostly copy-pasted the existing code and removed all of the code dealing
with registers not available on RV32E,
@@ -291,13 +307,63 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P)
{
return DirKind;
}
+bool ClauseHasRequiredParens(OpenACCClauseKind Kind) {
+ return Kind == OpenACCClauseKind::Default;
+}
+
+bool ParseOpenACCClauseParams(Parser &P, OpenACCClauseKind Kind) {
koute wrote:
> Can you fire a PR for these changes? I think we should support it in
> compiler-rt once we have merged this PR.
Once this PR is merged, sure, I can make a PR.
https://github.com/llvm/llvm-project/pull/76777
___
cfe-commits mailing list
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Qizhi Hu (jcsxky)
Changes
Parameter variable which is forwarded in lambda capture list or in body by
reference is reasonable and current version of this check produces false
positive on these cases. This patch try to fix the
[issue]
@@ -3347,10 +3348,37 @@ void MachineVerifier::verifyLiveRangeSegment(const
LiveRange &LR,
OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes);
}
+ bool IsEHa = MF->getMMI().getModule()->getModuleFlag("eh-asynch");
while (true) {
assert(LiveInts->isL
https://github.com/HaohaiWen edited
https://github.com/llvm/llvm-project/pull/76933
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Utkarsh Saxena
Date: 2024-01-05T10:07:04+01:00
New Revision: 190a75b5f12d3872a5a26d6079d62adae40f147d
URL:
https://github.com/llvm/llvm-project/commit/190a75b5f12d3872a5a26d6079d62adae40f147d
DIFF:
https://github.com/llvm/llvm-project/commit/190a75b5f12d3872a5a26d6079d62adae40f147d.diff
Author: Haojian Wu
Date: 2024-01-05T10:13:33+01:00
New Revision: 67963d384b23a2d46967b8f39ec2df3375731f4f
URL:
https://github.com/llvm/llvm-project/commit/67963d384b23a2d46967b8f39ec2df3375731f4f
DIFF:
https://github.com/llvm/llvm-project/commit/67963d384b23a2d46967b8f39ec2df3375731f4f.diff
LO
Yaraslaut wrote:
ping
https://github.com/llvm/llvm-project/pull/75545
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sam Tebbs
Date: 2024-01-05T09:55:50Z
New Revision: 0eefcaf96d2900a4f3009026a3673ed3b7793fcc
URL:
https://github.com/llvm/llvm-project/commit/0eefcaf96d2900a4f3009026a3673ed3b7793fcc
DIFF:
https://github.com/llvm/llvm-project/commit/0eefcaf96d2900a4f3009026a3673ed3b7793fcc.diff
LOG: [Cl
https://github.com/goussepi approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/75254
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Duo Wang
Date: 2024-01-05T09:59:26Z
New Revision: c458f928fad7bbcf08ab1da9949eb2969fc9f89c
URL:
https://github.com/llvm/llvm-project/commit/c458f928fad7bbcf08ab1da9949eb2969fc9f89c
DIFF:
https://github.com/llvm/llvm-project/commit/c458f928fad7bbcf08ab1da9949eb2969fc9f89c.diff
LOG: [NFC
https://github.com/goussepi closed
https://github.com/llvm/llvm-project/pull/75254
___
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: Congcong Cai (HerrCai0907)
Changes
Fixes: #77071
`SubstituteDeducedTypeTransform` will transform type and it will visit
uninstantiated `ExceptionSpecInfo`, which will cause odd behavior
---
Full diff: https://github.com/llvm/llvm-project/
https://github.com/Yunzezhu94 created
https://github.com/llvm/llvm-project/pull/77075
When using cmake with option -DDEFAULT_SYSROOT, a default sysroot path is
assigned.
However, some test cases use a relative path to indicate sysroot path, but the
path goes wrong with default sysroot path as
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-backend-risc-v
Author: None (Yunzezhu94)
Changes
When using cmake with option -DDEFAULT_SYSROOT, a default sysroot path is
assigned.
However, some test cases use a relative path to indicate sysroot path, but the
path goes wr
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Utkarsh Saxena (usx95)
Changes
### Problem
```cpp
co_task coro() {
int a = 1;
auto lamb = [a]() -> co_task {
co_return a; // 'a' in the lambda object dies after the iniital_suspend
in the lambda coroutine.
}(
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Michael Buch (Michael137)
Changes
Prior to `e9536698720ec524cc8b72599363622bc1a31558`
(https://reviews.llvm.org/D154764) we only re-ordered the fields of
`RecordDecl`s. The change refactored this logic to make sure `FieldDecl`s are
impor
Author: Mariya Podchishchaeva
Date: 2024-01-05T13:14:51+01:00
New Revision: 20a05677f9394d4bc9467fe7bc93a4ebd3aeda61
URL:
https://github.com/llvm/llvm-project/commit/20a05677f9394d4bc9467fe7bc93a4ebd3aeda61
DIFF:
https://github.com/llvm/llvm-project/commit/20a05677f9394d4bc9467fe7bc93a4ebd3aeda
hebosho911 wrote:
[](url)
https://github.com/llvm/llvm-project/pull/73133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Younan Zhang
Date: 2024-01-05T20:36:41+08:00
New Revision: 3eeed79946124a8f67a89bb950a1e510369dcdf9
URL:
https://github.com/llvm/llvm-project/commit/3eeed79946124a8f67a89bb950a1e510369dcdf9
DIFF:
https://github.com/llvm/llvm-project/commit/3eeed79946124a8f67a89bb950a1e510369dcdf9.diff
https://github.com/HaohaiWen updated
https://github.com/llvm/llvm-project/pull/76278
>From 87f3d68e82dcc752aa727f62b8b1b56b1257b343 Mon Sep 17 00:00:00 2001
From: Haohai Wen
Date: Sat, 23 Dec 2023 13:16:02 +0800
Subject: [PATCH 1/4] [CostModel][X86] Track fpext conversion for 16 elements
---
https://github.com/HaohaiWen edited
https://github.com/llvm/llvm-project/pull/76278
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Qizhi Hu
Date: 2024-01-05T20:53:04+08:00
New Revision: 86127305d4602801ba7ffdc74377ed67b18819ac
URL:
https://github.com/llvm/llvm-project/commit/86127305d4602801ba7ffdc74377ed67b18819ac
DIFF:
https://github.com/llvm/llvm-project/commit/86127305d4602801ba7ffdc74377ed67b18819ac.diff
LOG:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Amirreza Ashouri (AMP999)
Changes
Consistent with `__is_trivially_copyable(volatile int) == true` and
`__is_trivially_relocatable(volatile Trivial) == true`,
`__is_trivially_relocatable(volatile int)` should also be `true`.
Fixes https:/
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/76680
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin commented:
Looking good beside a small nitpick
https://github.com/llvm/llvm-project/pull/76680
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2604,19 +2604,22 @@ bool QualType::isTrivialType(const ASTContext &Context)
const {
return false;
}
-bool QualType::isTriviallyCopyableType(const ASTContext &Context) const {
- if ((*this)->isArrayType())
-return Context.getBaseElementType(*this).isTriviallyCopyabl
@@ -2651,6 +2651,8 @@ bool QualType::isTriviallyRelocatableType(const
ASTContext &Context) const {
return false;
} else if (!BaseElementType->isObjectType()) {
return false;
+ } else if (BaseElementType.isTriviallyCopyableType(Context)) {
+return true;
-
Author: Phoebe Wang
Date: 2024-01-05T21:53:47+08:00
New Revision: f07aba4bc1fbd8301b09e2114ebc4149d2439cac
URL:
https://github.com/llvm/llvm-project/commit/f07aba4bc1fbd8301b09e2114ebc4149d2439cac
DIFF:
https://github.com/llvm/llvm-project/commit/f07aba4bc1fbd8301b09e2114ebc4149d2439cac.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Kerry McLaughlin (kmclaughlin-arm)
Changes
PSEL intrinsics which return a predicate-as-counter are available
in SVE2p1 & SME2.
---
Full diff: https://github.com/llvm/llvm-project/pull/77097.diff
3 Files Affected:
- (modified) cl
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045
>From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Fri, 5 Jan 2024 01:23:16 -0300
Subject: [PATCH 1/2] [clang-format] Fix crash involving array designators and
dangling comma
@@ -291,13 +307,63 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P)
{
return DirKind;
}
+bool ClauseHasRequiredParens(OpenACCClauseKind Kind) {
+ return Kind == OpenACCClauseKind::Default;
+}
+
+bool ParseOpenACCClauseParams(Parser &P, OpenACCClauseKind Kind) {
@@ -6,20 +6,20 @@ struct A {
};
static_assert(A{1, 2, 3, 4, 5} == A{1, 2, 3, 4, 5});
-static_assert(A{1, 2, 3, 4, 5} == A{0, 2, 3, 4, 5}); // expected-error
{{failed}}
-static_assert(A{1, 2, 3, 4, 5} == A{1, 0, 3, 4, 5}); // expected-error
{{failed}}
-static_assert(A{1, 2, 3
@@ -291,13 +307,63 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P)
{
return DirKind;
}
+bool ClauseHasRequiredParens(OpenACCClauseKind Kind) {
+ return Kind == OpenACCClauseKind::Default;
+}
+
+bool ParseOpenACCClauseParams(Parser &P, OpenACCClauseKind Kind) {
Author: erichkeane
Date: 2024-01-05T06:49:32-08:00
New Revision: 0f8adc8d30d2cd4a9fcf8455b64a1d66fa971339
URL:
https://github.com/llvm/llvm-project/commit/0f8adc8d30d2cd4a9fcf8455b64a1d66fa971339
DIFF:
https://github.com/llvm/llvm-project/commit/0f8adc8d30d2cd4a9fcf8455b64a1d66fa971339.diff
LO
@@ -53,18 +53,76 @@ AST_MATCHER(ParmVarDecl, isTemplateTypeParameter) {
FuncTemplate->getTemplateParameters()->getDepth();
}
+AST_MATCHER_P(NamedDecl, hasSameNameAsBoundNode, std::string, BindingID) {
+ const auto &Name = Node.getNameAsString();
+
+ return Builder->
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Clement Courbet (legrosbuffle)
Changes
Right now we are not triggering on:
```
for (auto [x, y] : container) {
// const-only access
}
```
---
Full diff: https://github.com/llvm/llvm-project/pull/77105.diff
5 Files Affected:
- (m
XDeme wrote:
While I was trying to find a minimal reproducer to the bug, I accidentally
found that this patch fix another crash, and doesn't fix the linked issue.
What should be done here?
https://github.com/llvm/llvm-project/pull/77045
___
cfe-commi
Author: Joel E. Denny
Date: 2024-01-05T10:22:10-05:00
New Revision: 922b7b8bf465ddc292fa91bd6a860510a1eea6e2
URL:
https://github.com/llvm/llvm-project/commit/922b7b8bf465ddc292fa91bd6a860510a1eea6e2
DIFF:
https://github.com/llvm/llvm-project/commit/922b7b8bf465ddc292fa91bd6a860510a1eea6e2.diff
Author: Congcong Cai
Date: 2024-01-05T23:37:58+08:00
New Revision: de5039545ee4e9f5aa7023632d5c4baa5e782e51
URL:
https://github.com/llvm/llvm-project/commit/de5039545ee4e9f5aa7023632d5c4baa5e782e51
DIFF:
https://github.com/llvm/llvm-project/commit/de5039545ee4e9f5aa7023632d5c4baa5e782e51.diff
cor3ntin wrote:
Thanks.
Can you also add a release note mentioning the issue is fixed? Thanks
(clang/docs/ReleaseNotes.rst)
https://github.com/llvm/llvm-project/pull/76680
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
@@ -176,6 +192,26 @@ bool isOpenACCDirectiveKind(OpenACCDirectiveKind Kind,
Token Tok) {
llvm_unreachable("Unknown 'Kind' Passed");
}
+/// Used for cases where we expect an identifier-like token, but don't want to
+/// give awkward error messages in cases where it is accide
https://github.com/cor3ntin approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/77002
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
In bug fixes is fine, thanks!
https://github.com/llvm/llvm-project/pull/76680
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
We probably need a release note for that, don't we?
LGTM otherwise
https://github.com/llvm/llvm-project/pull/77092
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
@llvm/pr-subscribers-clang
Author: Nikita Popov (nikic)
Changes
Set the writable and dead_on_unwind attributes for sret arguments. These
indicate that the argument points to writable memory (and it's legal to
introduce spurious writes to it
srcarroll wrote:
> It would be easy enough for me to change what I have to only do expand and
> only match fail on completely impossible (with `expand_shape`) cases.
After thinking about it more, if I'm not mistaken, the current implementation
already covers all possible cases with `expand_sha
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/74852
>From f281d34a51f662c934f158e4770774b0dc3588a2 Mon Sep 17 00:00:00 2001
From: Seth Pellegrino
Date: Thu, 7 Dec 2023 08:45:51 -0800
Subject: [PATCH 1/2] [Clang][Sema] Print more static_assert exprs
This change intro
@@ -6,20 +6,20 @@ struct A {
};
static_assert(A{1, 2, 3, 4, 5} == A{1, 2, 3, 4, 5});
-static_assert(A{1, 2, 3, 4, 5} == A{0, 2, 3, 4, 5}); // expected-error
{{failed}}
-static_assert(A{1, 2, 3, 4, 5} == A{1, 0, 3, 4, 5}); // expected-error
{{failed}}
-static_assert(A{1, 2, 3
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/74852
>From f281d34a51f662c934f158e4770774b0dc3588a2 Mon Sep 17 00:00:00 2001
From: Seth Pellegrino
Date: Thu, 7 Dec 2023 08:45:51 -0800
Subject: [PATCH 1/3] [Clang][Sema] Print more static_assert exprs
This change intro
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 9803de0e8e3abbbc94a4265d5847db435897a384
e49a2dd0ef817eed3b6246a553efd7423b861130 --
@@ -0,0 +1,117 @@
+// RUN: %clang_cc1 -std=c++2a -verify %s
+
+struct A {
+ int a, b[3], c;
+ bool operator==(const A&) const = default;
+};
+
+constexpr auto a0 = A{0, 0, 3, 4, 5};
+
+// expected-note@+1 {{evaluates to '{0, {0, 3, 4}, 5} == {1, {2, 3, 4}, 5}'}}
+static_assert(a
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Juergen Ributzka (ributzka)
Changes
- [clang][modules] Remove no longer needed autolink test for TBD files.
- [clang][modules] Remove `_Private` suffix from framework auto-link hints.
---
Full diff: https://github.com/llvm/llvm-pr
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Juergen Ributzka (ributzka)
Changes
- [clang][modules] Remove no longer needed autolink test for TBD files.
- [clang][modules] Remove `_Private` suffix from framework auto-link hints.
---
Full diff: https://github.com/llvm/llvm-project/pu
Author: Erich Keane
Date: 2024-01-05T09:43:39-08:00
New Revision: 0e8b09c43d9f9e68c95fa1e6f6fb5c8307f3927d
URL:
https://github.com/llvm/llvm-project/commit/0e8b09c43d9f9e68c95fa1e6f6fb5c8307f3927d
DIFF:
https://github.com/llvm/llvm-project/commit/0e8b09c43d9f9e68c95fa1e6f6fb5c8307f3927d.diff
L
https://github.com/ZijunZhaoCCK updated
https://github.com/llvm/llvm-project/pull/75373
>From 74f256d8a77ee2ba8e0d5bbb6519aa2729cf94d5 Mon Sep 17 00:00:00 2001
From: zijunzhao
Date: Wed, 13 Dec 2023 20:07:45 +
Subject: [PATCH 01/13] Make clang report garbage target versions.
Clang always s
https://github.com/jathu updated https://github.com/llvm/llvm-project/pull/67626
>From 20d9ca99fbf11868a5816df217b2aad09e079fb6 Mon Sep 17 00:00:00 2001
From: jathu
Date: Wed, 27 Sep 2023 18:01:19 -0700
Subject: [PATCH] [clang-tidy][bazel] Include builtin headers with clang-tidy
---
.../clang-
srcarroll wrote:
After a very illuminating discussion offline with @chelini, I think we answered
some of my questions. So I will relay here
> * Should the verifier allow such an example? In other words, should users be
> required to use static tile sizes in the cases where their static value
Author: Mark de Wever
Date: 2024-01-05T19:43:10+01:00
New Revision: 02a33b72fd21cdbf476d6bda72faa462e073e510
URL:
https://github.com/llvm/llvm-project/commit/02a33b72fd21cdbf476d6bda72faa462e073e510
DIFF:
https://github.com/llvm/llvm-project/commit/02a33b72fd21cdbf476d6bda72faa462e073e510.diff
llvmbot wrote:
@llvm/pr-subscribers-mlir-execution-engine
Author: Yinying Li (yinying-lisa-li)
Changes
Shuffle can generate an array of unique and random numbers from 0 to size-1. It
can be used to generate tensors with specified sparsity level.
---
Full diff: https://github.com/llvm/llv
llvmbot wrote:
@llvm/pr-subscribers-mlir-sparse
Author: Yinying Li (yinying-lisa-li)
Changes
Shuffle can generate an array of unique and random numbers from 0 to size-1. It
can be used to generate tensors with specified sparsity level.
---
Full diff: https://github.com/llvm/llvm-project/
llvmbot wrote:
@llvm/pr-subscribers-mlir
Author: Yinying Li (yinying-lisa-li)
Changes
Shuffle can generate an array of unique and random numbers from 0 to size-1. It
can be used to generate tensors with specified sparsity level.
---
Full diff: https://github.com/llvm/llvm-project/pull/77
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045
>From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001
From: XDeme
Date: Fri, 5 Jan 2024 01:23:16 -0300
Subject: [PATCH 1/3] [clang-format] Fix crash involving array designators and
dangling comma
XDeme wrote:
I think with this the issue might be solved.
https://github.com/llvm/llvm-project/pull/77045
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shamithoke updated
https://github.com/llvm/llvm-project/pull/77107
>From a0ccb2cbe3882a6ea8bb020dd54460f57dd84a90 Mon Sep 17 00:00:00 2001
From: shami
Date: Thu, 28 Dec 2023 21:29:36 +0530
Subject: [PATCH] LLVM_FAULTMAPS section can be put after the DWARF section.
---
llvm/
https://github.com/shamithoke updated
https://github.com/llvm/llvm-project/pull/77106
>From e939dbedfa4cd875858825e890310d2581bfa525 Mon Sep 17 00:00:00 2001
From: shami
Date: Thu, 28 Dec 2023 21:19:36 +0530
Subject: [PATCH 1/2] Add STACK_SIZES section for MachOS.
---
llvm/lib/MC/MCObjectFile
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Jonathon Penix (jonathonpenix)
Changes
When -nostdinc and -nostdinc++ are both specified and the Baremetal toolchain
is used, an unused command line argument warning for -nostdinc++ is produced.
This doesn't seem particularly meani
https://github.com/InfiniteVerma created
https://github.com/llvm/llvm-project/pull/77131
Fixes #69200
Issue: Calling function on a nullptr.
>From 86a898c55eb304705b7bd0e224b746c7a9284ed0 Mon Sep 17 00:00:00 2001
From: InfiniteVerma
Date: Sat, 6 Jan 2024 00:42:34 +0530
Subject: [PATCH] [Clang
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be
notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it i
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (InfiniteVerma)
Changes
Fixes #69200
Issue: Calling function on a nullptr.
---
Full diff: https://github.com/llvm/llvm-project/pull/77131.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaOpenMP.cpp (+4)
``diff
di
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 0e8b09c43d9f9e68c95fa1e6f6fb5c8307f3927d
86a898c55eb304705b7bd0e224b746c7a9284ed0 --
https://github.com/InfiniteVerma updated
https://github.com/llvm/llvm-project/pull/77131
>From bad1fda58f73e5502df1a1c1ed781c96d86a8ead Mon Sep 17 00:00:00 2001
From: InfiniteVerma
Date: Sat, 6 Jan 2024 00:42:34 +0530
Subject: [PATCH] [Clang] Add a NULL check
Fixes #69200
---
clang/lib/Sema/S
InfiniteVerma wrote:
Should we add the c snippet in issue description as a test case?
https://github.com/llvm/llvm-project/issues/69200#issue-1945228087
https://github.com/llvm/llvm-project/pull/77131
___
cfe-commits mailing list
cfe-commits@lists.llv
@@ -0,0 +1,49 @@
+//===--===//
+// 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: Apache-2
@@ -265,6 +269,61 @@ bool AIXTargetCodeGenInfo::initDwarfEHRegSizeTable(
return PPC_initDwarfEHRegSizeTable(CGF, Address, Is64Bit, /*IsAIX*/ true);
}
+void AIXTargetCodeGenInfo::setTargetAttributes(
+const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const
@@ -265,6 +269,61 @@ bool AIXTargetCodeGenInfo::initDwarfEHRegSizeTable(
return PPC_initDwarfEHRegSizeTable(CGF, Address, Is64Bit, /*IsAIX*/ true);
}
+void AIXTargetCodeGenInfo::setTargetAttributes(
+const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const
@@ -0,0 +1,69 @@
+// REQUIRES: powerpc-registered-target
diggerlin wrote:
do we need the // REQUIRES: powerpc-registered-target since it cross compile?
https://github.com/llvm/llvm-project/pull/67999
___
cfe-commits m
@@ -429,13 +429,101 @@ void AIX::AddCXXStdlibLibArgs(const llvm::opt::ArgList
&Args,
llvm_unreachable("Unexpected C++ library type; only libc++ is supported.");
}
+// This function processes all the mtocdata options to build the final
+// simplified toc data options to pass
https://github.com/agozillon created
https://github.com/llvm/llvm-project/pull/77135
This patch seeks to add the -gpulibc and -nogpulibc for Flang, which allows the
linking of the GPU libc library, this allows the use of memcpy and other useful
library functions for GPU.
In particular, this a
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (agozillon)
Changes
This patch seeks to add the -gpulibc and -nogpulibc for Flang, which allows the
linking of the GPU libc library, this allows the use of memcpy and other useful
library functions for GPU.
In particular, this allow
Author: Joseph Huber
Date: 2024-01-05T14:29:34-06:00
New Revision: 5121e2cffd23751360e71a8ac69b7462dae23aa8
URL:
https://github.com/llvm/llvm-project/commit/5121e2cffd23751360e71a8ac69b7462dae23aa8
DIFF:
https://github.com/llvm/llvm-project/commit/5121e2cffd23751360e71a8ac69b7462dae23aa8.diff
agozillon wrote:
I am gonna sign off for the weekend as it's quite late here, so I'll reply in a
little more detail on Monday and update the PR further. but I'd be happy to add
a further flang test, although not too sure what it'd be, so suggestions are
welcome.
I tested this with an out of t
Author: Jordan R AW
Date: 2024-01-05T12:56:02-08:00
New Revision: fc1c478709e380164733560e4a2c8f9e8d5e2c1c
URL:
https://github.com/llvm/llvm-project/commit/fc1c478709e380164733560e4a2c8f9e8d5e2c1c
DIFF:
https://github.com/llvm/llvm-project/commit/fc1c478709e380164733560e4a2c8f9e8d5e2c1c.diff
L
https://github.com/cor3ntin approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/77092
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jan Svoboda
Date: 2024-01-05T22:41:51+01:00
New Revision: 853b13342a131e06d61293ec6e840642054c6c85
URL:
https://github.com/llvm/llvm-project/commit/853b13342a131e06d61293ec6e840642054c6c85
DIFF:
https://github.com/llvm/llvm-project/commit/853b13342a131e06d61293ec6e840642054c6c85.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Svoboda (jansvoboda11)
Changes
When CMake on Windows is told to generate the build into a directory whose real
path has a different drive letter (e.g. due to a symlink), the
"clang/test/Lexer/case-insensitive-include-absolute.c" test
https://github.com/pizzud updated
https://github.com/llvm/llvm-project/pull/67467
>From 6d5d35e1273f595e8a0382053d5183cbce7a9d8a Mon Sep 17 00:00:00 2001
From: David Pizzuto
Date: Tue, 26 Sep 2023 10:45:42 -0700
Subject: [PATCH 1/6] [clang-tidy] Add bugprone-move-shared-pointer-contents
check.
https://github.com/pizzud updated
https://github.com/llvm/llvm-project/pull/67467
>From 6d5d35e1273f595e8a0382053d5183cbce7a9d8a Mon Sep 17 00:00:00 2001
From: David Pizzuto
Date: Tue, 26 Sep 2023 10:45:42 -0700
Subject: [PATCH 1/6] [clang-tidy] Add bugprone-move-shared-pointer-contents
check.
@@ -0,0 +1,157 @@
+//===--- MoveSharedPointerContentsCheck.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
Author: Jonathon Penix
Date: 2024-01-05T13:55:50-08:00
New Revision: f1d75d08adb9841dd9cebad63b76d4823ec2bdac
URL:
https://github.com/llvm/llvm-project/commit/f1d75d08adb9841dd9cebad63b76d4823ec2bdac
DIFF:
https://github.com/llvm/llvm-project/commit/f1d75d08adb9841dd9cebad63b76d4823ec2bdac.diff
pizzud wrote:
Not sure how to squash properly; I tried rebasing but all the commits on the
main branch snuck in to the history and I'm quite new to git. If it would be
preferred I can store this off as a patch and open up a new PR. Sorry for all
the hassle with the merges!
https://github.com/
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-llvm-support
Author: cor3ntin (cor3ntin)
Changes
This update all of our Unicode tables to Unicode 15.1. This is a minor version
so only a relatively small numbers of characters are added, mainly ideographs
https://www.unicode
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 f22dc88759a53d4224c17d3833a359ef5674b4ea
83314b0226f0585c3f689c8fdf556e45dbec207c --
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
@llvm/pr-subscribers-clang
Author: Ziqing Luo (ziqingluo-90)
Changes
The PR contains two commits:
1. adding a new waring under a sub-group of `-Wunsafe-buffer-usage`
2. teach the analyzer to be quiet on some benign cases
---
Patch is 22.
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 d7b4debf98fd740f821bda717de7b807e26ae95a
54d75df6c413a5b273a059426b00def7437ab525 --
zeroomega wrote:
Hi, this change breaks libcxx test on Windows due to unable to find "unistd.h"
file (which doesn't exist on msvc based environment).
Failed test message and failed commandline:
```
Failed Tests (8):
llvm-libc++-static-clangcl.cfg.in ::
std/input.output
EugeneZelenko wrote:
You need to do interactive rebase:
```
git fetch --prune # get latest main and remove local copies deleted branch
git rebase origin/main # rebase from main
git rebase -i origin/main # interactive rebase, just use fixup command
git rebase --force origin # push updated branc
4901 - 5000 of 429461 matches
Mail list logo