llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Don't insert a space between a type declaration r_paren and &/&&.
Fixes #124073.
---
Full diff: https://github.com/llvm/llvm-project/pull/124085.diff
2 Files Affected:
- (modified) clang/lib/Format/Toke
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/124085
Don't insert a space between a type declaration r_paren and &/&&.
Fixes #124073.
>From 4a6d68388874e9b59936870b5c2c7d680a6bddc2 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Wed, 22 Jan 2025 23:38:47 -0800
Subj
Author: AdityaK
Date: 2025-01-22T23:29:35-08:00
New Revision: 2b67eceeef6e04ae5a4093bec9a0f0b048c70958
URL:
https://github.com/llvm/llvm-project/commit/2b67eceeef6e04ae5a4093bec9a0f0b048c70958
DIFF:
https://github.com/llvm/llvm-project/commit/2b67eceeef6e04ae5a4093bec9a0f0b048c70958.diff
LOG:
https://github.com/hiraditya closed
https://github.com/llvm/llvm-project/pull/124021
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: AdityaK
Date: 2025-01-22T23:30:04-08:00
New Revision: 2a51a0d39a659fe57b6d1d768bf08d378c5e
URL:
https://github.com/llvm/llvm-project/commit/2a51a0d39a659fe57b6d1d768bf08d378c5e
DIFF:
https://github.com/llvm/llvm-project/commit/2a51a0d39a659fe57b6d1d768bf08d378c5e.diff
LOG:
https://github.com/hiraditya closed
https://github.com/llvm/llvm-project/pull/123952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay updated
https://github.com/llvm/llvm-project/pull/124081
>From a38b6aecebba895f11c967cc83f9e98bda359ffe Mon Sep 17 00:00:00 2001
From: Fangrui Song
Date: Wed, 22 Jan 2025 23:03:41 -0800
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UT
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/124081
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chandlerc wrote:
> > I also so comments on the python script, but as I mentioned there, the
> > script is not code I'm suggesting to check in or maintain, merely
> > documenting for completeness. It was never written to be remotely readable
> > or clean, just to produce a verifiably equivalent
https://github.com/chandlerc closed
https://github.com/llvm/llvm-project/pull/123308
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Chandler Carruth
Date: 2025-01-22T23:19:47-08:00
New Revision: cd5694ecea2da1990365f46f9737be1b29d94f0c
URL:
https://github.com/llvm/llvm-project/commit/cd5694ecea2da1990365f46f9737be1b29d94f0c
DIFF:
https://github.com/llvm/llvm-project/commit/cd5694ecea2da1990365f46f9737be1b29d94f0c.di
chandlerc wrote:
Ping -- a week now with no review.
https://github.com/llvm/llvm-project/pull/122873
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shafik commented:
I see a lot of diagnostics were updated to `DefaultError` but I don't see
matching tests that demonstrate the now error. We should be testing each
diagnostic.
https://github.com/llvm/llvm-project/pull/123470
___
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: Fangrui Song (MaskRay)
Changes
-fno-plt is an ELF specific option that GCC doesn't bother to give a
diagnostic on Windows. This option is somewhat popular and we've been
ignoring it for unsupported targets
https://github.com/MaskRay created
https://github.com/llvm/llvm-project/pull/124081
-fno-plt is an ELF specific option that GCC doesn't bother to give a
diagnostic on Windows. This option is somewhat popular and we've been
ignoring it for unsupported targets for a while (x86 support for a
while,
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/111465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nathan Ridge
Date: 2025-01-23T01:43:44-05:00
New Revision: ba174855203403f6c3e2a46bdd79dbb3e27ac6a4
URL:
https://github.com/llvm/llvm-project/commit/ba174855203403f6c3e2a46bdd79dbb3e27ac6a4
DIFF:
https://github.com/llvm/llvm-project/commit/ba174855203403f6c3e2a46bdd79dbb3e27ac6a4.diff
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/123818
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shafik commented:
when the discussion is eventually resolved please add a more detailed summary
explaining how the fix is implemented and why.
These go in the git log and it is important for relevant details to show up
there w/o the need for git show etc
https://github.com/
@@ -13464,6 +13464,14 @@ Decl *Sema::ActOnAliasDeclaration(Scope *S,
AccessSpecifier AS,
}
TemplateParameterList *TemplateParams = TemplateParamLists[0];
+// Check shadowing of a template parameter name
+for (NamedDecl *TP : TemplateParams->asArray()) {
+
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nathan Ridge (HighCommander4)
Changes
Fixes https://github.com/llvm/llvm-project/issues/124079
---
Full diff: https://github.com/llvm/llvm-project/pull/124080.diff
1 Files Affected:
- (modified) clang/test/lit.cfg.py (+1)
``d
https://github.com/HighCommander4 created
https://github.com/llvm/llvm-project/pull/124080
Fixes https://github.com/llvm/llvm-project/issues/124079
>From dbdb0ed35cc33f7e4d6076812faaeef9437ddcc6 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Thu, 23 Jan 2025 01:34:14 -0500
Subject: [PATCH]
https://github.com/shafik requested changes to this pull request.
Please add a more detailed summary to this PR. I have asked this on several PRs
and I believe the confusion reflected in the comments is very much attributed
to not explaining why you believe your fix works. It may be incorrect b
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
Litera
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Kazu Hirata (kazutakahirata)
Changes
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/124076
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
Literal migration
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
Litera
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/124074
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
Literal migration
HighCommander4 wrote:
Thanks for the reviews!
> Do we need a release note in llvm-project/clang/docs/ReleaseNotes.rst? This
> is an improvement on clang's code completion infra, but maybe it is not
> noticeable to compiler users.
I added a generic note about using `HeuristicResolver` to impro
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/123818
>From 1b909be45a871d4942869ca93dfedac406fb72f1 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Tue, 21 Jan 2025 15:56:27 -0500
Subject: [PATCH] [clang][CodeComplete] Use HeuristicResolver to resolve
De
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/123818
>From 25fdf43fb182212e859aba806ab32cc25ec466af Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Thu, 26 Dec 2024 20:59:06 -0500
Subject: [PATCH 1/3] [clang][CodeComplete] Use HeuristicResolver to resolve
carlocab wrote:
LLVM 20 is branching soon -- would be good to try to get this in before then.
https://github.com/llvm/llvm-project/pull/111397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
https://github.com/ArtSin updated
https://github.com/llvm/llvm-project/pull/123963
>From e7f3e39cbb912b45fad7ef243af7872332ba0c9d Mon Sep 17 00:00:00 2001
From: Artem Sinkevich
Date: Wed, 22 Jan 2025 20:20:56 +0400
Subject: [PATCH] [profile] Add `%b` `LLVM_PROFILE_FILE` option for binary ID
Ad
@@ -830,6 +830,16 @@ bool OverlayCDB::setCompileCommand(PathRef File,
return true;
}
+std::unique_ptr
+OverlayCDB::getProjectModules(PathRef File) const {
+ auto MDB = DelegatingCDB::getProjectModules(File);
+ MDB->setCommandMangler([&Mangler = Mangler](tooling::CompileCom
@@ -1155,7 +1156,7 @@ namespace {
if (CTSD->isInStdNamespace() && ClassII &&
ClassII->isStr("allocator") && TAL.size() >= 1 &&
TAL[0].getKind() == TemplateArgument::Type)
- return {Call->Index, TAL[0].getAsType()};
+ return {Cal
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-dylib`
running on `linaro-flang-aarch64-dylib` while building `clang` at step 5
"build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/50/builds/9260
Here is the relevant
https://github.com/shafik edited
https://github.com/llvm/llvm-project/pull/123744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1155,7 +1156,7 @@ namespace {
if (CTSD->isInStdNamespace() && ClassII &&
ClassII->isStr("allocator") && TAL.size() >= 1 &&
TAL[0].getKind() == TemplateArgument::Type)
- return {Call->Index, TAL[0].getAsType()};
+ return {Cal
https://github.com/shafik commented:
Thanks, this would be an improvement but I have one concern with this change.
https://github.com/llvm/llvm-project/pull/123744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
redcode wrote:
@jrtc27 has explained to me that the `{{$}}` expressions in `init-v7k-compat.c`
are not due to a bug, so I have updated that file as well.
https://github.com/llvm/llvm-project/pull/123514
___
cfe-commits mailing list
cfe-commits@lists.l
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/124034
>From cd4ff6baa7b70fa32483bb31253b312a983c468e Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 22 Jan 2025 16:16:59 -0800
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?
https://github.com/svs-quic closed
https://github.com/llvm/llvm-project/pull/123881
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: quic_hchandel
Date: 2025-01-23T10:14:25+05:30
New Revision: 163935a48df69bde944fae2b4581541dab30c730
URL:
https://github.com/llvm/llvm-project/commit/163935a48df69bde944fae2b4581541dab30c730
DIFF:
https://github.com/llvm/llvm-project/commit/163935a48df69bde944fae2b4581541dab30c730.diff
Author: Weining Lu
Date: 2025-01-23T12:38:04+08:00
New Revision: 3c7a878d919c6483c9e78a3ed4578d4ee2f54408
URL:
https://github.com/llvm/llvm-project/commit/3c7a878d919c6483c9e78a3ed4578d4ee2f54408
DIFF:
https://github.com/llvm/llvm-project/commit/3c7a878d919c6483c9e78a3ed4578d4ee2f54408.diff
LO
brad0 wrote:
The next release is a few days away from branching. Is this ready or does this
still need more work?
https://github.com/llvm/llvm-project/pull/120149
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
https://github.com/shafik edited
https://github.com/llvm/llvm-project/pull/123875
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8147,6 +8149,26 @@ TEST_P(ImportFunctions, CTADWithLocalTypedef) {
ASSERT_TRUE(ToD);
}
+TEST_P(ImportFunctions, CTADAliasTemplate) {
+ Decl *TU = getTuDecl(
+ R"(
+ template struct A {
+A(T);
+ };
+ template
+ using B = A;
+ B b{(i
@@ -2290,18 +2290,21 @@ CXXDeductionGuideDecl *CXXDeductionGuideDecl::Create(
ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
ExplicitSpecifier ES, const DeclarationNameInfo &NameInfo, QualType T,
TypeSourceInfo *TInfo, SourceLocation EndLocation, CXXConstr
https://github.com/shafik commented:
I know you have approvals but you should expand the tests first.
https://github.com/llvm/llvm-project/pull/123875
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/Sirraide closed
https://github.com/llvm/llvm-project/pull/97930
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: MagentaTreehouse
Date: 2025-01-23T05:27:59+01:00
New Revision: 0bcf34e422683b900ed504c5e4605038b257f1ee
URL:
https://github.com/llvm/llvm-project/commit/0bcf34e422683b900ed504c5e4605038b257f1ee
DIFF:
https://github.com/llvm/llvm-project/commit/0bcf34e422683b900ed504c5e4605038b257f1ee.di
MaskRay wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/124003
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: tangaac
Date: 2025-01-23T12:11:07+08:00
New Revision: 19834b4623fd1e7ae5185ed76031b407c3fa7a47
URL:
https://github.com/llvm/llvm-project/commit/19834b4623fd1e7ae5185ed76031b407c3fa7a47
DIFF:
https://github.com/llvm/llvm-project/commit/19834b4623fd1e7ae5185ed76031b407c3fa7a47.diff
LOG:
https://github.com/SixWeining closed
https://github.com/llvm/llvm-project/pull/116771
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SixWeining approved this pull request.
https://github.com/llvm/llvm-project/pull/116771
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5385,120 +5385,120 @@ let Features = "avx10.2-256", Attributes = [NoThrow,
Const, RequiredVectorWidth<
}
let Features = "avx10.2-512", Attributes = [NoThrow, Const,
RequiredVectorWidth<512>] in {
- def vcmppbf16512_mask : X86Builtin<"unsigned int(_Vector<32, __bf16>,
_
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang,llvm` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/12235
Here is
https://github.com/tangaac updated
https://github.com/llvm/llvm-project/pull/116771
>From ad154c5eb1d382b5b15f48005df039b94d4500b1 Mon Sep 17 00:00:00 2001
From: tangaac
Date: Tue, 19 Nov 2024 17:43:31 +0800
Subject: [PATCH 1/7] [LoongArch] Support sc.q instruction for 128bit cmpxchg
operation
@@ -2135,12 +2135,12 @@ const StringMap sys::getHostCPUFeatures() {
Features["div32"] = cpucfg2 & (1U << 26); // CPUCFG.2.DIV32
Features["lam-bh"] = cpucfg2 & (1U << 27); // CPUCFG.2.LAM_BH
Features["lamcas"] = cpucfg2 & (1U << 28); // CPUCFG.2.LAMCAS
+ Features["scq
@@ -5385,120 +5385,120 @@ let Features = "avx10.2-256", Attributes = [NoThrow,
Const, RequiredVectorWidth<
}
let Features = "avx10.2-512", Attributes = [NoThrow, Const,
RequiredVectorWidth<512>] in {
- def vcmppbf16512_mask : X86Builtin<"unsigned int(_Vector<32, __bf16>,
_
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/43
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Younan Zhang
Date: 2025-01-23T10:53:00+08:00
New Revision: b46fcb9fa32f24660b1b8858d5c4cbdb76ef9d8b
URL:
https://github.com/llvm/llvm-project/commit/b46fcb9fa32f24660b1b8858d5c4cbdb76ef9d8b
DIFF:
https://github.com/llvm/llvm-project/commit/b46fcb9fa32f24660b1b8858d5c4cbdb76ef9d8b.diff
https://github.com/heiher approved this pull request.
LGTM. Thanks.
https://github.com/llvm/llvm-project/pull/116771
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -253,12 +257,229 @@ static void validatePackoffset(Sema &S, HLSLBufferDecl
*BufDecl) {
}
}
+// Returns true if the array has a zero size = if any of the dimensions is 0
+static bool isZeroSizedArray(const ConstantArrayType *CAT) {
+ while (CAT && !CAT->isZeroSize())
+
https://github.com/ChuanqiXu9 approved this pull request.
CC @Bigcheese
But I think the patch itself is good to go. Let's avoid breaking the CI.
https://github.com/llvm/llvm-project/pull/123959
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/123931
>From d83d7bd83cd6bd635420ec4e824afa299f20c154 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Wed, 22 Jan 2025 11:41:55 +0800
Subject: [PATCH] [C++20] [Modules] Fix may-be incorrect ADL for module local
ent
ChuanqiXu9 wrote:
> I'm not seeing any impact:
> https://llvm-compile-time-tracker.com/compare.php?from=ff0f1dd341cb2fdc1281a14413b3aa93bf9a20c7&to=4bfdd091675b9957686ac81457629e124950dc25&stat=instructions:u
Thank you!
https://github.com/llvm/llvm-project/pull/123931
_
https://github.com/wzssyqa closed
https://github.com/llvm/llvm-project/pull/123912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wzssyqa wrote:
Thanks. So this patch is incorrect. Let's close it.
https://github.com/llvm/llvm-project/pull/123912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-01-22T17:19:17-08:00
New Revision: eaaac050588ec67afcdbb347df5597458a9b10d1
URL:
https://github.com/llvm/llvm-project/commit/eaaac050588ec67afcdbb347df5597458a9b10d1
DIFF:
https://github.com/llvm/llvm-project/commit/eaaac050588ec67afcdbb347df5597458a9b10d1.diff
L
https://github.com/tangaac updated
https://github.com/llvm/llvm-project/pull/116771
>From ad154c5eb1d382b5b15f48005df039b94d4500b1 Mon Sep 17 00:00:00 2001
From: tangaac
Date: Tue, 19 Nov 2024 17:43:31 +0800
Subject: [PATCH 1/6] [LoongArch] Support sc.q instruction for 128bit cmpxchg
operation
@@ -869,5 +875,12 @@ def convert_string(bytes_input):
return str(bytes_input)
+def print_filename(filename, null=False):
createyourpersonalaccount wrote:
I think that was a reflex, I set it to `False`, which is what `opts.null` is by
default. Do you
@@ -869,5 +875,12 @@ def convert_string(bytes_input):
return str(bytes_input)
+def print_filename(filename, null=False):
+if null:
+print(filename + "\0", end="")
createyourpersonalaccount wrote:
I don't think so, because indentation is m
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/124034
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3283,12 +3293,14 @@ ABIArgInfo WinX86_64ABIInfo::classify(QualType Ty,
unsigned &FreeSSERegs,
if (RT) {
if (!IsReturnType) {
if (CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI()))
-return getNaturalAlignIndirect(Ty, RAA ==
CGCXXABI::RAA_Dir
https://github.com/MattPD updated
https://github.com/llvm/llvm-project/pull/123867
>From b69344ca228d3954d43c47a316a6e397ecfd8c64 Mon Sep 17 00:00:00 2001
From: "Matt P. Dziubinski"
Date: Tue, 21 Jan 2025 19:42:41 -0600
Subject: [PATCH] [OpenMP][SIMD][FIX] Use conservative "omp simd ordered"
l
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/124035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vitaly Buka
Date: 2025-01-22T16:52:09-08:00
New Revision: d5457e4c1619e5dbeefd49841e284cbc24d35cb4
URL:
https://github.com/llvm/llvm-project/commit/d5457e4c1619e5dbeefd49841e284cbc24d35cb4
DIFF:
https://github.com/llvm/llvm-project/commit/d5457e4c1619e5dbeefd49841e284cbc24d35cb4.diff
L
farzonl wrote:
@inbelic look into lit `UNSUPPORTED` or `REQUIRES:` There is likely one or a
combination of both we can do to avoid the asan tests.
https://github.com/llvm/llvm-project/pull/123853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
@@ -55,29 +68,30 @@ enum OffloadEntryKindFlag : uint32_t {
/// globals that will be registered with the offloading runtime.
StructType *getEntryTy(Module &M);
-/// Returns the struct type we store the two pointers for CUDA / HIP managed
-/// variables in. Necessary until we wi
@@ -13464,6 +13464,14 @@ Decl *Sema::ActOnAliasDeclaration(Scope *S,
AccessSpecifier AS,
}
TemplateParameterList *TemplateParams = TemplateParamLists[0];
+// Check shadowing of a template parameter name
+for (NamedDecl *TP : TemplateParams->asArray()) {
+
@@ -249,6 +249,11 @@ FIELD(HasDeclaredCopyAssignmentWithConstParam, 1, MERGE_OR)
/// base classes or fields have a no-return destructor
FIELD(IsAnyDestructorNoReturn, 1, NO_MERGE)
+/// Microsoft CXX ABI specific:
+/// Whether the copy constructor is used by a `throw` expressio
https://github.com/rnk edited https://github.com/llvm/llvm-project/pull/114075
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,19 @@
+// REQUIRES: system-windows, target={{.*-windows-msvc}}
+// RUN: %clang_cc1 -x c++ -std=c++17 -fcxx-exceptions -fexceptions
-triple=%ms_abi_triple -emit-pch -building-pch-with-obj -fmodules-codegen -o
%t.pch %S/cxx-exception-copy-ctor-crash.h
+// RUN: %clang_cc
@@ -2316,6 +2316,20 @@ void
ASTDeclReader::VisitCXXConstructorDecl(CXXConstructorDecl *D) {
}
VisitCXXMethodDecl(D);
+
+ // Microsoft CXX ABI specific:
+ // Restore the RecordToCopyCtor sidecar LUT entry so that `throw` expressions
+ // find the correct copy constructo
https://github.com/rnk commented:
I think @majnemer added the lookup table originally. I think we did things this
way because, while it creates obvious serialization problems, it's the most
straightforwardly correct approach if you think finding copy constructors is an
ambiguous operation. It'
https://github.com/AidanGoldfarb updated
https://github.com/llvm/llvm-project/pull/122754
>From b6c576fb90362640b2fd4e41bd7f13dfee95d04d Mon Sep 17 00:00:00 2001
From: Aidan
Date: Mon, 13 Jan 2025 11:53:39 -0500
Subject: [PATCH 01/16] initial template arg fix push
---
.../clang/Basic/Diagnost
@@ -55,29 +68,30 @@ enum OffloadEntryKindFlag : uint32_t {
/// globals that will be registered with the offloading runtime.
StructType *getEntryTy(Module &M);
-/// Returns the struct type we store the two pointers for CUDA / HIP managed
-/// variables in. Necessary until we wi
@@ -160,54 +160,30 @@
// CHECK-NTARGET-NOT: private unnamed_addr constant [1 x i
// CHECK-DAG: [[NAMEPTR1:@.+]] = internal unnamed_addr constant [{{.*}} x i8]
c"[[NAME1:__omp_offloading_[0-9a-f]+_[0-9a-f]+__Z.+_l[0-9]+]]\00"
-// CHECK-DAG: [[ENTRY1:@.+]] = weak{{.*}} constant
@@ -160,54 +160,30 @@
// CHECK-NTARGET-NOT: private unnamed_addr constant [1 x i
// CHECK-DAG: [[NAMEPTR1:@.+]] = internal unnamed_addr constant [{{.*}} x i8]
c"[[NAME1:__omp_offloading_[0-9a-f]+_[0-9a-f]+__Z.+_l[0-9]+]]\00"
-// CHECK-DAG: [[ENTRY1:@.+]] = weak{{.*}} constant
@@ -55,29 +68,30 @@ enum OffloadEntryKindFlag : uint32_t {
/// globals that will be registered with the offloading runtime.
StructType *getEntryTy(Module &M);
-/// Returns the struct type we store the two pointers for CUDA / HIP managed
-/// variables in. Necessary until we wi
https://github.com/boomanaiden154 approved this pull request.
Changes to `__cpuidex_conflict.c` LGTM. I will put that on my TODO list.
https://github.com/llvm/llvm-project/pull/121839
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://list
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang-tools-extra,clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/122
Author: Congcong Cai
Date: 2025-01-23T06:28:43+08:00
New Revision: 68c6b2e18809342e3747d50eb0dc84246393941b
URL:
https://github.com/llvm/llvm-project/commit/68c6b2e18809342e3747d50eb0dc84246393941b
DIFF:
https://github.com/llvm/llvm-project/commit/68c6b2e18809342e3747d50eb0dc84246393941b.diff
@@ -117,13 +121,13 @@ class OptTable {
private:
// A unified string table for these options. Individual strings are stored as
// null terminated C-strings at offsets within this table.
- const char *StrTable;
+ const StringTable *StrTable;
rnk wrote:
Got
https://github.com/rnk approved this pull request.
https://github.com/llvm/llvm-project/pull/123308
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1115,6 +1115,11 @@ defm cx_fortran_rules: BoolOptionWithoutMarshalling<"f",
"cx-fortran-rules",
NegFlag>;
+def Wunknown_attribute_namespace_EQ : CommaJoined<["-"],
"Wunknown-attribute-namespace=">,
+ Group, Flags<[HelpHidden]>, Visibility<[ClangOption,
CC1Option]>,
+
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-hwasan` running on `sanitizer-buildbot11`
while building `clang,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/55/builds/5962
Here is th
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/120925
>From bce88b1bb464438828fc177c978ad2b99957530f Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Mon, 23 Dec 2024 02:35:07 +0200
Subject: [PATCH 1/5] [Clang] raise extension warning for unknown namespaced
att
https://github.com/pirama-arumuga-nainar approved this pull request.
https://github.com/llvm/llvm-project/pull/123952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 465 matches
Mail list logo