[docs] Fix link for static constructors article
authorPrajwal S N <prajwalnadig21@gmail.com>
Sat, 17 Jun 2023 10:02:32 +0000 (15:32 +0530)
committerYashwant Singh <Yashwant.Singh@amd.com>
Sat, 17 Jun 2023 10:05:07 +0000 (15:35 +0530)
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

llvm/docs/CodingStandards.rst

index 6d8ed3366aaa9a4a46ccb13459a3dbe324d7e7a8..b02386ed52985af3a6a0f5d6953c99f48462c2fd 100644 (file)
@@ -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 different source files are initialized in `arbitrary order
-<https://yosefk.com/c++fqa/ctors.html#fqa-10.12>`, making the code more
+Globals in different source files are initialized in `arbitrary order`
+<https://yosefk.com/c++fqa/ctors.html#fqa-10.12>, making the code more
 difficult to reason about.
 
 Static constructors have negative impact on launch time of programs that use