https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From 75be9efd3ffcdb9e42d9261af59f2668a771f09a Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From ff7f559bb48df18dea7cc12e568e61b70f3a7f72 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From 1ee69180a1e5d90242b5c33d78371b7a7b8eefbd Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From 9d8c830ef0ff10e72020dd76e0a0a07b83ed460c Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From ea99ebf3ed17456ba5b69ae71766048bae0f02fd Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From ba9b546d750203605af2bb0a955aff157421c834 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
mizvekov wrote:
> H yea I don't think we want to be losing the scope qualifiers for the
> typenames. What does LLDB have to do to retain those?
The answer to that depends on what LLDB wants and can do here.
The status quo is, the types produced in the places changed here are not valid
as-
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From ea97cf5a5bf170c35c6fd838ce17a8c59ef5fdfe Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From ea97cf5a5bf170c35c6fd838ce17a8c59ef5fdfe Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From ce3fc4604d940960f54918d7190950a03bf37a83 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 16b9c435e07ed7b8b54970dab24040e78db5e0e9 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/7] [clang] Improve NestedNameSpecifier:
clang-tools
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From 285569de7af76b1d0e5649f9e38fa43a5e6a4026 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From 285569de7af76b1d0e5649f9e38fa43a5e6a4026 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 16b9c435e07ed7b8b54970dab24040e78db5e0e9 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/7] [clang] Improve NestedNameSpecifier:
clang-tools
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148015
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -78,8 +78,8 @@
// DWPFOO-NEXT: struct CustomType {
// DWPFOO-NEXT: typedef unsigned int IntegerType;
// DWPFOO-NEXT: typedef float FloatType;
-// DWPFOO-NEXT: CustomType::IntegerType x;
-// DWPFOO-NEXT: CustomType::FloatType y;
+// DWPFOO-NEXT: IntegerTyp
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/149949
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -10,7 +10,7 @@
// to the incomplete type. Make sure that succeeds. Use the expression command
// to make sure the resulting AST can be imported correctly.
// CHECK: expr -- var
-// CHECK: (A::X) $0 = 0
+// CHECK: (X) $0 = 0
mizvekov wrote:
With the given AP
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148012
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148015
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148014
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148012
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/149949
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/149949
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148012
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148014
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148015
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/149747
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/149748
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/149949
>From 7c873c4058239c2a9deca69db9de37de8ea1e7ed Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
Subject: [PATCH] [PATCH 7/7] [clang] improve NestedNameSpecifier: LLDB changes
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/149949
Test run of the LLDB CI, just checking if anything needs to be updated there.
>From 3c8cbad51fa481cf59392e9d25cdbdc7fdfbeff4 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 21 Jul 2025 22:00:01 -0300
mizvekov wrote:
@erichkeane this was the only patch in the series you didn't review. FYI in
case this was an oversight.
https://github.com/llvm/llvm-project/pull/149748
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://li
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 07588c1311f9f2149057e2aa765bb4922b06244f Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 07588c1311f9f2149057e2aa765bb4922b06244f Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
@@ -63,7 +63,7 @@ def test_a_struct(self):
self.assertIsNotNone(fields[1].translation_unit)
self.assertEqual(fields[1].spelling, "b")
self.assertFalse(fields[1].type.is_const_qualified())
-self.assertEqual(fields[1].type.kind, TypeKind.ELABORATED
mizvekov wrote:
> Re: Python bindings changes.
>
> The tests currently fail because the libclang.so cannot even be built. Is
> this expected, as in, can it only be built after the last patch again? (I see
> that the tests passed on patch 6/6).
Yes, but all of the patches will be squashed befo
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 07134c3a595386732fb7c7b86d725bfccf885820 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 07134c3a595386732fb7c7b86d725bfccf885820 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 6f7eb76bbbf50ce88e2d92a5ab919c74c777f4b7 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 6f7eb76bbbf50ce88e2d92a5ab919c74c777f4b7 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148015
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148014
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/148012
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 58408083dc31297fba96aa9127dce07aee2f Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/148015
>From 58408083dc31297fba96aa9127dce07aee2f Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Jul 2025 14:07:34 -0300
Subject: [PATCH] [PATCH 4/6] [clang] Improve nested name specifier AST
repres
Author: Matheus Izvekov
Date: 2025-05-29T11:43:19-03:00
New Revision: 7759bb57c24390797ee34fa58a5e1234f5aa9369
URL:
https://github.com/llvm/llvm-project/commit/7759bb57c24390797ee34fa58a5e1234f5aa9369
DIFF:
https://github.com/llvm/llvm-project/commit/7759bb57c24390797ee34fa58a5e1234f5aa9369.dif
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/141957
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/141957
When performing overload resolution during code completion, clang will allow
incomplete substitutions in more places than would be allowed for valid code,
because for completion to work well, it needs clang to
https://github.com/mizvekov approved this pull request.
https://github.com/llvm/llvm-project/pull/137806
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/136162
They will be built with the just built clang either way. This avoids building
the runtimes twice when LLDB is also tested.
>From cb827a1a19380f47213e5f2bafc32a5a8a9f32fe Mon Sep 17 00:00:00 2001
From: Matheus
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/136158
>From cfb1035622f1530a2c981a47c49dcae01309b617 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 17 Apr 2025 13:31:32 -0300
Subject: [PATCH] [ci] add dependencies for lldb python binding tests
Add corr
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/136158
Add correct configuration and dependencies for LLDB testing which is actually
relevant for clang changes.
>From 20f393ed197d31619d169740afa4adae3393d26b Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Th
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/136157
Make sure any generated clang reproducers end up as artifacts.
>From 3f62c811580c82ead2cb227c4af1a6a5df93c576 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 17 Apr 2025 13:20:07 -0300
Subject: [PATC
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/136156
Set up llvm-symbolizer environment variable so that its preferred over any
symbolizer just built, as it can be much slower when built for debugging.
>From ae4da1886cd2af4c6ac0dc283fcf735ad992b566 Mon Sep 17 00
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/135630
>From fbe0a6651e8e506a25f0f16d34f3995f138d15ba Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 14 Apr 2025 11:56:01 -0300
Subject: [PATCH] Draft: test
With change:
1) 4m46s -
https://buildkite.com/l
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/135630
>From 99af05b3d8227ffe9a43e67e700d3850e6bec665 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 14 Apr 2025 11:56:01 -0300
Subject: [PATCH] Draft: test
With change:
1) 4m46s -
https://buildkite.com/l
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/135630
None
>From e0418788c2384e1d7bd190baa52b9bfc0035ec2f Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 14 Apr 2025 11:56:01 -0300
Subject: [PATCH] Draft: test
---
lldb/DELETE.ME | 0
1 file changed, 0
@@ -33,6 +33,8 @@ function at-exit {
mkdir -p artifacts
ccache --print-stats > artifacts/ccache_stats.txt
+ cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
+ ls artifacts/
mizvekov wrote:
Should include hidden files, since we are uploading these too a
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/135133
>From e8ab5ff779bc00ff6a239f0acea8182c69cb7bcc Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Apr 2025 02:52:36 -0300
Subject: [PATCH] [clang] implement printing of canonical template arguments of
@@ -1357,6 +1357,8 @@ void
TextNodeDumper::VisitTemplateExpansionTemplateArgument(
void TextNodeDumper::VisitExpressionTemplateArgument(
const TemplateArgument &TA) {
OS << " expr";
+ if (TA.isCanonicalExpr())
+OS << " canon";
mizvekov wrote:
Done
@@ -1305,9 +1305,13 @@ void StmtPrinter::VisitDeclRefExpr(DeclRefExpr *Node) {
Qualifier->print(OS, Policy);
if (Node->hasTemplateKeyword())
OS << "template ";
+
+ bool ForceAnonymous =
+ Policy.PrintAsCanonical && VD->getKind() == Decl::NonTypeTemplateParm;
---
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/135133
This patch extends the canonicalization printing policy to cover expressions
and template names, and wires that up to the template argument printer,
covering expressions.
This is helpful for debugging, or if
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/132442
This implements an additional user of the resugaring transform: the pattern of
template type aliases.
For more details and discussion see:
https://discourse.llvm.org/t/rfc-improving-diagnostics-with-template-s
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132441
>From 0793555771f9855a12c267eb4f2de1341a8556d1 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - TypeDecl
This i
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132447
>From 6b9e8d13fa1bd6a6583eab3eef74833b023f1d06 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Fri, 14 Mar 2025 19:41:38 -0300
Subject: [PATCH] [clang] resugar decltype of DeclRefExpr
This keeps around th
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/133190
>From 65a4c47a81e9e294f5d3c8f1afbe1f9036ac8e4b Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 26 Mar 2025 18:38:34 -0300
Subject: [PATCH] [clang] support pack expansions for trailing requires clauses
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132442
>From 9d5d42820a4998e0e3eb74f7301aa34dca55b890 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - Template Type
A
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132447
>From 0a363317b9ac02a6a6e2f70e805223bdb135fed3 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Fri, 14 Mar 2025 19:41:38 -0300
Subject: [PATCH] [clang] resugar decltype of DeclRefExpr
This keeps around th
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132447
>From 0a363317b9ac02a6a6e2f70e805223bdb135fed3 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Fri, 14 Mar 2025 19:41:38 -0300
Subject: [PATCH] [clang] resugar decltype of DeclRefExpr
This keeps around th
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132446
>From df203b5f1795b8e2baebf40cea9ccfc1b19f2ea7 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] WIP: [clang] Template Specialization Resugaring - Expressions
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132442
>From 900a26a5e2a64a8c12c7cd593e957eb9148091b1 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - Template Type
A
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132441
>From a010f379019906ebe8e05153810cc47d1cd64e5c Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - TypeDecl
This i
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132442
>From 900a26a5e2a64a8c12c7cd593e957eb9148091b1 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - Template Type
A
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132441
>From a010f379019906ebe8e05153810cc47d1cd64e5c Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - TypeDecl
This i
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132448
>From ad1ef07c4034404dadd7d8798c55af053f1dcd05 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sun, 16 Mar 2025 13:44:04 -0300
Subject: [PATCH] [clang] resugar decltype of MemberExpr
This keeps around the
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132446
>From df203b5f1795b8e2baebf40cea9ccfc1b19f2ea7 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] WIP: [clang] Template Specialization Resugaring - Expressions
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132448
>From ad1ef07c4034404dadd7d8798c55af053f1dcd05 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sun, 16 Mar 2025 13:44:04 -0300
Subject: [PATCH] [clang] resugar decltype of MemberExpr
This keeps around the
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132446
>From d226c8d46bda83e50de2b6fc1e9887251728b7b4 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] WIP: [clang] Template Specialization Resugaring - Expressions
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132448
>From 022799a62f0c3018168db688ee234c9bda208d12 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sun, 16 Mar 2025 13:44:04 -0300
Subject: [PATCH] [clang] resugar decltype of MemberExpr
This keeps around the
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132442
>From 9d5d42820a4998e0e3eb74f7301aa34dca55b890 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - Template Type
A
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132447
>From 6b9e8d13fa1bd6a6583eab3eef74833b023f1d06 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Fri, 14 Mar 2025 19:41:38 -0300
Subject: [PATCH] [clang] resugar decltype of DeclRefExpr
This keeps around th
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132441
>From 0793555771f9855a12c267eb4f2de1341a8556d1 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - TypeDecl
This i
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132448
>From 022799a62f0c3018168db688ee234c9bda208d12 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sun, 16 Mar 2025 13:44:04 -0300
Subject: [PATCH] [clang] resugar decltype of MemberExpr
This keeps around the
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132446
>From d226c8d46bda83e50de2b6fc1e9887251728b7b4 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] WIP: [clang] Template Specialization Resugaring - Expressions
@@ -13343,28 +13344,25 @@ class Sema final : public SemaBase {
/// The current index into pack expansion arguments that will be
/// used for substitution of parameter packs.
///
- /// The pack expansion index will be -1 to indicate that parameter packs
+ /// The pack ex
@@ -78,6 +78,22 @@ class UnresolvedSetImpl;
class VarTemplateDecl;
enum class ImplicitParamKind;
+// Holds a constraint expression along with a pack expansion index, if
+// expanded.
+struct AssociatedConstraint {
+ const Expr *ConstraintExpr = nullptr;
+ int ArgumentPackSub
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/133190
>From d6c84d34e82578a69a914015cdfeaa7dfd3889c8 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 26 Mar 2025 18:38:34 -0300
Subject: [PATCH] [clang] support pack expansions for trailing requires clauses
@@ -7379,8 +7378,11 @@ bool ASTContext::isSameEntity(const NamedDecl *X, const
NamedDecl *Y) const {
return false;
}
-if (!isSameConstraintExpr(FuncX->getTrailingRequiresClause(),
mizvekov wrote:
Minor preference for not doing that at this poin
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/133190
>From 1ee94ea392f1b1a46eba9fe031bf3523e1840a09 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 26 Mar 2025 18:38:34 -0300
Subject: [PATCH] [clang] support pack expansions for trailing requires clauses
mizvekov wrote:
@zwuis thanks for finding these.
I removed that assertion because it was not relevant anymore at that point
where it existed.
However, we should still not have an ElaboratedType in a NestedNameSpecifier,
although this patch moves us in the direction where that will not be the
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/133610
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132748
>From 2d4717492599f445975019339024e2d1bc02128f Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sat, 22 Mar 2025 16:03:04 -0300
Subject: [PATCH 1/4] [clang] Track final substitution for
SubstTemplateTempla
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/132446
This adds some additional users of the resugaring transform, around
expressions. This makes function calls work for example.
While probably not the largest patch in the series, this could use some further
spl
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/133190
>From bb164f3a8c86282ff6cb317ff10df21b33b11520 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 26 Mar 2025 18:38:34 -0300
Subject: [PATCH] [clang] support pack expansions for trailing requires clauses
mizvekov wrote:
Actually the current users of the implicit conversion are not good at all, will
fix them instead.
https://github.com/llvm/llvm-project/pull/133190
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.ll
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132748
>From c5e50089af34acdb807680cf80576ca03ff1715f Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sat, 22 Mar 2025 16:03:04 -0300
Subject: [PATCH 1/4] [clang] Track final substitution for
SubstTemplateTempla
@@ -265,14 +265,14 @@ int k9 = f9(V9());
// CHECK-ELIDE-TREE: S9<
// CHECK-ELIDE-TREE: [2 * ...],
// CHECK-ELIDE-TREE: U9<
-// CHECK-ELIDE-TREE: [(no qualifiers) != const] double>>
mizvekov wrote:
Yeah, with the Subst type node, you get differe
mizvekov wrote:
FYI @ymand @jvoung
https://github.com/llvm/llvm-project/pull/132748
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/132748
This patch re-adds Subst* nodes for 'Final' substitutions, adding a bit to
these nodes to differentiate them from non-Final ones, which for example helps
track forward progress in resugaring.
This was origina
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/132442
>From 67a09813823003681954b0fa9adeeb834ec4e576 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 30 May 2022 01:46:31 +0200
Subject: [PATCH] [clang] Template Specialization Resugaring - Template Type
A
1 - 100 of 230 matches
Mail list logo