https://github.com/mydeveloperday requested changes to this pull request.
Please fix the spellings
https://github.com/llvm/llvm-project/pull/131605
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
Author: Fraser Cormack
Date: 2025-03-25T09:11:32Z
New Revision: d46a699953210093de55baa8b3be56dae5707082
URL:
https://github.com/llvm/llvm-project/commit/d46a699953210093de55baa8b3be56dae5707082
DIFF:
https://github.com/llvm/llvm-project/commit/d46a699953210093de55baa8b3be56dae5707082.diff
LOG
@@ -534,11 +534,6 @@ C23 implementation status
Clang 16
-
- String functions for freestanding implementations
- https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2524.htm";>N2524
- No
-
philnik777 wrote:
FWIW we list all
@@ -2001,3 +1932,318 @@ NormalizedConstraint::getFoldExpandedConstraint() const
{
"getFoldExpandedConstraint called on non-fold-expanded constraint.");
return cast(Constraint);
}
+
+//
+//
+// Subsumption ---
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/132849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
glandium wrote:
This causes crashes:
```
1.
/builds/worker/checkouts/gecko/dom/media/webrtc/MediaEngineWebRTC.cpp:48:44:
current parser token ')'
2.
/builds/worker/checkouts/gecko/dom/media/webrtc/MediaEngineWebRTC.cpp:31:1:
parsing namespace 'mozilla'
3.
/builds/worker/checko
Author: Timm Baeder
Date: 2025-03-25T12:32:27+01:00
New Revision: 822aa5ec1afee68fb16457ff06de9111c1b62450
URL:
https://github.com/llvm/llvm-project/commit/822aa5ec1afee68fb16457ff06de9111c1b62450
DIFF:
https://github.com/llvm/llvm-project/commit/822aa5ec1afee68fb16457ff06de9111c1b62450.diff
L
https://github.com/frasercrmck created
https://github.com/llvm/llvm-project/pull/132918
Similar to d46a6999, this commit simultaneously moves these three functions to
the CLC library and optimizes them for vector types by avoiding scalarization.
>From 1fb1a82f1dff423d96e803889e831e8aced1aba1 M
https://github.com/imdj created https://github.com/llvm/llvm-project/pull/132919
Remove `[expr.prim.req.nested]` check which restrict that local parameters in
constraint-expressions can only appear as unevaluated operands. This change
makes the treatment of examples like `requires` expressions
@@ -162,6 +162,8 @@ BUILTIN(__builtin_amdgcn_raw_buffer_load_b64, "V2UiQbiiIi",
"n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b96, "V3UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b128, "V4UiQbiiIi", "n")
+TARGET_BUILTIN(__builtin_amdgcn_raw_ptr_buffer_load_lds, "v
https://github.com/Sirraide commented:
So the implementation of this seems fine, but looking at how other compilers
handle this, GCC and MSVC accept this, whereas EDG rejects. I agree w/ the
comment that that is a bit silly to reject this, but can you check what the
standard has to say about t
https://github.com/imdj ready_for_review
https://github.com/llvm/llvm-project/pull/132919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide approved this pull request.
Actually, I just checked #39811, and apparently this was a CWG that has been
resolved, so in that case this seems fine.
https://github.com/llvm/llvm-project/pull/132829
___
cfe-commits mailing li
https://github.com/imdj updated https://github.com/llvm/llvm-project/pull/132919
>From 8ed77e7bb4d26ad5b2f87d65c77e3faa4539502c Mon Sep 17 00:00:00 2001
From: Imad Aldij
Date: Tue, 25 Mar 2025 13:54:49 +0200
Subject: [PATCH] Remove the restriction that local parameters in
constraint-expressions
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/132829
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -155,6 +155,19 @@ int g() {
}
}
+namespace GH132825 {
imdj wrote:
Thank you for the feedback. Will do.
https://github.com/llvm/llvm-project/pull/132919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Sameer Sahasrabuddhe (ssahasra)
Changes
When placed on a function, the ``clang::noconvergent`` attribute ensures that
the function is not assumed to be convergent. But the same attribute has no
effect on function calls. A call is converge
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/132849
>From b5b5275093f6942238536834c6508551f7ceffd8 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Sun, 16 Mar 2025 23:34:19 +0100
Subject: [PATCH 1/4] [Clang] Improve subsumption.
The main goal of this patch
@@ -155,6 +155,19 @@ int g() {
}
}
+namespace GH132825 {
zyn0217 wrote:
This should go in cwg25xx.cpp, and you should run make_cxx_dr_status to update
the status page.
Also this needs a release note.
https://github.com/llvm/llvm-project/pull/132919
__
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/132919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,127 @@
+// RUN: %clang_analyze_cc1 -std=c++20
-analyzer-checker=core,debug.ExprInspection -analyzer-config
inline-lambdas=true -verify %s
+
+#include "Inputs/system-header-simulator-cxx.h"
+void clang_analyzer_warnIfReached();
+void clang_analyzer_eval(int);
+
+void c
Sirraide wrote:
CC @Endilll Should this also add a test to
[cwg23xx.cpp](https://github.com/llvm/llvm-project/blob/main/clang/test/CXX/drs/cwg23xx.cpp)?
https://github.com/llvm/llvm-project/pull/132829
___
cfe-commits mailing list
cfe-commits@lists.
https://github.com/Sirraide approved this pull request.
https://github.com/llvm/llvm-project/pull/132285
___
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: Imad Aldij (imdj)
Changes
Remove `[expr.prim.req.nested]` check which restrict that local parameters in
constraint-expressions can only appear as unevaluated operands. This change
makes the treatment of examples like `requires` expression
https://github.com/flovent updated
https://github.com/llvm/llvm-project/pull/132579
>From cbd1ab21502db7fec5aa017031ad6ac8eb1edb7c Mon Sep 17 00:00:00 2001
From: flovent
Date: Sun, 23 Mar 2025 10:32:12 +0800
Subject: [PATCH 1/2] [clang][analyzer] Correctly handle structured bindings
captured b
@@ -0,0 +1,15 @@
+// RUN: %clang_analyze_cc1 -std=c++20 %s
-analyzer-checker=core.NullDereference -analyzer-output=text -verify
+
+// expected-no-diagnostics
+
+struct S { int x; };
+
+void f(int x) { (void)x; }
+
+int main()
+{
+S s{42};
+auto& [x] = s;
+auto g = [x]
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 c1ed4f642396c1bbea2cc0cd6d2e46ff674145a4
89d4851dc81ed27706e1c7fd7522c4d5fd4c1074 --e
https://github.com/mrkajetanp updated
https://github.com/llvm/llvm-project/pull/132801
>From d9b2a86d01688b69b8f116f6b52caeec8cd6e756 Mon Sep 17 00:00:00 2001
From: Kajetan Puchalski
Date: Mon, 24 Mar 2025 17:28:03 +
Subject: [PATCH 1/2] [flang] Add -f[no-]slp-vectorize flags
Add -f[no-]sl
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/132849
>From b5b5275093f6942238536834c6508551f7ceffd8 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Sun, 16 Mar 2025 23:34:19 +0100
Subject: [PATCH 1/5] [Clang] Improve subsumption.
The main goal of this patch
@@ -12529,11 +12529,11 @@ C++ defect report implementation
status
Direct or copy initialization for omitted aggregate initializers
Unknown
-
+
https://cplusplus.github.io/CWG/issues/2117.html";>2117
-open
+NAD
Explicit specializations and const
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/132778
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zyn0217 commented:
Thanks!
https://github.com/llvm/llvm-project/pull/132778
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5242,10 +5255,12 @@ TryReferenceInit(Sema &S, Expr *Init, QualType DeclType,
// FIXME: As a speculative fix to a defect introduced by CWG2352, we rank
// a reference binding that performs a non-top-level qualification
// conversion as a qualification conversion,
https://github.com/rj-jesus closed
https://github.com/llvm/llvm-project/pull/132368
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,3 +1,4 @@
Strings
+FunctionDeclarationWithKeywordes
HazardyKnusperkeks wrote:
I think you only need to fix this one?
https://github.com/llvm/llvm-project/pull/131605
___
cfe-commits mailing list
cfe-commits@list
https://github.com/mydeveloperday approved this pull request.
https://github.com/llvm/llvm-project/pull/132885
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s modernize-use-emplace %t -- \
+// RUN: %check_clang_tidy %s -std=c++17 modernize-use-emplace %t -- \
RiverDave wrote:
On second thought would this be sufficient for the cases shown above?:
I've noticed that `use-range
zeule wrote:
> Please fix the spellings
I guess the simplest way would be to rename "FunctionDeclarationWithKeywords"
(e.g. "KeywordedFunctionDeclaration")? Otherwise I would have to extend the
logic in `pluralize()` inside `clang/docs/tools/dump_format_style.py`?
https://github.com/llvm/llvm
https://github.com/mgoudar created
https://github.com/llvm/llvm-project/pull/132907
PR #130587 defined same SubTargetFeature for CPUs i6400 and i6500 which
resulted into following warning when -mcpu=i6500 was used:
+i6500' is not a recognized feature for this target (ignoring feature)
This PR
@@ -1,3 +1,4 @@
Strings
+FunctionDeclarationWithKeywordes
HazardyKnusperkeks wrote:
Then I'd say we change that. I mean this is the fourth entry to the file and
apparently it does not match.
https://github.com/llvm/llvm-project/pull/131605
jthackray wrote:
> LGTM. Does this actually fix the build time regression from the previous
> patch?
Apologies for the delay; I wasn't working yesterday.
Using a Graviton c8g.8xlarge instance, with a `ninja` build, I don't see a
large build time regression. However, this is compiling in paral
jthackray wrote:
@jurahul
> I see that some of the HLSL builtin code (like `EmitHLSLBuiltinExpr`) ended
> up in AMDGPU.cpp. Does that seem misplaced?
@jurahul Yes, apologies. Will write another PR to move it.
https://github.com/llvm/llvm-project/pull/132252
__
@@ -1,3 +1,4 @@
Strings
+FunctionDeclarationWithKeywordes
zeule wrote:
Running `clang/docs/tools/dump_format_style.py` generates that entry, I guess
because of
[this](https://github.com/llvm/llvm-project/blob/65ad02b882ba545dafbfc195a78e204c218e93ed/clang/docs
CarlosAlbertoEnciso wrote:
@clayborg Thanks very much for the extra information.
> FYI: There is already VTable support in our lldb::SBValue class and it is
> part of the public API in LLDB and doesn't require any of this:
>
> ```
> $ cat main.cpp
>1 #include
>2
>
https://github.com/mgoudar updated
https://github.com/llvm/llvm-project/pull/132907
>From 752aaecc52b78a86a36d84af4ca42d166bcdc28e Mon Sep 17 00:00:00 2001
From: Mallikarjuna Gouda
Date: Tue, 25 Mar 2025 15:18:52 +0530
Subject: [PATCH 1/2] [MIPS] Define SubTargetFeature for i6500 cpu
PR #13058
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/132635
>From c91ad611e7a64b08a243a4a7f07a7f51e96b8ac0 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Sun, 23 Mar 2025 23:57:15 +0300
Subject: [PATCH 1/2] [clang-tidy] Add support of `bind` function calls that
ca
@@ -64,16 +64,21 @@ AST_MATCHER(CXXRecordDecl, correctHandleCaptureThisLambda) {
constexpr const char *DefaultFunctionWrapperTypes =
"::std::function;::std::move_only_function;::boost::function";
+constexpr const char *DefaultBindFunctions = "::std::bind;::boost::bind";
--
https://github.com/ZhongUncle edited
https://github.com/llvm/llvm-project/pull/132510
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -519,6 +517,9 @@ struct RVVIntrinsicRecord {
// e.g. vadd
const char *OverloadedName;
+ // Required target features for this intrinsic.
+ uint32_t RequiredExtensions[(RVV_REQ_NUM + 31) / 32];
wangpc-pp wrote:
I wonder if we can use `FeatureBitset` he
@@ -0,0 +1,81 @@
+//===--===//
+//
+// 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: Apac
@@ -45,7 +45,7 @@ struct SemaRecord {
unsigned Log2LMULMask;
// Required extensions for this intrinsic.
- uint32_t RequiredExtensions;
+ uint32_t RequiredExtensions[(RVV_REQ_Experimental + 31) / 32];
wangpc-pp wrote:
RVV_REQ_Experimental->RVV_REQ_NUM?
@@ -43,7 +43,7 @@ int bar() { return no_attr() + attr_in_target() +
attr_not_in_target() + attr_in
// CHECK-LABEL: @attr_incompatible
// CHECK-SAME: () #[[ATTR_INCOMPATIBLE:[0-9]+]] {
-// CHECK: attributes #[[ATTR_BAR]] = { {{.*}} "target-cpu"="gfx90a"
"target-features"="+16
jmmartinez wrote:
> > I've also seen that gfx11 seem to have some kind of BUFFER_LOAD_LDS_(SIZE)
> > instruction (different from the BUFFER_LOAD_(SIZE)_LDS instructions
> > associated with this builtin).
> > However, I'm not sure they actually exists: we do not have any test where
> > we gener
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/132909
The missing descriptor should only happen if the pointer is null pointer.
>From ac98de068f55909a1b8bdd3070de561cd5d913e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 25 Mar 2025 11:1
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132909
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-03-25T11:37:03+01:00
New Revision: a29b0d74a198a9c91d39b4d9224c242e1a22df18
URL:
https://github.com/llvm/llvm-project/commit/a29b0d74a198a9c91d39b4d9224c242e1a22df18
DIFF:
https://github.com/llvm/llvm-project/commit/a29b0d74a198a9c91d39b4d9224c242e1a22df18.diff
L
https://github.com/legrosbuffle created
https://github.com/llvm/llvm-project/pull/132913
The first operand in the conditional operator `?:` is sequenced before the
second or third operand.
This was probably not implemented because it did not fit in the "single
successor" model of `getSuccesso
https://github.com/legrosbuffle updated
https://github.com/llvm/llvm-project/pull/132913
>From dcb97b74e78148e03f7749f436f01d5488c11ae1 Mon Sep 17 00:00:00 2001
From: Clement Courbet
Date: Tue, 25 Mar 2025 09:42:53 +
Subject: [PATCH] [clang-tidy] ExprSequence: Handle ternary operators.
The
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Clement Courbet (legrosbuffle)
Changes
The first operand in the conditional operator `?:` is sequenced before the
second or third operand.
This was probably not implemented because it did not fit in the "single
successor" model of `
@@ -2001,3 +1932,304 @@ NormalizedConstraint::getFoldExpandedConstraint() const
{
"getFoldExpandedConstraint called on non-fold-expanded constraint.");
return cast(Constraint);
}
+
+//
+//
+// -
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132782
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
The missing descriptor should only happen if the pointer is null pointer.
---
Full diff: https://github.com/llvm/llvm-project/pull/132909.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/Pointer.
https://github.com/jmmartinez updated
https://github.com/llvm/llvm-project/pull/132048
From f7df0f882bb2062fa63111d07aca3c91d0805904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?=
Date: Thu, 20 Mar 2025 13:23:25 +0100
Subject: [PATCH 1/6] [AMDGPU] Add "lds-bu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Daniel Chen (DanielCChen)
Changes
In the wake of discussion in PR #131200 and internal discussion after,
we will add support for `LLVM_ENABLE_PER_TARGET_RUNTIME=ON` for AIX instead of
disable it. I already reverted the change in PR #13120
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Daniel Chen (DanielCChen)
Changes
In the wake of discussion in PR #131200 and internal discussion after,
we will add support for `LLVM_ENABLE_PER_TARGET_RUNTIME=ON` for AIX instead of
disable it. I already reverted the change in PR
https://github.com/DanielCChen updated
https://github.com/llvm/llvm-project/pull/132821
>From be03d5cf608498b11dd274ee6294a0c4e83d4c5e Mon Sep 17 00:00:00 2001
From: Daniel Chen
Date: Mon, 24 Mar 2025 15:45:33 -0400
Subject: [PATCH] [Driver] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON on AIX.
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/132849
>From b5b5275093f6942238536834c6508551f7ceffd8 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Sun, 16 Mar 2025 23:34:19 +0100
Subject: [PATCH 1/9] [Clang] Improve subsumption.
The main goal of this patch
YLChenZ wrote:
My proposal is to judge the current `FieldDecl` at the beginning of the loop,
and if it's a UnamedBitField, just skip it, because at that point the
UnamedBitField's static check should be passing. If it's a NamedBitField then
it needs to be initialized to pass the static check (
https://github.com/dfukalov closed
https://github.com/llvm/llvm-project/pull/104825
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,81 @@
+//===--===//
+//
+// 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: Apac
@@ -0,0 +1,81 @@
+//===--===//
+//
+// 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: Apac
@@ -749,132 +759,124 @@ ExprResult Sema::CheckPackExpansion(Expr *Pattern,
SourceLocation EllipsisLoc,
PackExpansionExpr(Context.DependentTy, Pattern, EllipsisLoc,
NumExpansions);
}
+static bool IsUnexpandedPackExpansion(const TemplateArgument &TA) {
+ if (!TA.isPackExp
https://github.com/offsetof updated
https://github.com/llvm/llvm-project/pull/132778
>From 0aa1e7b83888bde7112327fba7db9bdcb71c43d9 Mon Sep 17 00:00:00 2001
From: offsetof
Date: Mon, 24 Mar 2025 16:28:28 +
Subject: [PATCH 1/3] [clang] Implement CWG2815
CWG2815 "Overload resolution for refe
@@ -1073,6 +1073,28 @@ inputs. Here is some example of ``$``-prefixed options:
Language and Target-Independent Features
+Freestanding Builds
+---
+Passing the ``-ffreestanding`` flag causes Clang to build for a freestand
dwblaikie wrote:
> FYI: There is already VTable support in our lldb::SBValue class and it is
> part of the public API in LLDB and doesn't require any of this:
> ...
> Doesn't require any debug info.
Does this/can this be used to determine the type of an object that points to
that vtable, thoug
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/132821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -10509,14 +10516,18 @@ static bool AnalyzeBitFieldAssignment(Sema &S,
FieldDecl *Bitfield, Expr *Init,
ED->getNumPositiveBits() == FieldWidth) {
DiagID = diag::warn_signed_bitfield_enum_conversion;
}
-
+ unsigned PreferredTypeDiagIndex =
@@ -6418,6 +6418,12 @@ def warn_signed_bitfield_enum_conversion : Warning<
InGroup, DefaultIgnore;
def note_change_bitfield_sign : Note<
"consider making the bitfield type %select{unsigned|signed}0">;
+def warn_ms_bitfield_mismatched_storage_packing : Warning<
+ "bit-field
@@ -6404,20 +6404,23 @@ def warn_bitfield_width_exceeds_type_width: Warning<
def err_bitfield_too_wide : Error<
"%select{bit-field %1|anonymous bit-field}0 is too wide (%2 bits)">;
def warn_bitfield_too_small_for_enum : Warning<
- "bit-field %0 is not wide enough to store al
@@ -11432,6 +11433,22 @@ static QualType mergeEnumWithInteger(ASTContext
&Context, const EnumType *ET,
return {};
}
+QualType ASTContext::mergeTagTypes(QualType LHS, QualType RHS) {
+ // C17 and earlier and C++ disallow two tag definitions within the same TU
+ // from bei
topperc wrote:
> Do you hit the same problem with `llvm::Bitset` as you do with `std::bitset`?
Yeah. There's no way to access the underlying array. The constructor for
llvm::Bitset takes a list of bits. Maybe we could print out the bit positions
instead of the array?
https://github.com/llvm/l
https://github.com/frasercrmck edited
https://github.com/llvm/llvm-project/pull/132956
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jyknight edited
https://github.com/llvm/llvm-project/pull/132232
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jyknight edited
https://github.com/llvm/llvm-project/pull/132232
___
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-tools-extra
Author: None (higher-performance)
Changes
`nullptr` is not supported on earlier versions of either standard, so the tidy
should not diagnose earlier uses.
---
Full diff: https://github.com/llvm/llvm-project/pull/132816.diff
1 Files
https://github.com/cassiebeckley updated
https://github.com/llvm/llvm-project/pull/132848
>From 959f0374df39a97d22740ae81d132bed300159ea Mon Sep 17 00:00:00 2001
From: Cassandra Beckley
Date: Mon, 24 Mar 2025 17:36:46 -0700
Subject: [PATCH 1/2] [HLSL] Add __spirv__ macro
This macro can be used
https://github.com/farzonl approved this pull request.
https://github.com/llvm/llvm-project/pull/132848
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/frasercrmck edited
https://github.com/llvm/llvm-project/pull/132956
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/topperc updated
https://github.com/llvm/llvm-project/pull/132895
>From f2414caba966f44d5ecb41e7e35b570d05b6fa53 Mon Sep 17 00:00:00 2001
From: Craig Topper
Date: Tue, 25 Mar 2025 00:04:31 -0700
Subject: [PATCH 1/2] [RISCV] Make RequiredExtensions for intrinsics scalable
to m
mizvekov wrote:
Yeah I agree with @zyn0217 here. Otherwise I haven't been able to take a look
at the crash yet.
https://github.com/llvm/llvm-project/pull/132919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
@@ -0,0 +1,18 @@
+// RUN: %clang_cc1 %s -triple spirv-pc-vulkan-compute -verify
+
+typedef float float2 __attribute__((ext_vector_type(2)));
+
+float2 test_no_second_arg(float2 p0) {
+ return __builtin_spirv_smoothstep(p0);
+ // expected-error@-1 {{too few arguments to function
https://github.com/frasercrmck created
https://github.com/llvm/llvm-project/pull/132956
These three functions all relatedin that they share tables and helper
functions. Furthermore, the acosh builtins calls log1p.
As with other work in this area, these builtins are now vectorized. To enable
t
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 c65fa9163e47af5e86b2a187dd45ae665cf5a996
a564da2384ae1412647d1134aaf5359fe30e75a7 --e
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/132882
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,456 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c23 -pedantic -Wall -Wno-comment
-verify=both,c23 %s
+// RUN: %clang_cc1 -fsyntax-only -std=c17 -pedantic -Wall -Wno-comment
-Wno-c23-extensions -verify=both,c17 %s
+
+/* WG14 N3037:
+ * Improved tag compatibility
+ *
+ *
https://github.com/dmpolukhin updated
https://github.com/llvm/llvm-project/pull/132214
>From 91e057bf990e2c454b897982ed0b4e823bb3faba Mon Sep 17 00:00:00 2001
From: Dmitry Polukhin
Date: Thu, 20 Mar 2025 06:51:46 -0700
Subject: [PATCH 1/4] [clang] Fix for regression #130917
Changes in #111992
https://github.com/dmpolukhin updated
https://github.com/llvm/llvm-project/pull/132214
>From 91e057bf990e2c454b897982ed0b4e823bb3faba Mon Sep 17 00:00:00 2001
From: Dmitry Polukhin
Date: Thu, 20 Mar 2025 06:51:46 -0700
Subject: [PATCH 1/3] [clang] Fix for regression #130917
Changes in #111992
@@ -169,6 +169,20 @@ B b;
// since-cxx11-error@-1 {{call to implicitly-deleted default constructor of
'B'}}
// since-cxx11-note@#cwg2273-B {{default constructor of 'B' is implicitly
deleted because base class 'A' has a deleted default constructor}}
// since-cxx11-note@#cw
lenary wrote:
Do you hit the same problem with `llvm::Bitset` as you do with `std::bitset`.
https://github.com/llvm/llvm-project/pull/132895
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
1 - 100 of 566 matches
Mail list logo