@@ -68,15 +66,18 @@ void test_builtin_elementwise_add_sat(float f1, float f2,
double d1, double d2,
long long int i2, si8 vi1, si8 vi2,
unsigned u1, unsigned u2, u4 vu1, u4 vu2,
anutosh491 wrote:
Hey @vgvassilev
Just curious to know as to what work is left here and if any help is needed for
the same ?
https://github.com/llvm/llvm-project/pull/84769
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
https://github.com/GeorgeKA updated
https://github.com/llvm/llvm-project/pull/120900
>From faf8597dbb58a08991e11e9c4b9a0aad2f0b4234 Mon Sep 17 00:00:00 2001
From: GeorgeKA
Date: Sun, 22 Dec 2024 09:42:36 -0500
Subject: [PATCH 1/3] [Clang][Driver][Test] Created test for unsupported driver
optio
https://github.com/ccotter updated
https://github.com/llvm/llvm-project/pull/114244
>From fd914cc82688b122654d2d7ada72007541b197c0 Mon Sep 17 00:00:00 2001
From: Chris Cotter
Date: Wed, 30 Oct 2024 10:54:49 -0400
Subject: [PATCH 01/10] Add bugprone-sprintf-overlap
---
.../bugprone/BugproneTid
@@ -2235,6 +2235,24 @@ TEST_P(ASTMatchersTest,
ArgumentCountIs_CXXConstructExpr) {
Constructor1Arg));
}
+TEST_P(ASTMatchersTest, HasDependentName_DependentScopeDeclRefExpr) {
+ if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) {
+// FIXM
https://github.com/HighCommander4 approved this pull request.
Thanks! The update looks good, I have one more minor suggestion for a change
which I'll just go ahead and make before merging.
https://github.com/llvm/llvm-project/pull/121656
___
cfe-commi
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/121656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/121550
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 commented:
Oh, previously we didn't allow `-fallow-pcm-with-compiler-errors` so we didn't
meet such problems. Out of curiosity (not a blocking issue), why do you want
this feature for C++20 modules?
https://github.com/llvm/llvm-project/pull/121550
@@ -6227,8 +6227,10 @@ void ASTWriter::WriteDeclUpdatesBlocks(ASTContext
&Context,
// Add a trailing update record, if any. These must go last because we
// lazily load their attached statement.
if (!GeneratingReducedBMI || !CanElideDeclDef(D)) {
- if (HasUpda
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/121656
>From 4cd48886384570e0e5bb0b712f4fd45f8decd27e Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 4 Jan 2025 17:36:05 +0100
Subject: [PATCH 1/4] [Clang][ASTMatcher] Add a matcher for the name of a
De
ChuanqiXu9 wrote:
It looks nice to backport this if we're still in the release circle for 19.x
https://github.com/llvm/llvm-project/pull/118537
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
ChuanqiXu9 wrote:
/cherry-pick 9f1e9f682d0a85ea013ccbce6a3ec4ac1be8335
https://github.com/llvm/llvm-project/pull/118537
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 milestoned
https://github.com/llvm/llvm-project/pull/118537
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ChuanqiXu9 wrote:
> > Why is this submitted against the release/19.x branch? Is this a backport?
> > If so, please indicate which commit it backports.
>
> Not a backport but a new commit. I have now re-submitted it against `main`,
> but I'd like it back-ported to `19.x` if possible.
It is bet
llvmbot wrote:
Failed to cherry-pick: 9f1e9f682d0a85ea013ccbce6a3ec4ac1be8335
https://github.com/llvm/llvm-project/actions/runs/12625144536
Please manually backport the fix and push it to your github fork. Once this is
done, please create a [pull
request](https://github.com/llvm/llvm-projec
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/120842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Amr Hesham
Date: 2025-01-05T21:17:06-05:00
New Revision: f3590c16da9e6bb5c3b22f4593ef794a43dc8b5d
URL:
https://github.com/llvm/llvm-project/commit/f3590c16da9e6bb5c3b22f4593ef794a43dc8b5d
DIFF:
https://github.com/llvm/llvm-project/commit/f3590c16da9e6bb5c3b22f4593ef794a43dc8b5d.diff
LO
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/121656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/121323
>From 896db4495ff2c29c2e623d92e004ef64f49c8dd0 Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Mon, 30 Dec 2024 16:38:29 +0800
Subject: [PATCH] [clang-tidy] fix incorrect configuration file path resolving
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/121406
>From 8f8e8c5141fcb6b6d468c80cf3ceb4fdd88eecca Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Wed, 1 Jan 2025 01:11:36 +0800
Subject: [PATCH] [clang-tidy][NFC] optimize cache for config option
Current im
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/121313
>From d5403c8f7dcdf15409febf1851bd8dc19b2babab Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sun, 6 Oct 2024 00:41:48 -0400
Subject: [PATCH] [clangd] Add a unit test suite for HeuristicResolver
Fixes
HighCommander4 wrote:
In the latest update, matchers for the `DependentNameType` cases are revised to
be more specific. Here, the approach I took was to match the context in which
the types appear.
@hokein I believe your comment about using more specific matchers should be
fully addressed now
https://github.com/HerrCai0907 commented:
Please update release note.
I agree to enable this feature by default if adding an option.
https://github.com/llvm/llvm-project/pull/121506
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
@@ -174,6 +177,8 @@ struct OMPContext {
BitVector ActiveTraits = BitVector(unsigned(TraitProperty::Last) + 1);
SmallVector ConstructTraits;
+ static int DeviceNum;
+ static StringRef DeviceNumID;
Ritanya-B-Bharadwaj wrote:
Agreed. I have made it non-sta
https://github.com/ccotter updated
https://github.com/llvm/llvm-project/pull/114244
>From fd914cc82688b122654d2d7ada72007541b197c0 Mon Sep 17 00:00:00 2001
From: Chris Cotter
Date: Wed, 30 Oct 2024 10:54:49 -0400
Subject: [PATCH 01/15] Add bugprone-sprintf-overlap
---
.../bugprone/BugproneTid
ChuanqiXu9 wrote:
@jijjijj automated backport failed. You can create a PR to release/19.x
manually to backport it.
https://github.com/llvm/llvm-project/pull/118537
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
@@ -101,6 +101,25 @@ enum ForDefinition_t : bool {
ForDefinition = true
};
+class CounterPair : public std::pair {
chapuni wrote:
Added comments, and refactored more.
- Introduce the subclass `ValueOpt` and move mask operations into it.
- Name the pair as `
@@ -122,6 +123,18 @@ class CodeGenPGO {
Address MCDCCondBitmapAddr, llvm::Value *Val,
CodeGenFunction &CGF);
+ void markStmtAsUsed(bool Skipped, const Stmt *S) {
+// Do nothing.
+ }
+
+ void markStmtMaybeUs
https://github.com/ccotter updated
https://github.com/llvm/llvm-project/pull/114244
>From fd914cc82688b122654d2d7ada72007541b197c0 Mon Sep 17 00:00:00 2001
From: Chris Cotter
Date: Wed, 30 Oct 2024 10:54:49 -0400
Subject: [PATCH 01/12] Add bugprone-sprintf-overlap
---
.../bugprone/BugproneTid
@@ -0,0 +1,82 @@
+//===--- UndefinedSprintfOverlapCheck.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: Apa
https://github.com/ccotter updated
https://github.com/llvm/llvm-project/pull/114244
>From fd914cc82688b122654d2d7ada72007541b197c0 Mon Sep 17 00:00:00 2001
From: Chris Cotter
Date: Wed, 30 Oct 2024 10:54:49 -0400
Subject: [PATCH 01/12] Add bugprone-sprintf-overlap
---
.../bugprone/BugproneTid
@@ -86,6 +86,7 @@
#include "TooSmallLoopVariableCheck.h"
#include "UncheckedOptionalAccessCheck.h"
#include "UndefinedMemoryManipulationCheck.h"
+#include "SprintfArgumentOverlapCheck.h"
EugeneZelenko wrote:
Please keep alphabetical order. Same in other list-l
@@ -1869,7 +1871,10 @@ void CodeGenFunction::EmitAutoVarInit(const
AutoVarEmission &emission) {
// If we are at an unreachable point, we don't need to emit the initializer
// unless it contains a label.
if (!HaveInsertPoint()) {
-if (!Init || !ContainsLabel(Init)) re
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/110381
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -941,6 +941,19 @@ struct CounterCoverageMappingBuilder
return Counter::getCounter(CounterMap[S]);
}
+ std::pair getBranchCounterPair(const Stmt *S,
chapuni wrote:
Done but I am still dubious namings would be appropriate. Not all users expect
`[Exec
@@ -0,0 +1,82 @@
+//===--- UndefinedSprintfOverlapCheck.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: Apa
https://github.com/ccotter updated
https://github.com/llvm/llvm-project/pull/114244
>From fd914cc82688b122654d2d7ada72007541b197c0 Mon Sep 17 00:00:00 2001
From: Chris Cotter
Date: Wed, 30 Oct 2024 10:54:49 -0400
Subject: [PATCH 01/13] Add bugprone-sprintf-overlap
---
.../bugprone/BugproneTid
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/121313
>From dfde3a11f9e90e75ba5118959b0ad101b6369734 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sun, 6 Oct 2024 00:41:48 -0400
Subject: [PATCH] [clangd] Add a unit test suite for HeuristicResolver
Fixes
HighCommander4 wrote:
(Rebased)
https://github.com/llvm/llvm-project/pull/121313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/121313
>From 63d9512fb376ee9bb837bad3f3d107969e561371 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sun, 6 Oct 2024 00:41:48 -0400
Subject: [PATCH] [clangd] Add a unit test suite for HeuristicResolver
Fixes
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test`
while building `clang` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/76/builds/5845
Here is the
HighCommander4 wrote:
In the latest update, I use the new `hasDependentName()` matcher added in
https://github.com/llvm/llvm-project/issues/121610 to make the matchers using
`dependentScopeDeclRefExpr()` more specific.
https://github.com/llvm/llvm-project/pull/121313
__
@@ -83,6 +83,7 @@ add_clang_library(clangTidyBugproneModule STATIC
TooSmallLoopVariableCheck.cpp
UncheckedOptionalAccessCheck.cpp
UndefinedMemoryManipulationCheck.cpp
+ SprintfArgumentOverlapCheck.cpp
EugeneZelenko wrote:
Ditto.
https://github.com/llvm
@@ -154,6 +154,7 @@ Clang-Tidy Checks
:doc:`bugprone-too-small-loop-variable `,
:doc:`bugprone-unchecked-optional-access
`,
:doc:`bugprone-undefined-memory-manipulation
`,
+ :doc:`bugprone-sprintf-argument-overlap
`,
EugeneZelenko wrote:
Ditto.
@@ -248,6 +249,8 @@ class BugproneModule : public ClangTidyModule {
"bugprone-unchecked-optional-access");
CheckFactories.registerCheck(
"bugprone-undefined-memory-manipulation");
+CheckFactories.registerCheck(
EugeneZelenko wrote:
Alph
https://github.com/ccotter updated
https://github.com/llvm/llvm-project/pull/114244
>From fd914cc82688b122654d2d7ada72007541b197c0 Mon Sep 17 00:00:00 2001
From: Chris Cotter
Date: Wed, 30 Oct 2024 10:54:49 -0400
Subject: [PATCH 01/16] Add bugprone-sprintf-overlap
---
.../bugprone/BugproneTid
https://github.com/Ritanya-B-Bharadwaj updated
https://github.com/llvm/llvm-project/pull/118471
>From cb3bfb497c6f65bc185dc4fe7b8d9c5dbd92c4f0 Mon Sep 17 00:00:00 2001
From: Ritanya B Bharadwaj
Date: Tue, 3 Dec 2024 03:58:40 -0600
Subject: [PATCH 1/3] Initial parsing/sema support for target_dev
https://github.com/4vtomat edited
https://github.com/llvm/llvm-project/pull/100346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
4vtomat wrote:
Update:
1. Handle struct of fixed-length vectors
2. Remove `-mriscv-abi-vlen=N` option
https://github.com/llvm/llvm-project/pull/100346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
@@ -1953,7 +1953,7 @@ class alignas(TypeAlignment) Type : public
ExtQualsTypeCommonBase {
/// Extra information which affects how the function is called, like
/// regparm and the calling convention.
LLVM_PREFERRED_TYPE(CallingConv)
-unsigned ExtInfo : 13;
+
@@ -3013,6 +3013,7 @@ enum CXCallingConv {
CXCallingConv_M68kRTD = 19,
CXCallingConv_PreserveNone = 20,
CXCallingConv_RISCVVectorCall = 21,
+ CXCallingConv_RISCVVLSCall = 22,
kito-cheng wrote:
Just use different calling convention to distinguish, then i
https://github.com/ccotter updated
https://github.com/llvm/llvm-project/pull/114244
>From fd914cc82688b122654d2d7ada72007541b197c0 Mon Sep 17 00:00:00 2001
From: Chris Cotter
Date: Wed, 30 Oct 2024 10:54:49 -0400
Subject: [PATCH 01/17] Add bugprone-sprintf-overlap
---
.../bugprone/BugproneTid
Author: Vlad Serebrennikov
Date: 2025-01-05T21:29:32+03:00
New Revision: f53abc2db07abfa38af9365bc15572112adbe040
URL:
https://github.com/llvm/llvm-project/commit/f53abc2db07abfa38af9365bc15572112adbe040
DIFF:
https://github.com/llvm/llvm-project/commit/f53abc2db07abfa38af9365bc15572112adbe040.
alexrp wrote:
ping
https://github.com/llvm/llvm-project/pull/119997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chandlerc wrote:
> > @dyung -- Ok, my latest attempt to work around these MSVC issues is now
> > pushed to this PR. It also contains a commit of specifically debugging
> > hacks to try and extract more information from any failure here. If you
> > could try doing another build with the latest
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/121679
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vlad Serebrennikov
Date: 2025-01-05T13:15:08+04:00
New Revision: fbc198c548cf21bb2be29509a46913a57f95e610
URL:
https://github.com/llvm/llvm-project/commit/fbc198c548cf21bb2be29509a46913a57f95e610
DIFF:
https://github.com/llvm/llvm-project/commit/fbc198c548cf21bb2be29509a46913a57f95e610.
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/121660
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vlad Serebrennikov
Date: 2025-01-05T13:17:15+04:00
New Revision: 3321c2d72ab7757dbdd38bdd99a76d89293dac8a
URL:
https://github.com/llvm/llvm-project/commit/3321c2d72ab7757dbdd38bdd99a76d89293dac8a
DIFF:
https://github.com/llvm/llvm-project/commit/3321c2d72ab7757dbdd38bdd99a76d89293dac8a.
@@ -337,3 +337,15 @@ template
void h(int i = 0, T ...args, int j = 1) {}
#endif
}
+
+namespace cwg794 { // cwg794: 2.7
+struct B {};
+struct D : B {};
+struct X {
+ D d;
+};
+struct Y : X {};
+B Y::*pm = &X::d;
+// expected-error@-1 {{cannot initialize a variable of type 'B Y
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/121687
This patch adds test for
[CWG203](https://cplusplus.github.io/CWG/issues/203.html). Author was asking to
change the type of pointer-to-member expression to be closer to how it's
written as opposed to where the
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/121654
>From dcd29ca8c77e24c532ca8300a7e46f5498ffebbb Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Sat, 4 Jan 2025 19:37:46 +0300
Subject: [PATCH 1/2] [clang] Add test for CWG156 "Name lookup for conversion
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/121687
>From bca2bfe17b71faeebf65eba11adcb70927f878fd Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Sun, 5 Jan 2025 13:58:16 +0300
Subject: [PATCH 1/2] [clang] Add test for CWG203 "Type of address-of-member
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/121688
This patch plugs holes in RUN lines in C++ DR tests, making sure they are run
in C++98 through C++26, with the exception of C++03, which in Clang is
synonymous to C++98.
>From d6e8b78f2209c4bc29d47b8d196ec9ec9
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
This patch plugs holes in RUN lines in C++ DR tests, making sure they are run
in C++98 through C++26, with the exception of C++03, which in Clang is
synonymous to C++98.
---
Full diff: https://github.
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/121654
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/121654
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/121654
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vlad Serebrennikov
Date: 2025-01-05T15:49:55+04:00
New Revision: 64e8d5b1baaa478c40931d290bf30687a6c93dac
URL:
https://github.com/llvm/llvm-project/commit/64e8d5b1baaa478c40931d290bf30687a6c93dac
DIFF:
https://github.com/llvm/llvm-project/commit/64e8d5b1baaa478c40931d290bf30687a6c93dac.
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/121654
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?André?= Brand
Message-ID:
In-Reply-To:
https://github.com/thebrandre edited
https://github.com/llvm/llvm-project/pull/121039
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lukel97 approved this pull request.
Apologies for the delay on this again. However I tried it out locally and it
now seems to work on macOS, thanks for fixing that!
I really can't speak much for the elisp, but we don't have many reviewers for
the emacs stuff and this featur
dyung wrote:
> @dyung -- Ok, my latest attempt to work around these MSVC issues is now
> pushed to this PR. It also contains a commit of specifically debugging hacks
> to try and extract more information from any failure here. If you could try
> doing another build with the latest commit
> ([
Author: Vlad Serebrennikov
Date: 2025-01-05T20:46:23+03:00
New Revision: 743c84bb9b79ed70d9bed926c2a173db3b30f587
URL:
https://github.com/llvm/llvm-project/commit/743c84bb9b79ed70d9bed926c2a173db3b30f587
DIFF:
https://github.com/llvm/llvm-project/commit/743c84bb9b79ed70d9bed926c2a173db3b30f587.
=?utf-8?q?André?= Brand
Message-ID:
In-Reply-To:
thebrandre wrote:
@cor3ntin I hope there is no misunderstanding here. If so, I apologize,
I strongly agree with you that some refactoring should be applied because, as I
mentioned, the diagnostics get duplicated in certain cases as shown here
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/121614
>From b8f6ffc0a98a0d3ac55fba4e6ee680f1edea4571 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 4 Jan 2025 02:24:26 +0200
Subject: [PATCH 1/4] [Clang] disallow attributes after namespace identifier
---
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/121614
>From b8f6ffc0a98a0d3ac55fba4e6ee680f1edea4571 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 4 Jan 2025 02:24:26 +0200
Subject: [PATCH 1/3] [Clang] disallow attributes after namespace identifier
---
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/121614
>From b8f6ffc0a98a0d3ac55fba4e6ee680f1edea4571 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 4 Jan 2025 02:24:26 +0200
Subject: [PATCH 1/3] [Clang] disallow attributes after namespace identifier
---
https://github.com/cor3ntin approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/121614
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/121614
>From b8f6ffc0a98a0d3ac55fba4e6ee680f1edea4571 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 4 Jan 2025 02:24:26 +0200
Subject: [PATCH 1/4] [Clang] disallow attributes after namespace identifier
---
@@ -100,7 +103,7 @@ Parser::DeclGroupPtrTy
Parser::ParseNamespace(DeclaratorContext Context,
} while (MoreToParse);
};
- ReadAttributes();
+ ReadAttributes(/*TrailingAttrs*/ false);
a-tarasyuk wrote:
@cor3ntin is it acceptable to use `DiagnoseAndSkip
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-ubuntu`
running on `as-builder-9` while building `clang` at step 16
"test-check-lldb-api".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/195/builds/3042
Here is the relevant piece
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
This patch adds test for
[CWG203](https://cplusplus.github.io/CWG/issues/203.html). Author was asking to
change the type of pointer-to-member expression to be closer to how it's
written as opposed to
=?utf-8?q?André?= Brand
Message-ID:
In-Reply-To:
thebrandre wrote:
@cor3ntin Good news! I figured it out on my own! And I now have a fix that I am
confident in. 🙂
I analyzed the steps of the parser in **a lot** of similar cases, for which I
also added quite a few regression tests.
The attr
@@ -951,28 +959,130 @@ Sema::ActOnDecompositionDeclarator(Scope *S, Declarator
&D,
return New;
}
+namespace {
+// CheckBindingsCount
+// - Checks the arity of the structured bindings
+// - Creates the resolved pack expr if there is
+//one
+bool CheckBindingsCount(Sema
https://github.com/sharadhr edited
https://github.com/llvm/llvm-project/pull/121046
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
frederick-vs-ja wrote:
We also need to export `std::ranges::concat_view` and
`std::ranges::views::concat` in `main/libcxx/modules/std/ranges.inc`.
https://github.com/llvm/llvm-project/pull/120920
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
@@ -0,0 +1,623 @@
+// -*- C++ -*-
+//===--===//
+//
+// 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
=?utf-8?q?André?= Brand
Message-ID:
In-Reply-To:
cor3ntin wrote:
> Thanks for the PR. Can you update the commit message to be more descriptive?
>
> I'm not sure the fix is sufficient.
> I think most of the checks done in `ActOnEnumBody` should be (re) performed
> on instantiation.
>
> Maybe
@@ -0,0 +1,623 @@
+// -*- C++ -*-
+//===--===//
+//
+// 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
sharadhr wrote:
> Why is this submitted against the release/19.x branch? Is this a backport? If
> so, please indicate which commit it backports.
Not a backport but a fix. I have now re-submitted it against `main`, but I'd
like it back-ported to `19.x` if possible.
https://github.com/llvm/llvm
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/121660
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -100,7 +103,7 @@ Parser::DeclGroupPtrTy
Parser::ParseNamespace(DeclaratorContext Context,
} while (MoreToParse);
};
- ReadAttributes();
+ ReadAttributes(/*TrailingAttrs*/ false);
a-tarasyuk wrote:
@cor3ntin thanks for the review. I've changed para
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/121614
>From b8f6ffc0a98a0d3ac55fba4e6ee680f1edea4571 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 4 Jan 2025 02:24:26 +0200
Subject: [PATCH 1/2] [Clang] disallow attributes after namespace identifier
---
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu`
running on `linaro-lldb-aarch64-ubuntu` while building `clang` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/59/builds/10583
Here is the relevant piece of the
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/121688
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vlad Serebrennikov
Date: 2025-01-05T16:13:44+04:00
New Revision: 327e2b7c7659e2fff2e644850b767ca77234bef4
URL:
https://github.com/llvm/llvm-project/commit/327e2b7c7659e2fff2e644850b767ca77234bef4
DIFF:
https://github.com/llvm/llvm-project/commit/327e2b7c7659e2fff2e644850b767ca77234bef4.
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-hwasan` running on `sanitizer-buildbot12`
while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/55/builds/5080
Here is the rel
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/121656
>From 4cd48886384570e0e5bb0b712f4fd45f8decd27e Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 4 Jan 2025 17:36:05 +0100
Subject: [PATCH 1/2] [Clang][ASTMatcher] Add a matcher for the name of a
Depe
1 - 100 of 118 matches
Mail list logo