[clang] [clang] Add reference to documentation of SysVABI (PR #85022)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 12 22:28:18 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Zepp (ZeppLu)

<details>
<summary>Changes</summary>

The documentation has already been there in `AttrDocs.td`, just lacks proper reference

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


1 Files Affected:

- (modified) clang/include/clang/Basic/Attr.td (+1-1) 


``````````diff
diff --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td
index 63efd85dcd4e58..67d87eca16ede8 100644
--- a/clang/include/clang/Basic/Attr.td
+++ b/clang/include/clang/Basic/Attr.td
@@ -2934,7 +2934,7 @@ def Suppress : DeclOrStmtAttr {
 def SysVABI : DeclOrTypeAttr {
   let Spellings = [GCC<"sysv_abi">];
 //  let Subjects = [Function, ObjCMethod];
-  let Documentation = [Undocumented];
+  let Documentation = [SysVABIDocs];
 }
 
 def ThisCall : DeclOrTypeAttr {

``````````

</details>


https://github.com/llvm/llvm-project/pull/85022


More information about the cfe-commits mailing list