[llvm-branch-commits] [cfe-branch] r354971 - Re-generate AttributeReference.rst again
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Feb 27 05:12:48 PST 2019
Date: Wed Feb 27 05:12:48 2019
New Revision: 354971
Re-generate AttributeReference.rst again
--- cfe/branches/release_80/docs/AttributeReference.rst (original)
+++ cfe/branches/release_80/docs/AttributeReference.rst Wed Feb 27 05:12:48 2019
@@ -1274,13 +1274,13 @@ The ``gnu_inline`` changes the meaning o
* If any declaration that is declared ``inline`` is not declared ``extern``,
-then the ``inline`` keyword is just a hint. In particular, an out-of-line
-definition is still emitted for a function with external linkage, even if all
-call sites are inlined, unlike in C99 and C++ inline semantics.
+ then the ``inline`` keyword is just a hint. In particular, an out-of-line
+ definition is still emitted for a function with external linkage, even if all
+ call sites are inlined, unlike in C99 and C++ inline semantics.
* If all declarations that are declared ``inline`` are also declared
-``extern``, then the function body is present only for inlining and no
-out-of-line version is emitted.
+ ``extern``, then the function body is present only for inlining and no
+ out-of-line version is emitted.
Some important consequences: ``static inline`` emits an out-of-line
version if needed, a plain ``inline`` definition emits an out-of-line version
More information about the llvm-branch-commits