[clang] Docs: ambiguous use of "explicitly" in [[clang::no_specializaiton]] (PR #143839)
Michael Davis via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 11 23:24:28 PDT 2025
https://github.com/mdavis36 updated https://github.com/llvm/llvm-project/pull/143839
>From c1e9c253b863297e5e245ae9a484f4275bb1187d Mon Sep 17 00:00:00 2001
From: mdavis36 <michael.l.davis at hotmail.co.uk>
Date: Wed, 11 Jun 2025 22:32:30 -0700
Subject: [PATCH] Remove "explicitly" from ambiguous documentaion on
[[clang::no_specialization]].
---
clang/include/clang/Basic/AttrDocs.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 047f51ffa59ed..508cf6d427a52 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -1216,8 +1216,8 @@ def NoSpecializationsDocs : Documentation {
let Category = DocCatDecl;
let Content = [{
``[[clang::no_specializations]]`` can be applied to function, class, or variable
-templates which should not be explicitly specialized by users. This is primarily
-used to diagnose user specializations of standard library type traits.
+templates which should not be specialized by users. This is primarily used to
+diagnose user specializations of standard library type traits.
}];
}
More information about the cfe-commits
mailing list