From cca42ffd160e4f142159e123e08724af7d2744ed Mon Sep 17 00:00:00 2001 From: Prajwal S N Date: Sat, 17 Jun 2023 15:32:32 +0530 Subject: [PATCH] [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 --- llvm/docs/CodingStandards.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst index 6d8ed33..b02386e 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 different source files are initialized in `arbitrary order -`, making the code more +Globals in different source files are initialized in `arbitrary order` +, making the code more difficult to reason about. Static constructors have negative impact on launch time of programs that use -- 2.7.4