aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-22 19:22:22 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-22 19:22:22 +0000
commit68c41460470edd11bc71b230d9890c0a8dca9108 (patch)
treed73ff110bd2bdcbccbecc66962018fec5bcca0a6
parent3548068c22f809e5bc64b83d2c3622018469256c (diff)
Update docs: nullptr conversion tool landed
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173183 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/ClangTools.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/ClangTools.rst b/docs/ClangTools.rst
index 3a263c395a..65827d20a8 100644
--- a/docs/ClangTools.rst
+++ b/docs/ClangTools.rst
@@ -93,6 +93,15 @@ both as a user tool (ideally with powerful IDE integrations) and part of other
refactoring tools, e.g. to do a reformatting of all the lines changed during a
renaming.
+``cpp11-migrate``
+~~~~~~~~~~~~~~~~~
+``cpp11-migrate`` migrates C++ code to use C++11 features where appropriate.
+Currently it can:
+
+* convert loops to range-based for loops;
+
+* convert null pointer constants (like ``NULL`` or ``0``) to C++11 ``nullptr``.
+
Extra Clang Tools
=================
@@ -104,9 +113,6 @@ provide its own user-focused documentation.
Ideas for new Tools
===================
-* C++11 null pointer conversion tool. Will convert all null pointer constants
- (like ``NULL`` or ``0``) to C++11 ``nullptr``.
-
* C++ cast conversion tool. Will convert C-style casts (``(type) value``) to
appropriate C++ cast (``static_cast``, ``const_cast`` or
``reinterpret_cast``).