[PATCH] D153061: docs: fix link for static constructors article

Prajwal S N via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 11:49:32 PDT 2023


snprajwal created this revision.
snprajwal added reviewers: gribozavr, void.
Herald added a project: All.
snprajwal requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153061

Files:
  llvm/docs/CodingStandards.rst


Index: llvm/docs/CodingStandards.rst
===================================================================
--- llvm/docs/CodingStandards.rst
+++ llvm/docs/CodingStandards.rst
@@ -569,8 +569,8 @@
 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153061.531856.patch
Type: text/x-patch
Size: 699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230615/24937475/attachment.bin>


More information about the llvm-commits mailing list