[clang] e7549da - Fix a think-o with the numerical suffixes in the docs for init_priority.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 13:53:16 PDT 2020


Author: Aaron Ballman
Date: 2020-09-28T16:52:58-04:00
New Revision: e7549dafcd33ced4280a81ca1d1ee4cc78ed253f

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

LOG: Fix a think-o with the numerical suffixes in the docs for init_priority.

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 46b6b643e3de..8c236796546c 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -75,7 +75,7 @@ relative ordering of values is important. For example:
   __attribute__((init_priority(200))) SomeType Obj1;
   __attribute__((init_priority(101))) SomeType Obj2;
 
-``Obj1`` will be initialized *before* ``Obj2`` despite the usual order of
+``Obj2`` will be initialized *before* ``Obj1`` despite the usual order of
 initialization being the opposite.
 
 This attribute is only supported for C++ and Objective-C++ and is ignored in


        


More information about the cfe-commits mailing list