[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
Author: hans
Date: Wed Feb 27 05:12:48 2019
New Revision: 354971
URL: http://llvm.org/viewvc/llvm-project?rev=354971&view=rev
Log:
Re-generate AttributeReference.rst again
Modified:
cfe/branches/release_80/docs/AttributeReference.rst
Modified: cfe/branches/release_80/docs/AttributeReference.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_80/docs/AttributeReference.rst?rev=354971&r1=354970&r2=354971&view=diff
==============================================================================
--- 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
semantics, meaning:
* 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
mailing list