summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-10-31 17:18:07 +0000
committerAndrew Trick <atrick@apple.com>2013-10-31 17:18:07 +0000
commitcf940ceff73f567876f1a1f62d3acbf67c43ea90 (patch)
tree838ad26bbb450528b9deebe02ea39da5fa4a9f41 /docs
parentd7ef09bc9a6dea29a4ac4a45e722d479e8c50f6d (diff)
downloadllvm-cf940ceff73f567876f1a1f62d3acbf67c43ea90.tar.gz
llvm-cf940ceff73f567876f1a1f62d3acbf67c43ea90.tar.bz2
llvm-cf940ceff73f567876f1a1f62d3acbf67c43ea90.tar.xz
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index a8f3cee960..b2fc3e4089 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -897,7 +897,7 @@ example:
``minsize``
This attribute suggests that optimization passes and code generator
passes make choices that keep the code size of this function as small
- as possible and perform optimizations that may sacrifice runtime
+ as possible and perform optimizations that may sacrifice runtime
performance in order to minimize the size of the generated code.
``naked``
This attribute disables prologue / epilogue emission for the
@@ -942,12 +942,12 @@ example:
unwind, its runtime behavior is undefined.
``optnone``
This function attribute indicates that the function is not optimized
- by any optimization or code generator passes with the
+ by any optimization or code generator passes with the
exception of interprocedural optimization passes.
This attribute cannot be used together with the ``alwaysinline``
attribute; this attribute is also incompatible
with the ``minsize`` attribute and the ``optsize`` attribute.
-
+
The inliner should never inline this function in any situation.
Only functions with the ``alwaysinline`` attribute are valid
candidates for inlining inside the body of this function.
@@ -965,7 +965,7 @@ example:
(including ``byval`` arguments) and never changes any state visible
to callers. This means that it cannot unwind exceptions by calling
the ``C++`` exception throwing methods.
-
+
On an argument, this attribute indicates that the function does not
dereference that pointer argument, even though it may read or write the
memory that the pointer points to if accessed through other pointers.
@@ -979,7 +979,7 @@ example:
called with the same set of arguments and global state. It cannot
unwind an exception by calling the ``C++`` exception throwing
methods.
-
+
On an argument, this attribute indicates that the function does not write
through this pointer argument, even though it may write to the memory that
the pointer points to.