[cfe-commits] r173183 - /cfe/trunk/docs/ClangTools.rst
Dmitri Gribenko
gribozavr at gmail.com
Tue Jan 22 11:22:22 PST 2013
Author: gribozavr
Date: Tue Jan 22 13:22:22 2013
New Revision: 173183
URL: http://llvm.org/viewvc/llvm-project?rev=173183&view=rev
Log:
Update docs: nullptr conversion tool landed
Modified:
cfe/trunk/docs/ClangTools.rst
Modified: cfe/trunk/docs/ClangTools.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ClangTools.rst?rev=173183&r1=173182&r2=173183&view=diff
==============================================================================
--- cfe/trunk/docs/ClangTools.rst (original)
+++ cfe/trunk/docs/ClangTools.rst Tue Jan 22 13:22:22 2013
@@ -93,6 +93,15 @@
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 @@
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``).
More information about the cfe-commits
mailing list