[clang-tools-extra] r276862 - [include-fixer] Update document.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 27 06:17:17 PDT 2016
Author: hokein
Date: Wed Jul 27 08:17:16 2016
New Revision: 276862
URL: http://llvm.org/viewvc/llvm-project?rev=276862&view=rev
Log:
[include-fixer] Update document.
Modified:
clang-tools-extra/trunk/docs/include-fixer.rst
Modified: clang-tools-extra/trunk/docs/include-fixer.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/include-fixer.rst?rev=276862&r1=276861&r2=276862&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/include-fixer.rst (original)
+++ clang-tools-extra/trunk/docs/include-fixer.rst Wed Jul 27 08:17:16 2016
@@ -10,6 +10,10 @@ management of ``#include`` directives in
an automated way of adding ``#include`` directives for missing symbols in one
translation unit.
+While inserting missing ``#include``, :program:`clang-include-fixer` adds
+missing namespace qualifiers to all instances of an unidentified symbol if
+the symbol is missing some prefix namespace qualifiers.
+
Setup
=====
@@ -31,7 +35,7 @@ so only implementation files can be hand
.. _How To Setup Tooling For LLVM: http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
Creating a Symbol Index From a Compilation Database
-------------------------------------------------------
+---------------------------------------------------
The include fixer contains :program:`find-all-symbols`, a tool to create a
symbol database in YAML format from a compilation database by parsing all
@@ -54,7 +58,7 @@ database for LLVM, any project built by
Added #include "foo.h"
Integrate with Vim
--------------------
+------------------
To run `clang-include-fixer` on a potentially unsaved buffer in Vim. Add the
following key binding to your ``.vimrc``:
More information about the cfe-commits
mailing list