Adding user documentation for UseAuto transform
Reviewers: silvas, gribozavr
llvm-svn: 176735
diff --git a/clang-tools-extra/docs/cpp11-migrate.rst b/clang-tools-extra/docs/cpp11-migrate.rst
index 55a5d4b..48ad12b 100644
--- a/clang-tools-extra/docs/cpp11-migrate.rst
+++ b/clang-tools-extra/docs/cpp11-migrate.rst
@@ -2,6 +2,11 @@
cpp11-migrate User's Manual
===========================
+.. toctree::
+ :hidden:
+
+ UseAutoTransform
+
:program:`cpp11-migrate` is a standalone tool used to automatically convert
C++98 and C++03 code to use features of the new C++11 standard where
appropriate.
@@ -30,6 +35,11 @@
Makes use of C++11 range-based for loops where possible.
See :ref:`loop-convert-transformation`.
+.. option:: -use-auto
+
+ Replace the type specifier of variable declarations with the ``auto`` type
+ specifier. See :doc:`UseAutoTransform`.
+
.. option:: -p=<build-path>
``<build-path>`` is a CMake build directory containing a file named