Skip to content

Commit 05a6509

Browse files
committed
fix
1 parent a8cbf21 commit 05a6509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/docs/clang-tidy/checks/llvm/twine-local.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ should be generally avoided.
1515

1616
static std::string Moo = (Twine("bark") + "bah").str();
1717

18-
The ``llvm::Twine`` does not own the memory of its contents, so it is not
18+
The ``Twine`` does not own the memory of its contents, so it is not
1919
recommended to use ``Twine`` created from temporary strings or string literals.
2020

2121
.. code-block:: c++
@@ -29,6 +29,6 @@ recommended to use ``Twine`` created from temporary strings or string literals.
2929
}
3030

3131
After applying this fix-it hints, the code will use ``std::string`` instead of
32-
``Twine`` for local variables. However, ``llvm::Twine`` has lots of methods that
32+
``Twine`` for local variables. However, ``Twine`` has lots of methods that
3333
are incompatible with ``std::string``, so the user may need to adjust the code
3434
manually after applying the fix-it hints.

0 commit comments

Comments
 (0)