[clang] 4855018 - Fix sphinx warnings in AttributeReference, NFC

Aaron Puchert via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 26 15:53:28 PDT 2020


Author: Aaron Puchert
Date: 2020-09-27T00:52:36+02:00
New Revision: 485501899d6c752ff05f4e045f7f89ace39ec413

URL: https://github.com/llvm/llvm-project/commit/485501899d6c752ff05f4e045f7f89ace39ec413
DIFF: https://github.com/llvm/llvm-project/commit/485501899d6c752ff05f4e045f7f89ace39ec413.diff

LOG: Fix sphinx warnings in AttributeReference, NFC

The previous attempt in d34c8c70 didn't help (the problem was missing
indentation), and another issue was introduced by a51d51a0.

Added: 
    

Modified: 
    clang/include/clang/Basic/AttrDocs.td

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 644795d41c8c..46b6b643e3de 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -2949,7 +2949,7 @@ Attribute ``trivial_abi`` has no effect in the following cases:
 - Copy constructors and move constructors of the class are all deleted.
 - The class has a base class that is non-trivial for the purposes of calls.
 - The class has a non-static data member whose type is non-trivial for the
-purposes of calls, which includes:
+  purposes of calls, which includes:
 
   - classes that are non-trivial for the purposes of calls
   - __weak-qualified types in Objective-C++
@@ -3694,11 +3694,10 @@ deprecated, only exists for compatibility purposes, and should not be used in
 new code.
 
 * ``swift_newtype(struct)`` means that a Swift struct will be created for this
-typedef.
+  typedef.
 
 * ``swift_newtype(enum)`` means that a Swift enum will be created for this
-ypedef.
-
+  typedef.
 
   .. code-block:: c
 


        


More information about the cfe-commits mailing list