File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1274,13 +1274,13 @@ The ``gnu_inline`` changes the meaning of ``extern inline`` to use GNU inline
1274
1274
semantics, meaning:
1275
1275
1276
1276
* If any declaration that is declared ``inline `` is not declared ``extern ``,
1277
- then the ``inline `` keyword is just a hint. In particular, an out-of-line
1278
- definition is still emitted for a function with external linkage, even if all
1279
- call sites are inlined, unlike in C99 and C++ inline semantics.
1277
+ then the ``inline `` keyword is just a hint. In particular, an out-of-line
1278
+ definition is still emitted for a function with external linkage, even if all
1279
+ call sites are inlined, unlike in C99 and C++ inline semantics.
1280
1280
1281
1281
* If all declarations that are declared ``inline `` are also declared
1282
- ``extern ``, then the function body is present only for inlining and no
1283
- out-of-line version is emitted.
1282
+ ``extern ``, then the function body is present only for inlining and no
1283
+ out-of-line version is emitted.
1284
1284
1285
1285
Some important consequences: ``static inline `` emits an out-of-line
1286
1286
version if needed, a plain ``inline `` definition emits an out-of-line version
You can’t perform that action at this time.
0 commit comments