зеркало из https://github.com/microsoft/clang-1.git
Documentation: add an idea for an automatic refactoring
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
3c08a818a6
Коммит
824ed0c7a9
|
@ -116,4 +116,8 @@ Ideas for new Tools
|
||||||
* C++ cast conversion tool. Will convert C-style casts (``(type) value``) to
|
* C++ cast conversion tool. Will convert C-style casts (``(type) value``) to
|
||||||
appropriate C++ cast (``static_cast``, ``const_cast`` or
|
appropriate C++ cast (``static_cast``, ``const_cast`` or
|
||||||
``reinterpret_cast``).
|
``reinterpret_cast``).
|
||||||
|
* Non-member ``begin()`` and ``end()`` conversion tool. Will convert
|
||||||
|
``foo.begin()`` into ``begin(foo)`` and similarly for ``end()``, where
|
||||||
|
``foo`` is a standard container. We could also detect similar patterns for
|
||||||
|
arrays.
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче