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:
Dmitri Gribenko 2013-02-24 19:04:36 +00:00
Родитель 3c08a818a6
Коммит 824ed0c7a9
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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.