@@ -2860,9 +2861,23 @@ static void setLinkageForGV(llvm::GlobalValue *GV, const
NamedDecl *ND) {
GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage);
}
-void CodeGenModule::CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD,
+static bool hasExistingGeneralizedTy
@@ -558,24 +558,31 @@ void
MIRPrinter::convertCallSiteObjects(yaml::MachineFunction &YMF,
const MachineFunction &MF,
ModuleSlotTracker &MST) {
const auto *TRI = MF.getSubtarget().getRegisterInfo(
ilovepi wrote:
> I'm surprised these missing libcalls have been missing for so long without
> getting fixed
I think few people are doing LTO w/ things that provide bcmp/memcmp, like libc.
Typically ,what I see is that even when they're statically linked, like for
embeded code, they're not bui
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/135706
>From 4b8f422ee979e6063e553f8a5bc292c5a11e13b4 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Mon, 14 Apr 2025 08:25:15 -0700
Subject: [PATCH] [llvm][IR] Treat memcmp and bcmp as libcalls
Since the backend may
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/135706
>From 4b8f422ee979e6063e553f8a5bc292c5a11e13b4 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Mon, 14 Apr 2025 08:25:15 -0700
Subject: [PATCH] [llvm][IR] Treat memcmp and bcmp as libcalls
Since the backend may
ilovepi wrote:
I think that any function that can get added after you've potentially deleted
its definition needs to be handled the same way, otherwise you can end up w/
the same kind of bugs. Adding all the functions from BuildLibCalls.h seems
roughly correct, since I don't recall running int
ilovepi wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/135706?utm_source=stack-comment-downstack-mergeability-warning";
ilovepi wrote:
@efriedma-quic I guess I should ask if you're opposed to us adding these to the
RuntimeLibcalls? I agree that we should have some criteria spelled out, but I'm
not sure we have that pinned down well enough just yet.
Also, I don't see much spelled out either in our docs or comme
@@ -1302,6 +1302,26 @@ static void addRange(SmallVectorImpl
&EndPoints,
EndPoints.push_back(High);
}
+MDNode *MDNode::getMergedCalleeTypeMetadata(LLVMContext &Ctx, MDNode *A,
+MDNode *B) {
+ SmallVector AB;
+ SmallSet MergedCall
@@ -5096,6 +5097,23 @@ void Verifier::visitCallsiteMetadata(Instruction &I,
MDNode *MD) {
visitCallStackMetadata(MD);
}
+void Verifier::visitCalleeTypeMetadata(Instruction &I, MDNode *MD) {
+ Check(isa(I), "!callee_type metadata should only exist on calls",
+&I);
+
@@ -1302,6 +1302,26 @@ static void addRange(SmallVectorImpl
&EndPoints,
EndPoints.push_back(High);
}
+MDNode *MDNode::getMergedCalleeTypeMetadata(LLVMContext &Ctx, MDNode *A,
+MDNode *B) {
+ SmallVector AB;
+ SmallSet MergedCall
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/131183
___
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/ilovepi ready_for_review
https://github.com/llvm/llvm-project/pull/131183
___
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/ilovepi created
https://github.com/llvm/llvm-project/pull/131183
None
>From e36cc43cab7348db9bc786fffc730dde7546a20e Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Thu, 13 Mar 2025 10:19:56 -0700
Subject: [PATCH] [clang][driver] Use rva22u64_v as the default march for
Fuch
ilovepi wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/131183?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/132101
The tests all remove the directory at test start, and it only prevents
inspecting the test artifacts to remove them at the end of the test run.
>From dfc4eaed7e1ae54774a53afcf67d50b074d0eaa7 Mon Sep 17 00:00:00
ilovepi wrote:
> I can join libc monthly meeting, sure.
Great. Looking forward to discussing this then. I'll add the topic to the
meeting agenda.
https://github.com/llvm/llvm-project/pull/135706
___
llvm-branch-commits mailing list
llvm-branch-commit
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138061
>From 71b00d168afcbe63964ea4aa99074a6a152daddb Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:09:41 -0700
Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator methods
Split from #133161.
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138061
>From b70cf43514afa5abc2ba39d2c4e48ba5b55b1833 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:09:41 -0700
Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator methods
Split from #133161.
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From 1229be475f494198b37555d3b2fe8a297b3d27cb Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From 505a3ec0fabe04c43e35f61382b303397c5a863b Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
>From 2c95be82f994cdde96305c93d4b2e1da10fd3905 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:10:20 -0700
Subject: [PATCH] [clang-doc] Add helpers for Template config
This patch adds or fil
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
>From b7e8fc4a4d18860f320d87ac4c3eb9b32e1e45a6 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:31:54 -0700
Subject: [PATCH] [clang-doc] Update serializer for improved template handling
This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
>From 2c95be82f994cdde96305c93d4b2e1da10fd3905 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:10:20 -0700
Subject: [PATCH] [clang-doc] Add helpers for Template config
This patch adds or fil
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From 76316664f93e89ab8801423cc384806298d345f2 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
>From aecb686a8701784a2d49445843bbe2c3fae33a84 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:13:46 -0700
Subject: [PATCH] [clang-doc] Implement setupTemplateValue for
HTMLMustacheGenerator
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From 505a3ec0fabe04c43e35f61382b303397c5a863b Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138061
>From b70cf43514afa5abc2ba39d2c4e48ba5b55b1833 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:09:41 -0700
Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator methods
Split from #133161.
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From 76316664f93e89ab8801423cc384806298d345f2 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
>From b7e8fc4a4d18860f320d87ac4c3eb9b32e1e45a6 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:31:54 -0700
Subject: [PATCH] [clang-doc] Update serializer for improved template handling
This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From 1229be475f494198b37555d3b2fe8a297b3d27cb Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
@@ -710,11 +897,12 @@ emitInfo(const RecordDecl *D, const FullComment *FC,
Location Loc,
// What this is a specialization of.
auto SpecOf = CTSD->getSpecializedTemplateOrPartial();
-if (auto *CTD = dyn_cast(SpecOf))
- Specialization.SpecializationOf = getUSRF
@@ -123,7 +113,9 @@ static llvm::cl::opt
clEnumValN(OutputFormatTy::md, "md",
"Documentation in MD format."),
clEnumValN(OutputFormatTy::html, "html",
-
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
>From c6e9a86d9e05b4ef041f041f7b4c189b493f387b Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:13:46 -0700
Subject: [PATCH] [clang-doc] Implement setupTemplateValue for
HTMLMustacheGenerator
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
>From 5e28cef1598ec95d249f080f6575380af8206832 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:10:20 -0700
Subject: [PATCH] [clang-doc] Add helpers for Template config
This patch adds or fil
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From e184062715c3efae8c496b5a520ae15a1733ff83 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138061
>From abc97d2fce7a0e9ae5a36109f15bb82911914616 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:09:41 -0700
Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator methods
Split from #133161.
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138061
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
>From 63817de4d8813dd6cc5f669445cb4117e6adb63f Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:31:54 -0700
Subject: [PATCH] [clang-doc] Update serializer for improved template handling
This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From 5bff2f338f4f886c09fe71de97a0cfcf5cbd Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
>From 4a1dd241c1ac2c75852d49050d7f3dd8041db632 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:13:46 -0700
Subject: [PATCH] [clang-doc] Implement setupTemplateValue for
HTMLMustacheGenerator
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From bdfca051db34556ef633626c91afd8490533c1ac Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From a596db368fb7dc347daa17528882196fe4650c42 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From cfd35ee8fc420f6bd5a7f49ab286182f7f404222 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From cfd35ee8fc420f6bd5a7f49ab286182f7f404222 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
>From d6e0eab3c89322a406a1c68d2302060ca86776f4 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:31:54 -0700
Subject: [PATCH] [clang-doc] Update serializer for improved template handling
This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From a596db368fb7dc347daa17528882196fe4650c42 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
ilovepi wrote:
I think that's a solid direction. I've already been thinking that we'd probably
want to start consolidating the other backends around Mustache templates. I
think too much duplication/reimplementation/lack of abstraction is one of the
big issues w/ clang-doc's implementation ATM.
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138061
>From 5c5bacbc870fabd1959b041ec61f9226352417e4 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:09:41 -0700
Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator methods
Split from #133161.
@@ -86,8 +87,16 @@ TEST(HTMLMustacheGeneratorTest, generateDocs) {
assert(G && "Could not find HTMLMustacheGenerator");
ClangDocContext CDCtx = getClangDocContext();
- StringRef RootDir = "";
- EXPECT_THAT_ERROR(G->generateDocs(RootDir, {}, CDCtx), Succeeded())
+ unitte
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-s
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
>From 71f20a751503ec02d36ed8a35024028217f096a8 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:31:54 -0700
Subject: [PATCH] [clang-doc] Update serializer for improved template handling
This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138061
>From 71b00d168afcbe63964ea4aa99074a6a152daddb Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:09:41 -0700
Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator methods
Split from #133161.
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From 98978c2ee841d3093c6b24538ba8368922fdd035 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From 2d4c5ccf53f35b275f3a7c6940bdaf47a845fd4e Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From 98978c2ee841d3093c6b24538ba8368922fdd035 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
>From 123ef0d3375a2d44c6b840d5c6265f463b90253c Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:13:46 -0700
Subject: [PATCH] [clang-doc] Implement setupTemplateValue for
HTMLMustacheGenerator
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From 2d4c5ccf53f35b275f3a7c6940bdaf47a845fd4e Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138062
>From 6230781848e7acdcd0c60540537c286b00bdef76 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:10:20 -0700
Subject: [PATCH] [clang-doc] Add helpers for Template config
This patch adds or fil
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From 574feaf16ea3f231b620db5d866450965c544c16 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From 574feaf16ea3f231b620db5d866450965c544c16 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
>From 0d01a9a4531f3c07dc0bfa2a1f1fe291d6cad5ed Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:31:54 -0700
Subject: [PATCH] [clang-doc] Update serializer for improved template handling
This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138065
>From 0d01a9a4531f3c07dc0bfa2a1f1fe291d6cad5ed Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:31:54 -0700
Subject: [PATCH] [clang-doc] Update serializer for improved template handling
This
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From dd059d8da867c93aacc9ed078acc34148ba4e0b4 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
>From bda0fff46cb19612aeadb5027ef92d8b42d7b783 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:13:46 -0700
Subject: [PATCH] [clang-doc] Implement setupTemplateValue for
HTMLMustacheGenerator
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138064
>From bda0fff46cb19612aeadb5027ef92d8b42d7b783 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:13:46 -0700
Subject: [PATCH] [clang-doc] Implement setupTemplateValue for
HTMLMustacheGenerator
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From 74a69b02adf35162f4f9bb09aaf56d8dc3e97832 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138067
>From dd059d8da867c93aacc9ed078acc34148ba4e0b4 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 14:20:40 -0700
Subject: [PATCH] [clang-doc] Track if a type is a template or builtin
Originally pa
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138066
>From 74a69b02adf35162f4f9bb09aaf56d8dc3e97832 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 29 Apr 2025 18:08:03 -0700
Subject: [PATCH] [clang-doc] Update clang-doc tool to enable mustache
templates
Th
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/138063
>From 0e6ab7dc096314d24c9b3418b295539acd9640d2 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Wed, 30 Apr 2025 08:11:39 -0700
Subject: [PATCH] [clang-doc] Extract Info into JSON values
Split from #133161. This
@@ -0,0 +1,32 @@
+
+Callee Type Metadata
+
+
+Introduction
+
+This ``!callee_type`` metadata is introduced as part of an ongoing effort to
generate a call graph
+section in the object file. The broader design for the call graph
@@ -0,0 +1,32 @@
+
+Callee Type Metadata
+
+
+Introduction
+
+This ``!callee_type`` metadata is introduced as part of an ongoing effort to
generate a call graph
+section in the object file. The broader design for the call graph
@@ -947,6 +952,53 @@ emitInfo(const NamespaceDecl *D, const FullComment *FC,
Location Loc,
return {std::move(NSI), makeAndInsertIntoParent(*NSI)};
}
+static void parseFriends(RecordInfo &RI, const CXXRecordDecl *D) {
+ if (D->hasDefinition() && D->hasFriends())
---
https://github.com/ilovepi approved this pull request.
https://github.com/llvm/llvm-project/pull/146164
___
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/ilovepi edited
https://github.com/llvm/llvm-project/pull/146165
___
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/ilovepi approved this pull request.
LGTM, modulo formatting and 1 small suggestion.
https://github.com/llvm/llvm-project/pull/146165
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-b
@@ -60,6 +60,17 @@ HTML-SHAPE:
HTML-SHAPE:
HTML-SHAPE:
HTML-SHAPE: class Shape
+HTML-SHAPE:
+HTML-SHAPE:
+HTML-SHAPE: Abstr
https://github.com/ilovepi approved this pull request.
LGTM, except the Q on formatting. Obviously doesn't need to be solved in this
patch, though.
https://github.com/llvm/llvm-project/pull/149565
___
llvm-branch-commits mailing list
llvm-branch-commi
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/149565
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -210,12 +229,17 @@ serializeCommonAttributes(const Info &I, json::Object
&Obj,
}
if (!I.Description.empty()) {
-json::Value DescArray = json::Array();
-auto &DescArrayRef = *DescArray.getAsArray();
-DescArrayRef.reserve(I.Description.size());
-for (cons
https://github.com/ilovepi commented:
This seems mostly fine. I'll probably LGTM once I go through the whole stack.
https://github.com/llvm/llvm-project/pull/149564
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.l
@@ -210,12 +229,17 @@ serializeCommonAttributes(const Info &I, json::Object
&Obj,
}
if (!I.Description.empty()) {
-json::Value DescArray = json::Array();
-auto &DescArrayRef = *DescArray.getAsArray();
-DescArrayRef.reserve(I.Description.size());
-for (cons
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/149564
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -60,6 +60,17 @@ HTML-SHAPE:
HTML-SHAPE:
HTML-SHAPE:
HTML-SHAPE: class Shape
+HTML-SHAPE:
+HTML-SHAPE:
+HTML-SHAPE: Abstr
ilovepi wrote:
I thought we switched away from cloning to avoid redundancy. I'll take a look
through previous patches though.
https://github.com/llvm/llvm-project/pull/13
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http
ilovepi wrote:
nuts, I forgot about https://github.com/llvm/llvm-project/pull/72180, I guess
I'll need to think about this some more.
https://github.com/llvm/llvm-project/pull/13
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.
ilovepi wrote:
oh https://github.com/llvm/llvm-project/pull/139223 may avoid the issue w/
BlockAddress
https://github.com/llvm/llvm-project/pull/13
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-
@@ -2869,9 +2870,23 @@ static void setLinkageForGV(llvm::GlobalValue *GV, const
NamedDecl *ND) {
GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage);
}
+static bool hasExistingGeneralizedTypeMD(llvm::Function *F) {
+ llvm::MDNode *MD = F->getMetadata(llvm::LLVMContext
501 - 600 of 799 matches
Mail list logo