llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Michael Davis (mdavis36)

<details>
<summary>Changes</summary>

# Summary
This PR resolves issue #<!-- -->143719.
- Removes "explcitly" from the documentation on `[[clang::no_specialization]]` 
to better match behavior of specialization as defined by the C++ standard.


---
Full diff: https://github.com/llvm/llvm-project/pull/143839.diff


1 Files Affected:

- (modified) clang/include/clang/Basic/AttrDocs.td (+2-2) 


``````````diff
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.
   }];
 }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/143839
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to