@@ -279,6 +280,90 @@ def test_is_default_method(self):
self.assertTrue(xc.is_default_method())
self.assertFalse(yc.is_default_method())
+def test_is_deleted_method(self):
+source = "class X { X() = delete; }; class Y { Y(); };"
+tu = get_tu(
@@ -357,6 +359,50 @@ def test_is_restrict_qualified(self):
self.assertTrue(i.type.is_restrict_qualified())
self.assertFalse(j.type.is_restrict_qualified())
+def test_get_result(self):
+tu = get_tu("void foo(); int bar(char, short);")
+foo =
@@ -357,6 +359,50 @@ def test_is_restrict_qualified(self):
self.assertTrue(i.type.is_restrict_qualified())
self.assertFalse(j.type.is_restrict_qualified())
+def test_get_result(self):
+tu = get_tu("void foo(); int bar(char, short);")
+foo =
https://github.com/Endilll approved this pull request.
https://github.com/llvm/llvm-project/pull/109846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2454,7 +2480,7 @@ def element_type(self):
If accessed on a type that is not an array, complex, or vector type, an
exception will be raised.
"""
-result = conf.lib.clang_getElementType(self)
+result = Type.from_result(conf.lib.clang_ge
https://github.com/Endilll approved this pull request.
https://github.com/llvm/llvm-project/pull/105490
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -231,6 +245,10 @@ linux_projects_to_test=$(exclude-linux
$(compute-projects-to-test ${modified_pro
linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq)
linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)
+linux_runtimes_to_tes
@@ -231,6 +245,10 @@ linux_projects_to_test=$(exclude-linux
$(compute-projects-to-test ${modified_pro
linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq)
linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)
+linux_runtimes_to_tes
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/93318
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll commented:
Hm
https://github.com/llvm/llvm-project/pull/108769
___
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/108769
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1952,6 +1952,8 @@ def enum_value(self):
underlying_type = self.type
if underlying_type.kind == TypeKind.ENUM:
underlying_type = underlying_type.get_declaration().enum_type
+if underlying_type.kind == TypeKind.ELABORATED:
-
@@ -600,6 +600,7 @@ namespace cwg336 { // cwg336: yes
template<> template class A::B {};
template<> template<> template void A::B::mf1(T t) {}
// expected-error@-1 {{out-of-line definition of 'mf1' does not match any
declaration in 'cwg336::Pre::A::B'}}
+// exp
@@ -108,6 +108,7 @@ namespace MultilevelSpecialization {
template<> template
void B::f(int i, int (&arr1)[a], int (&arr2)[b]) {}
// since-cxx11-error@-1 {{out-of-line definition of 'f' does not match any
declaration in 'cwg2233::MultilevelSpecialization::B'}}
+//
https://github.com/Endilll commented:
Implementation seems fine to me, but wait for other reviewers before merging.
https://github.com/llvm/llvm-project/pull/110638
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
@@ -357,6 +359,50 @@ def test_is_restrict_qualified(self):
self.assertTrue(i.type.is_restrict_qualified())
self.assertFalse(j.type.is_restrict_qualified())
+def test_get_result(self):
+tu = get_tu("void foo(); int bar(char, short);")
+foo =
@@ -102,12 +102,13 @@ namespace MultilevelSpecialization {
// default argument -- how far back do we look when determining whether a
// parameter was expanded from a pack?
// -- zygoloid 2020-06-02
- template struct B {
+ template struct B { // #defined-here
temp
@@ -758,16 +759,18 @@ namespace cwg347 { // cwg347: yes
void g();
};
- struct derived : base {};
+ struct derived : base {}; // #defined-here-derived
struct derived::nested {};
// expected-error@-1 {{no struct named 'nested' in 'cwg347::derived'}}
int derive
@@ -1009,18 +1012,20 @@ namespace cwg355 { struct ::cwg355_S s; }
// cwg356: na
namespace cwg357 { // cwg357: yes
- template struct A {
+ template struct A { // #defined-here-cwg357-A
void f() const; // #cwg357-f
};
template void A::f() {}
// expected-error@-1
@@ -597,9 +597,10 @@ namespace cwg336 { // cwg336: yes
void mf2();
};
};
-template<> template class A::B {};
+template<> template class A::B {}; // #defined-here-cwg336
Endilll wrote:
```suggestion
template<> template class A::B {
@@ -597,9 +597,10 @@ namespace cwg336 { // cwg336: yes
void mf2();
};
};
-template<> template class A::B {};
+template<> template class A::B {}; // #defined-here-cwg336
template<> template<> template void A::B::mf1(T t) {}
// expected-error@-
@@ -758,16 +759,18 @@ namespace cwg347 { // cwg347: yes
void g();
};
- struct derived : base {};
+ struct derived : base {}; // #defined-here-derived
Endilll wrote:
```suggestion
struct derived : base {}; // #cwg347-derived
```
https://github.com/l
@@ -1009,18 +1012,20 @@ namespace cwg355 { struct ::cwg355_S s; }
// cwg356: na
namespace cwg357 { // cwg357: yes
- template struct A {
+ template struct A { // #defined-here-cwg357-A
void f() const; // #cwg357-f
};
template void A::f() {}
// expected-error@-1
@@ -102,12 +102,13 @@ namespace MultilevelSpecialization {
// default argument -- how far back do we look when determining whether a
// parameter was expanded from a pack?
// -- zygoloid 2020-06-02
- template struct B {
+ template struct B { // #defined-here
-
@@ -1009,18 +1012,20 @@ namespace cwg355 { struct ::cwg355_S s; }
// cwg356: na
namespace cwg357 { // cwg357: yes
- template struct A {
+ template struct A { // #defined-here-cwg357-A
void f() const; // #cwg357-f
};
template void A::f() {}
// expected-error@-1
@@ -758,16 +759,18 @@ namespace cwg347 { // cwg347: yes
void g();
};
- struct derived : base {};
+ struct derived : base {}; // #defined-here-derived
struct derived::nested {};
// expected-error@-1 {{no struct named 'nested' in 'cwg347::derived'}}
int derive
@@ -1009,18 +1012,20 @@ namespace cwg355 { struct ::cwg355_S s; }
// cwg356: na
namespace cwg357 { // cwg357: yes
- template struct A {
+ template struct A { // #defined-here-cwg357-A
void f() const; // #cwg357-f
};
template void A::f() {}
// expected-error@-1
@@ -1009,18 +1012,20 @@ namespace cwg355 { struct ::cwg355_S s; }
// cwg356: na
namespace cwg357 { // cwg357: yes
- template struct A {
+ template struct A { // #defined-here-cwg357-A
Endilll wrote:
```suggestion
template struct A { // #cwg357-A
```
http
https://github.com/Endilll commented:
LGTM otherwise
https://github.com/llvm/llvm-project/pull/110842
___
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/110842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -29,6 +29,35 @@ namespace std {
#endif
} // namespace std
+namespace cwg2707 { // cwg2707: 20
+
+#if __cplusplus >= 202002L
+
+template struct A { // #cwg2707-A
+ T value[N];
+};
+
+template
+A(T...) -> A requires (sizeof...(T) == 2); //
#cwg2707-guide-A
+
+// Brace eli
@@ -29,6 +29,35 @@ namespace std {
#endif
} // namespace std
+namespace cwg2707 { // cwg2707: 20
+
+#if __cplusplus >= 202002L
+
+template struct A { // #cwg2707-A
+ T value[N];
+};
+
+template
+A(T...) -> A requires (sizeof...(T) == 2); //
#cwg2707-guide-A
+
+// Brace eli
https://github.com/Endilll approved this pull request.
https://github.com/llvm/llvm-project/pull/110842
___
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/111027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll commented:
The rest of changes to DR tests look good.
https://github.com/llvm/llvm-project/pull/111027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -203,6 +203,9 @@ namespace cwg1762 { // cwg1762: 14
float operator ""E(const char *);
// since-cxx11-error@-1 {{invalid suffix on literal; C++11 requires a space
between literal and identifier}}
// since-cxx11-warning@-2 {{user-defined literal suffixes not starting wi
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/111027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/115168
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 1/5] Add EvalASTMutator interface with
`InstantiateFunctionD
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/115168
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 1/4] Add EvalASTMutator interface with
`InstantiateFunctionD
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/115168
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/113439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/113736
CWG issues
[CWG279](https://cplusplus.github.io/CWG/issues/279.html) Correspondence of
"names for linkage purposes"
[P1787R6](https://wg21.link/p1787r6):
> CWG1884, CWG279, and CWG338 are
Endilll wrote:
@ChuanqiXu9 Can you take a quick look to make sure I'm not tripping over any
modules lines in those tests?
This is the PR I promised to pull you in almost 2 weeks ago (sorry for the
delay 😄).
https://github.com/llvm/llvm-project/pull/113736
__
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/113736
___
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/113736
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endilll wrote:
Ah, so it's the issue of PRs not being tested against `main`.
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endilll wrote:
Also, having to use absolute line numbers in expected directives sucks. I hope
I wouldn't need to change any comments at the top of CWG1884 test. At some
point I'll make `-verify` markers work for cross-TU scenarios.
https://github.com/llvm/llvm-project/pull/113736
_
Endilll wrote:
How did this get through pre-merge testing, I wonder.
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,26 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+a() {struct b c (sizeof(b * [({ {tree->d* next)} 0
+
+// expected-error@3 {{a type specifier is required for all declarations}}
+// expected-error@3 {{use of undeclared identifier 'tree'; did you mean
'true'?}}
+//
@@ -0,0 +1,26 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+a() {struct b c (sizeof(b * [({ {tree->d* next)} 0
+
+// expected-error@3 {{a type specifier is required for all declarations}}
+// expected-error@3 {{use of undeclared identifier 'tree'; did you mean
'true'?}}
+//
Endilll wrote:
> Also, do you have any ideas why the Win pipeline fails with checkout failure?
> How can I fix it?
It seems to be unrelated to you. Might be fixed when you'll push a new commit.
https://github.com/llvm/llvm-project/pull/114978
___
cfe
Endilll wrote:
> @Endilll, please, could you take a look?
My knowledge of wording about templates is not deep enough, unfortunately.
https://github.com/llvm/llvm-project/pull/114978
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/115168
None
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 1/2] Add EvalASTMutator interface with
`InstantiateFun
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/115168
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 1/3] Add EvalASTMutator interface with
`InstantiateFunctionD
Endilll wrote:
> > > @Endilll, please, could you take a look?
> >
> >
> > My knowledge of wording about templates is not deep enough, unfortunately.
>
> Could you, please, suggest someone who can review this part?
I've already added several people who should be able to, but mind that we're
v
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/115168
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 01/13] Add EvalASTMutator interface with
`InstantiateFunctio
Endilll wrote:
I added Sema callback into the new interpreter in
0b2d92e0fed41ee2428c3ef8b8369790a1279a21. I think it went smoothly, save for
the fact that source locations are not always readily available there, but they
are need to correctly emit diagnostics from Sema.
I invite @tbaederr to
Endilll wrote:
@zygoloid I definitely don't disagree with your points. After extensive
discussions with other maintainers (Shafik, Corentin, Erich, Aaron), I went
from passing the callback explicitly to very implicit approach, because of
reasons that lie outside of usage of AST in Clang itself
Endilll wrote:
> the special "the language rules say this is manifestly constant evaluated"
> cases that should be able to perform AST mutations, that we need to be
> extremely careful to invoke at exactly the right times and in exactly the
> right cases and to invoke only once
Can you expand
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/115168
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 1/8] Add EvalASTMutator interface with
`InstantiateFunctionD
@@ -182,6 +182,17 @@ struct TypeInfoChars {
}
};
+// Interface that allows constant evaluator to mutate AST.
+// Sema is the only entity that can implement this.
+struct EvalASTMutator {
+ virtual ~EvalASTMutator() = default;
+
+ virtual void
+ InstantiateFunctionDefiniti
@@ -8328,6 +8329,13 @@ class ExprEvaluatorBase
const FunctionDecl *Definition = nullptr;
Stmt *Body = FD->getBody(Definition);
+if (Info.Ctx.getLangOpts().CPlusPlus26 && Info.getASTMutator() &&
Endilll wrote:
Fixed
https://github.com/llvm/llvm-pr
Endilll wrote:
> For such an implementation that makes that choice, it would seem appropriate
> for define_aggregate to also be idempotent. But that should be a specific
> rule for that implementation, not a rule that appears in the standard. And we
> certainly shouldn't change the standard to
Author: Vlad Serebrennikov
Date: 2024-09-17T12:12:49+03:00
New Revision: 88a9bcaf7074d21aa818cfa3952300dc9547be77
URL:
https://github.com/llvm/llvm-project/commit/88a9bcaf7074d21aa818cfa3952300dc9547be77
DIFF:
https://github.com/llvm/llvm-project/commit/88a9bcaf7074d21aa818cfa3952300dc9547be77.
Endilll wrote:
> @Endilll: I've removed the other changes from `cxx_dr_status.html` manually
> from this commit. Can you create the separate patch to add the new cwg
> issues? Thanks!
Pushed 331d65d0e271d22da9f496f2bb628b93ab515725
https://github.com/llvm/llvm-project/pull/108817
Endilll wrote:
> @Endilll: I've removed the other changes from `cxx_dr_status.html` manually
> from this commit. Can you create the separate patch to add the new cwg
> issues? Thanks!
Pushed 88a9bcaf7074d21aa818cfa3952300dc9547be77
https://github.com/llvm/llvm-project/pull/108817
Endilll wrote:
> That was always true, in the sense that there's nothing preventing the author
> from doing the exact same thing: looking at the output from the clang -verify
> failure and adding/removing expected diagnostics until it matches. In fact,
> even without this script that is the mo
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/115168
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 01/10] Add EvalASTMutator interface with
`InstantiateFunctio
Endilll wrote:
> @zygoloid @katzdm for awareness
This PR is still in flux. Discussions are lengthy and typically happen in
meetings.
My plan is to get to a stable point, write down how we got there, alternatives
rejected (with reasoning), and get the PR out of the draft status. This would
be
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/115168
>From 5ca48e03412b1b8e9253f13356b9cc957f6fd9e5 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Wed, 6 Nov 2024 17:58:43 +0300
Subject: [PATCH 01/11] Add EvalASTMutator interface with
`InstantiateFunctio
Endilll wrote:
> > > the special "the language rules say this is manifestly constant
> > > evaluated" cases that should be able to perform AST mutations, that we
> > > need to be extremely careful to invoke at exactly the right times and in
> > > exactly the right cases and to invoke only once
Endilll wrote:
For the record, Aaron is not on vacation. So if you need his sign-off, you
should wait.
https://github.com/llvm/llvm-project/pull/116719
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
@@ -174,6 +174,26 @@ static_assert(!__is_layout_compatible(StructWithAnonUnion,
StructWithAnonUnion3)
#endif
} // namespace cwg2759
+#if __cplusplus >= 202002L
+namespace cwg2770 { // cwg2770: 20
Endilll wrote:
> Yes, I implemented what that issue proposed.
Author: Vlad Serebrennikov
Date: 2025-01-06T12:29:31+03:00
New Revision: eff126501efc3981727ef0e918c4dca0fa2eb778
URL:
https://github.com/llvm/llvm-project/commit/eff126501efc3981727ef0e918c4dca0fa2eb778
DIFF:
https://github.com/llvm/llvm-project/commit/eff126501efc3981727ef0e918c4dca0fa2eb778.
Author: Vlad Serebrennikov
Date: 2025-01-06T12:24:18+03:00
New Revision: 2a593bbcf3b022a4ac11a76e03883d6aae2f000c
URL:
https://github.com/llvm/llvm-project/commit/2a593bbcf3b022a4ac11a76e03883d6aae2f000c
DIFF:
https://github.com/llvm/llvm-project/commit/2a593bbcf3b022a4ac11a76e03883d6aae2f000c.
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/3] [clang] Add test for CWG203 "Type of address-of-member
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/4] [clang] Add test for CWG203 "Type of address-of-member
@@ -41,6 +42,141 @@ namespace cwg202 { // cwg202: 3.1
template struct X;
}
+namespace cwg203 { // cwg203: 3.0
+namespace ex1 {
+struct B {
+ int i;
+};
+struct D1 : B {};
+struct D2 : B {};
+
+int(D1::*pmD1) = &D2::i;
+} // namespace ex1
+
+#if __cplusplus >= 202002L
+names
@@ -41,6 +42,141 @@ namespace cwg202 { // cwg202: 3.1
template struct X;
}
+namespace cwg203 { // cwg203: 3.0
+namespace ex1 {
+struct B {
+ int i;
+};
+struct D1 : B {};
+struct D2 : B {};
+
+int(D1::*pmD1) = &D2::i;
+} // namespace ex1
+
+#if __cplusplus >= 202002L
+names
@@ -41,6 +42,141 @@ namespace cwg202 { // cwg202: 3.1
template struct X;
}
+namespace cwg203 { // cwg203: 3.0
+namespace ex1 {
+struct B {
+ int i;
+};
+struct D1 : B {};
+struct D2 : B {};
+
+int(D1::*pmD1) = &D2::i;
+} // namespace ex1
+
+#if __cplusplus >= 202002L
+names
Author: Vlad Serebrennikov
Date: 2025-01-06T18:32:44+03:00
New Revision: 1229b78f1676d56d0d386a5c4cde8f98a78d0989
URL:
https://github.com/llvm/llvm-project/commit/1229b78f1676d56d0d386a5c4cde8f98a78d0989
DIFF:
https://github.com/llvm/llvm-project/commit/1229b78f1676d56d0d386a5c4cde8f98a78d0989.
https://github.com/Endilll approved this pull request.
Yes, you handled the creation of `SemaSPIRV` perfectly.
(I'm the one who introduced the rest of `Sema*` parts.)
https://github.com/llvm/llvm-project/pull/121598
___
cfe-commits mailing list
cfe-com
@@ -174,6 +174,26 @@ static_assert(!__is_layout_compatible(StructWithAnonUnion,
StructWithAnonUnion3)
#endif
} // namespace cwg2759
+#if __cplusplus >= 202002L
+namespace cwg2770 { // cwg2770: 20
Endilll wrote:
CWG2770 is still open (`clang/www/make_cxx_dr_s
Author: Vlad Serebrennikov
Date: 2025-01-06T17:30:39+03:00
New Revision: b79d3b9519620e34f0e223fdb4a6731db6cda88f
URL:
https://github.com/llvm/llvm-project/commit/b79d3b9519620e34f0e223fdb4a6731db6cda88f
DIFF:
https://github.com/llvm/llvm-project/commit/b79d3b9519620e34f0e223fdb4a6731db6cda88f.
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/121785
One of our contributors got confused by the behavior of the script when they
incorrectly specified the status of a CWG issue
(https://github.com/llvm/llvm-project/pull/102857/files#r1904264872), and this
is an
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/121687
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1328,4 +1328,57 @@ void SemaARM::handleInterruptAttr(Decl *D, const
ParsedAttr &AL) {
ARMInterruptAttr(getASTContext(), AL, Kind));
}
+// Check if the function definition uses any AArch64 SME features without
+// having the '+sme' feature enabled and warn
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/121785
___
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-06T12:58:15+03:00
New Revision: 3c5f2698b02ae3cec13551226f083984ab41f0f3
URL:
https://github.com/llvm/llvm-project/commit/3c5f2698b02ae3cec13551226f083984ab41f0f3
DIFF:
https://github.com/llvm/llvm-project/commit/3c5f2698b02ae3cec13551226f083984ab41f0f3.
@@ -1058,8 +1061,10 @@ namespace cwg62 { // cwg62: 2.9
// cxx98-error@-1 {{template argument uses local type }}
get();
// cxx98-error@-1 {{template argument uses local type }}
+// cxx98-note@-2 {{while substituting explicitly-specified template
arguments}}
@@ -1386,6 +1386,7 @@ namespace cwg488 { // cwg488: 2.9 c++11
enum E { e };
f(e);
// cxx98-error@-1 {{template argument uses local type 'E'}}
+// cxx98-note@-2 {{while substituting deduced template arguments}}
Endilll wrote:
```suggestion
/
@@ -1058,8 +1061,10 @@ namespace cwg62 { // cwg62: 2.9
// cxx98-error@-1 {{template argument uses local type }}
get();
// cxx98-error@-1 {{template argument uses local type }}
+// cxx98-note@-2 {{while substituting explicitly-specified template
arguments}}
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/125453
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Endilll commented:
Changes to C++ DR tests look good otherwise.
https://github.com/llvm/llvm-project/pull/125453
___
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 working on this
I know too little of packaging in Python to approve, but let's try to get more
eyes on this.
CC @DeinAlptraum @sighingnow
https://github.com/llvm/llvm-project/pull/125806
___
cfe-com
@@ -0,0 +1,36 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm==8.1.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = {text
@@ -0,0 +1,34 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = { text = "Apa
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/125806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -196,6 +196,16 @@ void g() {
#endif
} // namespace cwg2277
+namespace cwg2285 { // cwg2285: 4
Endilll wrote:
It seems that Clang 5 was the first release which exhibits the correct
behavior: https://godbolt.org/z/qabGrdvPq
https://github.com/llvm/llvm-pro
@@ -0,0 +1,36 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm==8.1.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = {text
1901 - 2000 of 2323 matches
Mail list logo