From c6f1e5674533caac7d55da9dc0145215fb47f493 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 llvm-svn: 173183 --- clang/docs/ClangTools.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/clang/docs/ClangTools.rst b/clang/docs/ClangTools.rst index 3a263c3..65827d2 100644 --- a/clang/docs/ClangTools.rst +++ b/clang/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.7.4