[clang-tools-extra] [clang-doc] fix ASan complaints from passing RepositoryURL as reference (PR #148923)

2025-07-15 Thread Erick Velez via cfe-commits
evelez7 wrote: * **#148923** https://app.graphite.dev/github/pr/llvm/llvm-project/148923?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/1489

[clang-tools-extra] [clang-doc] fix ASan complaints from passing RepositoryURL as reference (PR #148923)

2025-07-15 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/148923 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] fix ASan complaints from passing RepositoryURL as reference (PR #148923)

2025-07-15 Thread Erick Velez via cfe-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/148923 Passing RepositoryURL around as an optional reference triggered stack-use-after-return complaints. >From 18cda3f5075648db64d4105d4615a3008efb8fa4 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 15 Jul 202

[clang-tools-extra] [clang-doc] Serialize record files with mangled name (PR #148021)

2025-07-11 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/148021 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Serialize record files with mangled name (PR #148021)

2025-07-11 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jul 11, 8:37 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/148021). https://github.com/llvm/llvm-project/pull/148021

[clang-tools-extra] [clang-doc] Serialize record files with mangled name (PR #148021)

2025-07-11 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/148021 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Serialize record files with mangled name (PR #148021)

2025-07-11 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/148021 >From 47b9bdc3fb479e023c7f298532dc28e89f844678 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 10 Jul 2025 11:16:20 -0700 Subject: [PATCH] address review feedback --- clang-tools-extra/clang-doc/BitcodeR

[clang-tools-extra] [clang-doc] Serialize record files with mangled name (PR #148021)

2025-07-10 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/148021 >From 4e87ab11a1c19a2f7f897521f0bfb60d68470e1a Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 10 Jul 2025 11:16:20 -0700 Subject: [PATCH] explicitly use ItaniumMangleContext to avoid platform errors ---

[clang-tools-extra] [clang-doc] Serialize record files with mangled name (PR #148021)

2025-07-10 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/148021 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add namespace references to VarInfo (PR #146964)

2025-07-03 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/146964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add namespace references to VarInfo (PR #146964)

2025-07-03 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jul 3, 10:49 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146964). https://github.com/llvm/llvm-project/pull/146964

[clang-tools-extra] [clang-doc] add namespace references to VarInfo (PR #146964)

2025-07-03 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/146964 >From f505202482e624dd4f7950cded2768889f1ee2d8 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Wed, 2 Jul 2025 21:49:37 -0700 Subject: [PATCH] [clang-doc] add namespace references to VarInfo VarInfo was missin

[clang-tools-extra] [clang-doc] add namespace references to VarInfo (PR #146964)

2025-07-03 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/146964 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add namespace references to VarInfo (PR #146964)

2025-07-03 Thread Erick Velez via cfe-commits
evelez7 wrote: * **#146964** https://app.graphite.dev/github/pr/llvm/llvm-project/146964?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/1469

[clang-tools-extra] [clang-doc] add namespace references to VarInfo (PR #146964)

2025-07-03 Thread Erick Velez via cfe-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/146964 VarInfo was missing its addReference specialization. This causes errors when a VarInfo is inside a namespace that isn't the global namespace. >From c686da5544239f10aa71c15f510d07a7268a629f Mon Sep 17 00:00:00 20

[clang-tools-extra] [clang-doc] serialize friends (PR #146165)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/146165 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] serialize friends (PR #146165)

2025-06-30 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jun 30, 7:42 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146165). https://github.com/llvm/llvm-project/pull/146165

[clang-tools-extra] [clang-doc] serialize friends (PR #146165)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/146165 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] serialize friends (PR #146165)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/146165 >From 6a10b9c08a7cbb5e580d9fb8942d1132d41d1452 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 26 Jun 2025 20:54:03 -0700 Subject: [PATCH] [clang-doc] serialize friends --- clang-tools-extra/clang-doc/Bi

[clang-tools-extra] [clang-doc] serialize friends (PR #146165)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/146165 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Precommit friends test (PR #146164)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/146164 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Precommit friends test (PR #146164)

2025-06-30 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jun 30, 6:45 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146164). https://github.com/llvm/llvm-project/pull/146164

[clang-tools-extra] [clang-doc] Precommit friends test (PR #146164)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/146164 >From 41027d64de099a4d32dd007b6e03a144525d6128 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 26 Jun 2025 20:51:33 -0700 Subject: [PATCH] [clang-doc] Precommit friends test --- .../test/clang-doc/json/c

[clang-tools-extra] [clang-doc] mangle template specialization file names (PR #144617)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/144617 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Precommit friends test (PR #146164)

2025-06-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/146164 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Precommit friends test (PR #146164)

2025-06-27 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/146164 >From 111fe87d9a6590d4d667271f1261af04ca088723 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 26 Jun 2025 20:51:33 -0700 Subject: [PATCH] [clang-doc] Precommit friends test --- .../test/clang-doc/json/c

[clang-tools-extra] [clang-doc] Precommit friends test (PR #146164)

2025-06-27 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/146164 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] serialize IsBuiltIn and IsTemplate for types (PR #146149)

2025-06-27 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/146149 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] serialize IsBuiltIn and IsTemplate for types (PR #146149)

2025-06-27 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jun 27, 11:16 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146149). https://github.com/llvm/llvm-project/pull/146149 ___

[clang-tools-extra] [clang-doc] serialize IsBuiltIn and IsTemplate for types (PR #146149)

2025-06-27 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/146149 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] emit IsBuiltIn and IsTemplate for types (PR #146149)

2025-06-27 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/146149 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] emit IsBuiltIn and IsTemplate for types (PR #146149)

2025-06-27 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/146149 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] emit IsBuiltIn and IsTemplate for types (PR #146149)

2025-06-27 Thread Erick Velez via cfe-commits
evelez7 wrote: * **#146149** https://app.graphite.dev/github/pr/llvm/llvm-project/146149?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/1461

[clang-tools-extra] [clang-doc] emit IsBuiltIn and IsTemplate for types (PR #146149)

2025-06-27 Thread Erick Velez via cfe-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/146149 None >From 2f505f6ba4af1b9c48d644ef81e2848234df593a Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Fri, 27 Jun 2025 12:03:31 -0700 Subject: [PATCH] [clang-doc] emit IsBuiltIn and IsTemplate for types --- cl

[clang-tools-extra] [clang-doc] refactor BitcodeReader::readSubBlock (PR #145835)

2025-06-26 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/145835 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] refactor BitcodeReader::readSubBlock (PR #145835)

2025-06-26 Thread Erick Velez via cfe-commits
@@ -800,11 +800,37 @@ llvm::Error ClangDocBitcodeReader::readBlock(unsigned ID, T I) { } } -// TODO: Create a helper that can receive a function to reduce repetition for -// most blocks. +template +llvm::Error ClangDocBitcodeReader::handleSubBlock(unsigned ID, T Parent, +

[clang-tools-extra] [clang-doc] refactor BitcodeReader::readSubBlock (PR #145835)

2025-06-26 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/145835 >From 3ab80051002cf7101ae89416b72cf3377849a642 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 24 Jun 2025 21:08:36 -0700 Subject: [PATCH] [clang-doc] refactor BitcodeReader::readSubBlock --- clang-tools

[clang-tools-extra] [clang-doc] refactor JSONGenerator array usage (PR #145595)

2025-06-26 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/145595 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] refactor BitcodeReader::readSubBlock (PR #145835)

2025-06-26 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/145835 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] refactor JSONGenerator array usage (PR #145595)

2025-06-26 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jun 26, 5:09 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/145595). https://github.com/llvm/llvm-project/pull/145595

[clang-tools-extra] [clang-doc] refactor JSONGenerator array usage (PR #145595)

2025-06-25 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/145595 >From 19569ab7cecab1d2d0c608d85d7571dd9c754101 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 24 Jun 2025 11:19:06 -0700 Subject: [PATCH] [clang-doc] refactor JSONGenerator array usage Improve code reuse

[clang-tools-extra] [clang-doc] refactor JSONGenerator array usage (PR #145595)

2025-06-25 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/145595 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] refactor JSONGenerator array usage (PR #145595)

2025-06-25 Thread Erick Velez via cfe-commits
@@ -454,27 +417,19 @@ static void serializeInfo(const RecordInfo &I, json::Object &Obj, Obj["ProtectedMembers"] = ProtectedMembersArray; } - if (!I.Bases.empty()) { -json::Value BasesArray = Array(); -json::Array &BasesArrayRef = *BasesArray.getAsArray(); -

[clang-tools-extra] [clang-doc] refactor JSONGenerator array usage (PR #145595)

2025-06-24 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/145595 >From df4ddc4f8bdaaf7cf47865f2c9c98622ca4941fa Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 24 Jun 2025 11:19:06 -0700 Subject: [PATCH] [clang-doc] refactor JSONGenerator array usage Improve code reuse

[clang-tools-extra] [clang-doc] Precommit test for global variables (PR #145069)

2025-06-22 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jun 21, 6:55 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/145069). https://github.com/llvm/llvm-project/pull/145069

[clang-tools-extra] [clang-doc] document global variables (PR #145070)

2025-06-21 Thread Erick Velez via cfe-commits
@@ -25,7 +24,7 @@ typedef int MyTypedef; // CHECK-NEXT: { // CHECK-NEXT:"Location": { // CHECK-NEXT: "Filename": "{{.*}}namespace.cpp", -// CHECK-NEXT: "LineNumber": 15 +// CHECK-NEXT: "LineNumber": 14 evelez7 wrote: Aft

[clang-tools-extra] [clang-doc] document global variables (PR #145070)

2025-06-21 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/145070 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] mangle template specialization file names (PR #144617)

2025-06-21 Thread Erick Velez via cfe-commits
evelez7 wrote: After our offline discussion, I think I'm going to close this PR in favor of implementing mangling for all names. https://github.com/llvm/llvm-project/pull/144617 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llv

[clang-tools-extra] [clang-doc] document global variables (PR #145070)

2025-06-21 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/145070 >From f3e1d5e735b42bb8c123fe16fbe8317ded219331 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Wed, 18 Jun 2025 16:36:49 -0700 Subject: [PATCH] [clang-doc] document global variables --- clang-tools-extra/clan

[clang-tools-extra] [clang-doc] Precommit test for global variables (PR #145069)

2025-06-21 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/145069 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Precommit test for global variables (PR #145069)

2025-06-20 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/145069 >From 890d6f93bdef75e4b4d52835bd5ac14b52fb23e8 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 19 Jun 2025 21:25:13 -0700 Subject: [PATCH] [clang-doc] Precommit test for global variables --- .../test/cla

[clang-tools-extra] [clang-doc] Precommit test for global variables (PR #145069)

2025-06-20 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/145069 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add support for concepts (PR #144430)

2025-06-20 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/144430 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add support for concepts (PR #144430)

2025-06-20 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jun 21, 12:38 AM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/144430). https://github.com/llvm/llvm-project/pull/144430 ___

[clang-tools-extra] [clang-doc] Precommit concept tests (PR #144160)

2025-06-20 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/144160 >From 9c18fd3f486b48fd883fc6ba0c6a23255d0659f6 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Fri, 13 Jun 2025 14:16:17 -0700 Subject: [PATCH] [clang-doc] Precommit concept tests --- .../test/clang-doc/json/

[clang-tools-extra] [clang-doc] mangle template specialization file names (PR #144617)

2025-06-20 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/144617 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] mangle specialization file names (PR #144617)

2025-06-18 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/144617 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] mangle specialization file names (PR #144617)

2025-06-18 Thread Erick Velez via cfe-commits
@@ -909,6 +910,13 @@ emitInfo(const RecordDecl *D, const FullComment *FC, Location Loc, RI->Template.emplace(); RI->Template->Specialization.emplace(); auto &Specialization = *RI->Template->Specialization; +auto *Mangler = ItaniumMangleContext::create( +

[clang-tools-extra] [clang-doc] mangle specialization file names (PR #144617)

2025-06-17 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/144617 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] mangle specialization file names (PR #144617)

2025-06-17 Thread Erick Velez via cfe-commits
evelez7 wrote: * **#144617** https://app.graphite.dev/github/pr/llvm/llvm-project/144617?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/1446

[clang-tools-extra] [clang-doc] mangle specialization file names (PR #144617)

2025-06-17 Thread Erick Velez via cfe-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/144617 None >From bd5747e542e23078a98a830da191e5f1f72bd85b Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 17 Jun 2025 15:11:02 -0700 Subject: [PATCH] [clang-doc] mangle specialization file names --- clang-too

[clang-tools-extra] [clang-doc] remove default label on some switches (PR #143919)

2025-06-13 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/143919 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] remove default label on some switches (PR #143919)

2025-06-13 Thread Erick Velez via cfe-commits
evelez7 wrote: ### Merge activity * **Jun 13, 11:33 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/143919). https://github.com/llvm/llvm-project/pull/143919 ___

[clang-tools-extra] [clang-doc] Precommit concept tests (PR #144160)

2025-06-13 Thread Erick Velez via cfe-commits
@@ -0,0 +1,37 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --extra-arg -std=c++20 --output=%t --format=json --executor=standalone %s evelez7 wrote: FileCheck is omitted here because since nothing is mapped, no file is created. https://github.com/llvm

[clang-tools-extra] [clang-doc] Precommit concept tests (PR #144160)

2025-06-13 Thread Erick Velez via cfe-commits
@@ -0,0 +1,29 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --extra-arg -std=c++20 --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.json + +template +concept Addable = requires(T a, T b) { + { a + b }; +}; + +templat

[clang-tools-extra] [clang-doc] Precommit concept tests (PR #144160)

2025-06-13 Thread Erick Velez via cfe-commits
evelez7 wrote: * **#144160** https://app.graphite.dev/github/pr/llvm/llvm-project/144160?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/1441

[clang-tools-extra] [clang-doc] Precommit concept tests (PR #144160)

2025-06-13 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/144160 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Precommit concept tests (PR #144160)

2025-06-13 Thread Erick Velez via cfe-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/144160 None >From ad20a26907b065ae6977dab7e0f5c2ef5e0c7ef0 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Fri, 13 Jun 2025 14:16:17 -0700 Subject: [PATCH] [clang-doc] Precommit concept tests --- .../test/clang-doc

[clang-tools-extra] [clang-doc] remove default label on some switches (PR #143919)

2025-06-12 Thread Erick Velez via cfe-commits
evelez7 wrote: * **#143919** https://app.graphite.dev/github/pr/llvm/llvm-project/143919?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/1439

[clang-tools-extra] [clang-doc] remove default label on some switches (PR #143919)

2025-06-12 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/143919 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] remove default label on some switches (PR #143919)

2025-06-12 Thread Erick Velez via cfe-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/143919 LLVM style prefers no default label on fully covered switches to warn if new enums are added. This patch removes the default label for that purpose or uses IT_default instead of default if that was the only enum

[clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-10 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/143209 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-10 Thread Erick Velez via cfe-commits
@@ -0,0 +1,108 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/index.json + +class MyClass {}; + +void myFunction(int Param); + +namespace NestedNamespace { +} // namespace Nested

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-09 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From 741dce551684ee5818262ba3f4618ffcfa70a0d6 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/7] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-09 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/142483 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-09 Thread Erick Velez via cfe-commits
@@ -0,0 +1,193 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.json + +struct Foo; + +// This is a nice class. +// It has some nice methods and fields. +// @brief This is

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-09 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/142483 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-09 Thread Erick Velez via cfe-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/142483 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-09 Thread Erick Velez via cfe-commits
@@ -0,0 +1,193 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.json + +struct Foo; + +// This is a nice class. +// It has some nice methods and fields. +// @brief This is

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-08 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From 741dce551684ee5818262ba3f4618ffcfa70a0d6 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/7] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-08 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From 741dce551684ee5818262ba3f4618ffcfa70a0d6 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/7] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-06 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From 806c2c1f1846879f0217398f81f36a8e49447bdf Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/6] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-06 Thread Erick Velez via cfe-commits
@@ -0,0 +1,194 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.json + +struct Foo; + +// This is a nice class. +// It has some nice methods and fields. +// @brief This is

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-06 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/142483 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-06 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From fa8b80f9bfe2b7faf765ed4cf60fb8cec30e1d48 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/5] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-06 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From fa8b80f9bfe2b7faf765ed4cf60fb8cec30e1d48 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/5] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-06 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From fa8b80f9bfe2b7faf765ed4cf60fb8cec30e1d48 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/4] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-06 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From fa8b80f9bfe2b7faf765ed4cf60fb8cec30e1d48 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/4] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-05 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From fa8b80f9bfe2b7faf765ed4cf60fb8cec30e1d48 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/3] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-05 Thread Erick Velez via cfe-commits
evelez7 wrote: > This sounds promising. I'm fine w/ adding a field to track this. BTW, what > does clang do? I'm wondering if we should track more than 1-bit of info here. As far as I can tell, inside the AST Clang makes use of the `isa<>` mechanisms (which we could also leverage) or pointer u

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-04 Thread Erick Velez via cfe-commits
evelez7 wrote: If we're open to adding a flag in the base `Info` like `IsClassSpecialization`, then we can probably easily deal with these by trying to reconstruct the specialization's arguments (will be something like "Foo.json"). Functions don't produce their own files so function specializa

[clang-tools-extra] [clang-doc] add tags to Mustache namespace template (PR #142045)

2025-06-04 Thread Erick Velez via cfe-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/142045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-06-03 Thread Erick Velez via cfe-commits
@@ -198,37 +198,107 @@ static json::Value extractValue(const TypedefInfo &I) { } static json::Value extractValue(const CommentInfo &I) { - assert((I.Kind == "BlockCommandComment" || I.Kind == "FullComment" || - I.Kind == "ParagraphComment" || I.Kind == "TextComment")

[clang-tools-extra] [clang-doc] Fix brittle check in test (PR #142665)

2025-06-03 Thread Erick Velez via cfe-commits
https://github.com/evelez7 approved this pull request. https://github.com/llvm/llvm-project/pull/142665 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-03 Thread Erick Velez via cfe-commits
evelez7 wrote: > This is a good start, but I thin we'll want some more tests, and probably > some unit test coverage. Unittesting is especially nice, since I believe this > backend doesn't need any of the asset files, right? Yeah, this doesn't need assets, so I'll be able to call things direct

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-06-03 Thread Erick Velez via cfe-commits
@@ -198,37 +198,107 @@ static json::Value extractValue(const TypedefInfo &I) { } static json::Value extractValue(const CommentInfo &I) { - assert((I.Kind == "BlockCommandComment" || I.Kind == "FullComment" || - I.Kind == "ParagraphComment" || I.Kind == "TextComment")

[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

2025-06-03 Thread Erick Velez via cfe-commits
@@ -65,6 +65,35 @@ template <> struct ScalarEnumerationTraits { } }; +template <> +struct llvm::yaml::ScalarEnumerationTraits { evelez7 wrote: This doesn't need the `llvm::yaml` qualification. https://github.com/llvm/llvm-project/pull/142273 __

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-03 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From fa8b80f9bfe2b7faf765ed4cf60fb8cec30e1d48 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH 1/2] [clang-doc] add a JSON generator --- clang-tools-extra/clang-

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-02 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142483 >From cf68952c0cf4dfeda65c78c6d2326426bbf2d693 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Mon, 2 Jun 2025 12:53:36 -0700 Subject: [PATCH] [clang-doc] add a JSON generator --- clang-tools-extra/clang-doc/

[clang-tools-extra] [clang-doc] add a JSON generator (PR #142483)

2025-06-02 Thread Erick Velez via cfe-commits
evelez7 wrote: I think this patch is mostly ready in terms of functionality, but we should decide if the emitted files should follow the HTML or YAML style of creation. Right now, since I just ripped the Mustache generator code, it creates folders for each namespace and emits the nested entiti

  1   2   >