From 68c41460470edd11bc71b230d9890c0a8dca9108 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Tue, 22 Jan 2013 19:22:22 +0000 Subject: [PATCH] Update docs: nullptr conversion tool landed git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173183 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ClangTools.rst | 12 +++++++++--- 1 file 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``). -- 2.40.0