From 3480487172626d3871faeba4765470a2268aad57 Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Thu, 31 Jan 2013 05:44:04 +0000 Subject: [PATCH] Formatting Fix. Changed " to `` around the word 'constant' in the Lang Ref section Global Variable so that the style matches the other keywords in said section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174040 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 0bcbe44bd4a..d865f3f8b84 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -465,11 +465,11 @@ more information on under which circumstances the different models may be used. The target may choose a different TLS model if the specified model is not supported, or if a better choice of model can be made. -A variable may be defined as a global "constant," which indicates that +A variable may be marked with ``constant``, which indicates that the contents of the variable will **never** be modified (enabling better optimization, allowing the global data to be placed in the read-only section of an executable, etc). Note that variables that need runtime -initialization cannot be marked "constant" as there is a store to the +initialization cannot be marked ``constant`` as there is a store to the variable. LLVM explicitly allows *declarations* of global variables to be marked