[llvm] cca42ff - [docs] Fix link for static constructors article

Yashwant Singh via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 17 03:07:58 PDT 2023


Author: Prajwal S N
Date: 2023-06-17T15:35:07+05:30
New Revision: cca42ffd160e4f142159e123e08724af7d2744ed

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

LOG: [docs] Fix link for static constructors article

It was previously present in the inline code block and did not work as a
hyperlink.

Reviewed By: yassingh

Differential Revision: https://reviews.llvm.org/D153061

Added: 
    

Modified: 
    llvm/docs/CodingStandards.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst
index 6d8ed3366aaa9..b02386ed52985 100644
--- a/llvm/docs/CodingStandards.rst
+++ b/llvm/docs/CodingStandards.rst
@@ -569,8 +569,8 @@ Static constructors and destructors (e.g., global variables whose types have a
 constructor or destructor) should not be added to the code base, and should be
 removed wherever possible.
 
-Globals in 
diff erent source files are initialized in `arbitrary order
-<https://yosefk.com/c++fqa/ctors.html#fqa-10.12>`, making the code more
+Globals in 
diff erent source files are initialized in `arbitrary order`
+<https://yosefk.com/c++fqa/ctors.html#fqa-10.12>, making the code more
 
diff icult to reason about.
 
 Static constructors have negative impact on launch time of programs that use


        


More information about the llvm-commits mailing list