diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-01-31 05:44:04 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-01-31 05:44:04 +0000 |
commit | 3480487172626d3871faeba4765470a2268aad57 (patch) | |
tree | 6a1b31f1aabadbf6a32e6eb97320245fd8c99d61 /docs/LangRef.rst | |
parent | eddab1550ee10cce3bb26a26e88529cb19451aa3 (diff) |
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
Diffstat (limited to 'docs/LangRef.rst')
-rw-r--r-- | docs/LangRef.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 0bcbe44bd4..d865f3f8b8 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 |