[llvm-branch-commits] [clang-tools-extra] [clang-doc] add support for concepts (PR #144430)
Paul Kirth via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jun 20 10:00:53 PDT 2025
================
@@ -649,6 +693,9 @@ template <> void addTemplate(RecordInfo *I, TemplateInfo &&P) {
template <> void addTemplate(FunctionInfo *I, TemplateInfo &&P) {
I->Template.emplace(std::move(P));
}
+template <> void addTemplate(ConceptInfo *I, TemplateInfo &&P) {
+ I->Template = std::move(P);
+}
----------------
ilovepi wrote:
Not something you need to fix here, but dang do we require a lot of boiler-plate changes to the APIs. It's almost like we're not holding templates in the normal way...
https://github.com/llvm/llvm-project/pull/144430
More information about the llvm-branch-commits
mailing list