Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

17 lines
321 B
ReStructuredText

.. title:: clang-tidy - llvm-twine-local
llvm-twine-local
================
Looks for local ``Twine`` variables which are prone to use after frees and
should be generally avoided.
.. code-block:: c++
static Twine Moo = Twine("bark") + "bah";
// becomes
static std::string Moo = (Twine("bark") + "bah").str();