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 | e753f4bebdb7217ba3c65faceaed338d31f4cc4b (patch) | |
tree | d3b2c67cc34af033483660e9a7e8ac68335b6172 /clang/docs/UsersManual.html | |
parent | 46829f283b5a16d67b8bd50b07229830d196d900 (diff) | |
download | bcm5719-llvm-e753f4bebdb7217ba3c65faceaed338d31f4cc4b.tar.gz bcm5719-llvm-e753f4bebdb7217ba3c65faceaed338d31f4cc4b.zip |
Update documentation with regards to template type diffing.
llvm-svn: 159249
Diffstat (limited to 'clang/docs/UsersManual.html')
-rw-r--r-- | clang/docs/UsersManual.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html index ae9ebfa394b..6a620d20185 100644 --- a/clang/docs/UsersManual.html +++ b/clang/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> |