diff options
author | Richard Trieu <rtrieu@google.com> | 2012-06-27 02:00:20 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2012-06-27 02:00:20 +0000 |
commit | e59331ac3420d5028d986ada5c7ad826500d1e12 (patch) | |
tree | 0bb4daa38ba62653013b8392775d84a08e59d89c /docs/UsersManual.html | |
parent | df438046c0e2ae38045c01a5becea64df2b1bf73 (diff) |
Update documentation with regards to template type diffing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsersManual.html')
-rw-r--r-- | docs/UsersManual.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html index ae9ebfa394..6a620d2018 100644 --- a/docs/UsersManual.html +++ b/docs/UsersManual.html @@ -417,6 +417,48 @@ quotes(as "\"") and non-printable characters (as octal "\xxx").</p> </dd> +<dt id="opt_fno-elide-type"> +<b>-fno-elide-type</b>: +Turns off elision in template type printing.</td> +<dd><p>The default for template type printing is to elide as many template +arguments as possible, removing those which are the same in both template types, +leaving only the differences. Adding this flag will print all the template +arguments. If supported by the terminal, highlighting will still appear on +differing arguments.</p> + +Default: +<pre> +t.cc:4:5: <span class="note">note</span>: candidate function not viable: no known conversion from 'vector<map<[...], map<<span class="template-highlight">float</span>, [...]>>>' to 'vector<map<[...], map<<span class="template-highlight">double</span>, [...]>>>' for 1st argument; +</pre> +-fno-elide-type: +<pre> +t.cc:4:5: <span class="note">note</span>: candidate function not viable: no known conversion from 'vector<map<int, map<<span class="template-highlight">float</span>, int>>>' to 'vector<map<int, map<<span class="template-highlight">double</span>, int>>>' for 1st argument; +</pre> +</dd> + +<dt id="opt_fdiagnostics-show-template-tree"> +<b>-fdiagnostics-show-template-tree</b>: +Template type diffing prints a text tree.</td> +<dd><p>For diffing large templated types, this option will cause Clang to +display the templates as an indented text tree, one argument per line, with +differences marked inline. This is compatible with -fno-elide-type.</p> + +Default: +<pre> +t.cc:4:5: <span class="note">note</span>: candidate function not viable: no known conversion from 'vector<map<[...], map<<span class="template-highlight">float</span>, [...]>>>' to 'vector<map<[...], map<<span class="template-highlight">double</span>, [...]>>>' for 1st argument; +</pre> +-fdiagnostics-show-template-tree +<pre> +t.cc:4:5: <span class="note">note</span>: candidate function not viable: no known conversion for 1st argument; + vector< + map< + [...], + map< + [<span class="template-highlight">float</span> != <span class="template-highlight">float</span>], + [...]>>> +</pre> +</dd> + </dl> |