Skip to content

Commit 449df80

Browse files
committed
fix format
1 parent 82f24c9 commit 449df80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang-tools-extra/docs/clang-tidy/checks/bugprone/return-const-ref-from-parameter.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ annotated function. See `lifetimebound attribute<https://clang.llvm.org/docs/Att
4646
for details.
4747

4848
.. code-block:: c++
49+
4950
const int &f(const int &a [[clang::lifetimebound]]) { return a; } // no warning
5051
const int &v = f(1); // warning: temporary bound to local reference 'v' will be destroyed at the end of the full-expression [-Wdangling]

0 commit comments

Comments
 (0)