@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -triple riscv64-none-linux-gnu %s -emit-llvm -o - \
// RUN: -target-feature +f -target-feature +d -target-feature +zfh \
// RUN: -target-feature +zve64d -target-feature +zvfh -mvscale-min=1 \
-// RUN: -mvscale-max=1 | FileCheck %s --check-
cor3ntin wrote:
r3 is in 2 weeks and we have to be more conservatives in our backports, so it
really depends on how long it took you and @ilya-biryukov to address these
issues and the complexity of the patches.
In particular, I would be surprised if the attribute case impacts many people.
htt
Author: Karl-Johan Karlsson
Date: 2024-08-06T09:57:31+02:00
New Revision: b7730a23efb222944b732bbdb3a7b965b7bffd98
URL:
https://github.com/llvm/llvm-project/commit/b7730a23efb222944b732bbdb3a7b965b7bffd98
DIFF:
https://github.com/llvm/llvm-project/commit/b7730a23efb222944b732bbdb3a7b965b7bffd98
https://github.com/karka228 closed
https://github.com/llvm/llvm-project/pull/102073
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lenary wrote:
@ArcaneNibble your contributions now definitely meet the threshold for commit
access - please request it following the instructions in the Developer Policy:
https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access (also take a
read of the rest of the policy to understan
https://github.com/OCHyams approved this pull request.
LGTM with nit + pls appease the the formatter
https://github.com/llvm/llvm-project/pull/102006
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/OCHyams edited
https://github.com/llvm/llvm-project/pull/102006
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -295,18 +295,25 @@ void EHScopeStack::Cleanup::anchor() {}
static void createStoreInstBefore(llvm::Value *value, Address addr,
llvm::Instruction *beforeInst,
CodeGenFunction &CGF) {
- auto store = new llvm:
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/102020
>From aa97906cdf1ac08e0b5d607914c28dcb2bbc2545 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Mon, 5 Aug 2024 17:42:55 +0100
Subject: [PATCH 1/2] [PS4/PS5][Driver] Allow -static in PlayStation drivers
https://github.com/vbe-sc updated
https://github.com/llvm/llvm-project/pull/100110
>From 2dba8f9f90369f79f97fc5efb1272b75d61d36b2 Mon Sep 17 00:00:00 2001
From: vb-sc
Date: Wed, 31 Jul 2024 13:37:34 +0300
Subject: [PATCH] [RISCV] full support for riscv_rvv_vector_bits attribute
---
clang/incl
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -triple riscv64-none-linux-gnu %s -emit-llvm -o - \
// RUN: -target-feature +f -target-feature +d -target-feature +zfh \
// RUN: -target-feature +zve64d -target-feature +zvfh -mvscale-min=1 \
-// RUN: -mvscale-max=1 | FileCheck %s --check-
https://github.com/playstation-edd updated
https://github.com/llvm/llvm-project/pull/102020
>From aa97906cdf1ac08e0b5d607914c28dcb2bbc2545 Mon Sep 17 00:00:00 2001
From: Edd Dawson
Date: Mon, 5 Aug 2024 17:42:55 +0100
Subject: [PATCH 1/3] [PS4/PS5][Driver] Allow -static in PlayStation drivers
arsenm wrote:
> Interesting, the important bit is that this is done before the LTO link so we
> know which functions to pull in. Unfortunately I don't think there's a good
> location that actually states which math calls are supported, but I could
> probably make a script that goes through eac
@@ -141,6 +141,9 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
if (Args.hasArg(options::OPT_pie))
CmdArgs.push_back("-pie");
+
playstation-edd wrote:
Oops - thanks. Removed.
https://github.com/llvm/llvm-project/pull/
@@ -141,6 +141,9 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
if (Args.hasArg(options::OPT_pie))
CmdArgs.push_back("-pie");
+
+ if (Args.hasArg(options::OPT_static))
+CmdArgs.push_back("--static");
playstation-ed
cor3ntin wrote:
> Is there ever a situation that would cause us to have to instantiate a
> FriendPackDecl in the TemplateDeclInstantiator? We do that for
> UsingPackDecls, but those are sufficiently different enough from the former
> that I’m not sure about it. I at least haven’t been able to
https://github.com/CarolineConcatto edited
https://github.com/llvm/llvm-project/pull/101480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/CarolineConcatto commented:
Thank you Spencer for the patch.
I believe we missed the multi vector instructions targeting BF16.
https://github.com/llvm/llvm-project/pull/101480
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
@@ -0,0 +1,49 @@
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve
-target-feature +sve2 -verify -verify-ignore-unexpected=error,note -emit-llvm
-o - %s
CarolineConcatto wrote:
Can we group this file with the streaming on.
The same we do f
@@ -2172,7 +2172,7 @@ let SVETargetGuard = InvalidMode, SMETargetGuard = "sme2"
in {
def SVFCLAMP_X4 : SInst<"svclamp[_single_{d}_x4]", "44dd", "hfd",
MergeNone, "aarch64_sve_fclamp_single_x4", [IsStreaming], []>;
}
-let SVETargetGuard = InvalidMode, SMETargetGuar
https://github.com/ChuanqiXu9 created
https://github.com/llvm/llvm-project/pull/102115
Close https://github.com/llvm/llvm-project/issues/101939
As the issue said, the builtin declarations shouldn't be in any modules.
>From 3dabd3815c78697046ba436e62a2ea39cf2361b3 Mon Sep 17 00:00:00 2001
From:
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Chuanqi Xu (ChuanqiXu9)
Changes
Close https://github.com/llvm/llvm-project/issues/101939
As the issue said, the builtin declarations shouldn't be in any modules.
---
Full diff: https://github.com/llvm/llvm-project/pull/102115.diff
https://github.com/cor3ntin approved this pull request.
That seems reasonable to me.
We need a changelog entry for that change tough
https://github.com/llvm/llvm-project/pull/102044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
@@ -2376,6 +2376,12 @@ NamedDecl *Sema::LazilyCreateBuiltin(IdentifierInfo *II,
unsigned ID,
FunctionDecl *New = CreateBuiltin(II, R, ID, Loc);
RegisterLocallyScopedExternCDecl(New, S);
+ // Builtin functions shouldn't be owned by any module.
+ if (New->hasOwningModule(
ilya-biryukov wrote:
> r3 is in 2 weeks and we have to be more conservatives in our backports, so it
> really depends on how long it took you and @ilya-biryukov to address these
> issues and the complexity of the patches.
>
> In particular, I would be surprised if the attribute case impacts ma
https://github.com/vbe-sc updated
https://github.com/llvm/llvm-project/pull/100110
>From 2dba8f9f90369f79f97fc5efb1272b75d61d36b2 Mon Sep 17 00:00:00 2001
From: vb-sc
Date: Wed, 31 Jul 2024 13:37:34 +0300
Subject: [PATCH] [RISCV] full support for riscv_rvv_vector_bits attribute
---
clang/incl
Author: Brandon Wu
Date: 2024-08-06T17:59:53+08:00
New Revision: 3027688a77b5511447b3f060aaecbf30e4b9e63e
URL:
https://github.com/llvm/llvm-project/commit/3027688a77b5511447b3f060aaecbf30e4b9e63e
DIFF:
https://github.com/llvm/llvm-project/commit/3027688a77b5511447b3f060aaecbf30e4b9e63e.diff
LO
https://github.com/4vtomat closed
https://github.com/llvm/llvm-project/pull/101611
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/4vtomat closed
https://github.com/llvm/llvm-project/pull/101633
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Brandon Wu
Date: 2024-08-06T18:00:38+08:00
New Revision: 40c2aaf54e9a7b5c560bb68796d444180ad67b5d
URL:
https://github.com/llvm/llvm-project/commit/40c2aaf54e9a7b5c560bb68796d444180ad67b5d
DIFF:
https://github.com/llvm/llvm-project/commit/40c2aaf54e9a7b5c560bb68796d444180ad67b5d.diff
LO
https://github.com/4vtomat closed
https://github.com/llvm/llvm-project/pull/101811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sharadhr updated
https://github.com/llvm/llvm-project/pull/98761
>From 2f499e793050cd0256d658f19e5a4da73c941962 Mon Sep 17 00:00:00 2001
From: Sharadh Rajaraman
Date: Tue, 6 Aug 2024 11:00:54 +0100
Subject: [PATCH 1/7] Allow `--precompile` and `-fprebuilt-module-path` to be
sharadhr wrote:
I've done a git rebase with `--reset-author`. Hopefully this is correct.
https://github.com/llvm/llvm-project/pull/98761
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/102120
Instead of just adding the Record::Field offset, instead get the FieldDecl
offset in the RecordLayout.
Unfortunately, the offset we pass to the ops here is not made to easily go back
to a FieldDecl, so we hav
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Instead of just adding the Record::Field offset, instead get the FieldDecl
offset in the RecordLayout.
Unfortunately, the offset we pass to the ops here is not made to easily go back
to a FieldDecl, so we h
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/102044
>From 90441c251c1ec5a3b8be923ca9678c8d3d586bee Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Mon, 5 Aug 2024 20:29:12 +0100
Subject: [PATCH 1/3] [Clang][Sema] Backport P2741R3 (static_assert with
user-gen
https://github.com/MitalAshok edited
https://github.com/llvm/llvm-project/pull/102044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -105,6 +105,11 @@ C2y Feature Support
C23 Feature Support
^^^
+Non-comprehensive list of changes in this release
+-
MitalAshok wrote:
https://github.com/llvm/llvm-project/commit/10c6d6349e51bb
@@ -13034,13 +13034,36 @@ StmtResult
SemaOpenMP::ActOnOpenMPTargetUpdateDirective(
Clauses, AStmt);
}
+/// This checks whether a \p ClauseType clause \p C has at most \p Max
+/// expression. If not, a diag of number \p Diag will be em
@@ -134,7 +134,7 @@ void test() {
}
namespace cwg2798 { // cwg2798: 17
-#if __cpp_static_assert >= 202306
+#if __cplusplus > 202302L
MitalAshok wrote:
I guess this is one of the potentially-breaking changes that comes with
changing the feature test macro. I
@@ -1902,16 +1902,18 @@ class IRBuilderBase {
}
Value *CreateConstGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, unsigned Idx1,
-const Twine &Name = "") {
+const Twine &Name = "",
+GEPNoWrapF
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/101448
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -64,48 +64,80 @@
from ctypes import *
-import collections.abc
import os
+import sys
from enum import Enum
+from typing import (
+Any,
+Callable,
+Generic,
+Optional,
+Type as TType,
+TypeVar,
+TYPE_CHECKING,
+Union as TUnion,
+)
+
+if TY
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/101941
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll commented:
Thank you for splitting that large PR into something smaller. That said, 1.6k
lines of changes is no small change either.
This PR needs more high-level explanation of what you try to achieve and how.
At the moment I'm not sold we want to go in this directio
Endilll wrote:
I don't see value in annotating exported C functions themselves (`binder.py`),
because they are wrapped by `cindex.py`. From maintenance perspective I'd
rather leave `# type: ignore` at the call sites of those functions, than accept
a whole new
Endilll wrote:
This file seems to implement a whole abstraction layer for annotations. I'd
like to understand what the benefits are, because I see a non-trivial amount of
complexity here.
https://github.com/llvm/llvm-project/pull/101941
__
@@ -64,48 +64,80 @@
from ctypes import *
-import collections.abc
import os
+import sys
from enum import Enum
+from typing import (
+Any,
+Callable,
+Generic,
+Optional,
+Type as TType,
+TypeVar,
+TYPE_CHECKING,
+Union as TUnion,
+)
+
+if TY
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
@@ -64,48 +64,80 @@
from ctypes import *
-import collections.abc
import os
+import sys
from enum import Enum
+from typing import (
+Any,
+Callable,
+Generic,
+Optional,
+Type as TType,
+TypeVar,
+TYPE_CHECKING,
+Union as TUnion,
+)
+
+if TY
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
@@ -134,7 +134,7 @@ void test() {
}
namespace cwg2798 { // cwg2798: 17
-#if __cpp_static_assert >= 202306
+#if __cplusplus > 202302L
Endilll wrote:
Yeah, checking for `__cplusplus` makes more sense in DR test suite.
But I wonder if we can leverage feature tes
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/102044
>From 90441c251c1ec5a3b8be923ca9678c8d3d586bee Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Mon, 5 Aug 2024 20:29:12 +0100
Subject: [PATCH 1/4] [Clang][Sema] Backport P2741R3 (static_assert with
user-gen
https://github.com/uweigand requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/101024
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -532,9 +532,371 @@ bool SystemZTargetCodeGenInfo::isVectorTypeBased(const
Type *Ty,
return false;
}
+//===--===//
+// z/OS XPLINK ABI Implementation
+//===
@@ -532,9 +532,371 @@ bool SystemZTargetCodeGenInfo::isVectorTypeBased(const
Type *Ty,
return false;
}
+//===--===//
+// z/OS XPLINK ABI Implementation
+//===
@@ -64,48 +64,80 @@
from ctypes import *
-import collections.abc
import os
+import sys
from enum import Enum
+from typing import (
+Any,
+Callable,
+Generic,
+Optional,
+Type as TType,
+TypeVar,
+TYPE_CHECKING,
+Union as TUnion,
+)
+
+if TY
Author: Timm Baeder
Date: 2024-08-06T13:37:11+02:00
New Revision: 59e13666dd2e81e58253488a29635fb2992ed741
URL:
https://github.com/llvm/llvm-project/commit/59e13666dd2e81e58253488a29635fb2992ed741
DIFF:
https://github.com/llvm/llvm-project/commit/59e13666dd2e81e58253488a29635fb2992ed741.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/102120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/FreddyLeaf closed
https://github.com/llvm/llvm-project/pull/101599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/102044
>From 90441c251c1ec5a3b8be923ca9678c8d3d586bee Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Mon, 5 Aug 2024 20:29:12 +0100
Subject: [PATCH 1/5] [Clang][Sema] Backport P2741R3 (static_assert with
user-gen
https://github.com/MitalAshok edited
https://github.com/llvm/llvm-project/pull/102044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ostannard created
https://github.com/llvm/llvm-project/pull/102126
Support for this was added back in 2016 (https://reviews.llvm.org/D27499), but
never enabled in the driver. Since then, it's been possible to enable this with
an arm triple and the -mthumb option, but not wit
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: Oliver Stannard (ostannard)
Changes
Support for this was added back in 2016 (https://reviews.llvm.org/D27499), but
never enabled in the driver. Since then, it's been possible to enable this with
an arm tr
@@ -221,6 +221,10 @@ FLOATING_TYPE(Float128, Float128Ty)
// '__ibm128'
FLOATING_TYPE(Ibm128, Ibm128Ty)
+
+// '__fpm8'
paulwalker-arm wrote:
__mfp8
https://github.com/llvm/llvm-project/pull/97277
___
cfe-commits mai
@@ -1139,6 +1139,7 @@ class ASTContext : public RefCountedBase {
CanQualType SatShortFractTy, SatFractTy, SatLongFractTy;
CanQualType SatUnsignedShortFractTy, SatUnsignedFractTy,
SatUnsignedLongFractTy;
+ CanQualType MFloat8Ty;
paulwalker-arm wrote:
@@ -3197,6 +3197,13 @@ void CastOperation::CheckCStyleCast() {
}
}
+ if ((DestType->isMFloat8Type() && !SrcType->isMFloat8Type()) ||
+ (!DestType->isMFloat8Type() && SrcType->isMFloat8Type())) {
paulwalker-arm wrote:
`DestType->isMFloat8Type() !=
paulwalker-arm wrote:
Just to add the commit message needs updating to reflect the updated
specification.
https://github.com/llvm/llvm-project/pull/97277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
https://github.com/DeinAlptraum commented:
I agree with what Endill said: this is a rather big change and I'm not sure I
see it adding enough value to justify this.
It also adds quite some complexity on top of the otherwise relatively
light-weight Python bindings. I generally like seeing change
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/102131
Fixes https://github.com/llvm/llvm-project/issues/101735
(I'll add a release note and some comments later)
>From 0727e47124af564826a22a718a64a1da79e6131d Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Tue,
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/99732
>From d27b78670ae334bd05c845d14512ee1e3e8d077b Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 19 Jul 2024 22:07:06 -0400
Subject: [PATCH] [Clang][OpenMP] Allow `num_teams` to accept multiple
expressions
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/101941
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/99732
>From 0bd0ff8f905c4e430c7203cede19d7e2179d89ef Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 19 Jul 2024 22:07:06 -0400
Subject: [PATCH] [Clang][OpenMP] Allow `num_teams` to accept multiple
expressions
@@ -12370,6 +12379,17 @@ void Sema::CheckMain(FunctionDecl* FD, const DeclSpec&
DS) {
}
}
+bool Sema::CheckLinkageSpecification(DeclContext *DC, Decl *D) {
+ // [basic.start.main] p2
+ // The main function shall not be declared with a linkage-specification.
+ if (DC->i
https://github.com/MitalAshok created
https://github.com/llvm/llvm-project/pull/102134
This was removed in 10c6d6349e51bb245b9deec4aafca9885971135b
>From 664647de07eaa6f1b4b0f94594e867740cb99717 Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Tue, 6 Aug 2024 13:32:04 +0100
Subject: [PATCH] [N
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mital Ashok (MitalAshok)
Changes
This was removed in 10c6d6349e51bb245b9deec4aafca9885971135b
---
Full diff: https://github.com/llvm/llvm-project/pull/102134.diff
1 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+3)
``
Author: Aaron Ballman
Date: 2024-08-06T08:35:56-04:00
New Revision: 617cf8a72d2ab568bf0e84452faf4e35a322b32f
URL:
https://github.com/llvm/llvm-project/commit/617cf8a72d2ab568bf0e84452faf4e35a322b32f
DIFF:
https://github.com/llvm/llvm-project/commit/617cf8a72d2ab568bf0e84452faf4e35a322b32f.diff
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/101983
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MitalAshok wrote:
See comment:
https://github.com/llvm/llvm-project/commit/10c6d6349e51bb245b9deec4aafca9885971135b#r145078148
(This is a separate PR to make sure it isn't reverted as part of a bigger
change)
https://github.com/llvm/llvm-project/pull/102134
__
https://github.com/alexey-bataev approved this pull request.
LG
https://github.com/llvm/llvm-project/pull/99732
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
yxsamliu wrote:
> @yxsamliu Would you mind reviewing this change?
Sorry for the delay. LGTM
https://github.com/llvm/llvm-project/pull/101200
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/99732
>From f9e58d7acdd6a61a811c838efa2aae377233c608 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 19 Jul 2024 22:07:06 -0400
Subject: [PATCH] [Clang][OpenMP] Allow `num_teams` to accept multiple
expressions
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
https://github.com/nikic closed https://github.com/llvm/llvm-project/pull/93454
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -12210,7 +12215,22 @@ bool Sema::CheckFunctionDeclaration(Scope *S,
FunctionDecl *NewFD,
return Redeclaration;
}
-void Sema::CheckMain(FunctionDecl* FD, const DeclSpec& DS) {
+void Sema::CheckMain(FunctionDecl *FD, const DeclSpec &DS) {
+ // [basic.start.main]p3
+ //
@@ -990,6 +990,12 @@ def warn_main_redefined : Warning<"variable named 'main'
with external linkage "
"has undefined behavior">, InGroup;
def ext_main_used : Extension<
"referring to 'main' within an expression is a Clang extension">,
InGroup;
+def ext_main_invalid_li
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/101853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -145,6 +145,8 @@ Improvements to Clang's diagnostics
- -Wdangling-assignment-gsl is enabled by default.
+- Clang now diagnoses the use of `main` in an `extern "C"` context as invalid
according to [basic.start.main] p3. Fixes #GH101512.
Sirraide wrote:
``
@@ -7353,6 +7353,14 @@ void emitReadOnlyPlacementAttrWarning(Sema &S, const
VarDecl *VD) {
}
}
+static bool isMainVar(DeclarationName Name, VarDecl *VD) {
Sirraide wrote:
Nit: maybe a comment on this explaining what it does would be nice. E.g.
something l
https://github.com/Sirraide commented:
A few minor things, but other than that this is pretty much done I’d say.
https://github.com/llvm/llvm-project/pull/101853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
@@ -990,6 +990,12 @@ def warn_main_redefined : Warning<"variable named 'main'
with external linkage "
"has undefined behavior">, InGroup;
def ext_main_used : Extension<
"referring to 'main' within an expression is a Clang extension">,
InGroup;
+def ext_main_invalid_li
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
Author: Aaron Ballman
Date: 2024-08-06T08:55:30-04:00
New Revision: 295e4f49aefb2b07501be9f845df598b3ee280f1
URL:
https://github.com/llvm/llvm-project/commit/295e4f49aefb2b07501be9f845df598b3ee280f1
DIFF:
https://github.com/llvm/llvm-project/commit/295e4f49aefb2b07501be9f845df598b3ee280f1.diff
@@ -2123,17 +2123,18 @@ class Preprocessor {
char
getSpellingOfSingleCharacterNumericConstant(const Token &Tok,
AaronBallman wrote:
I've updated the comment and the interface in
295e4f49aefb2b07501be9f845df598b3ee280f1
https://github.com/llvm/llvm-project
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const
LangOptions &LangOpts,
LangOpts.CPlusPlus23 ? "202211L"
: LangOpts.CPlusPlus17 ? "201603L"
: "200907");
cachemeifyoucan wrote:
Yes, please revert. Do you have link to the build failure?
https://github.com/llvm/llvm-project/pull/101741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
Ping @JDevlieghere for lldb test suite assistance.
As for ORC JIT, [the compiler-rt project](https://compiler-rt.llvm.org/) does
not claim to support Windows to begin with, so it's unclear whether the bot
should not be testing on Windows or whether compiler-rt needs to upda
1 - 100 of 432 matches
Mail list logo