diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-11-24 03:33:13 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-11-24 03:33:13 +0000 |
| commit | e4b95698df99424e287b34c76da92add5a773392 (patch) | |
| tree | 7e5bd35e6fdb76f86c7c56137405e4e2a50e0e08 /clang/docs/InternalsManual.html | |
| parent | 8361d4c51bd191f29dca50f5320e9c36955887c4 (diff) | |
| download | bcm5719-llvm-e4b95698df99424e287b34c76da92add5a773392.tar.gz bcm5719-llvm-e4b95698df99424e287b34c76da92add5a773392.zip | |
Rename Selector::getName() to Selector::getAsString(), and add
a new NamedDecl::getAsString() method.
Change uses of Selector::getName() to just pass in a Selector
where possible (e.g. to diagnostics) instead of going through
an std::string.
This also adds new formatters for objcinstance and objcclass
as described in the dox.
llvm-svn: 59933
Diffstat (limited to 'clang/docs/InternalsManual.html')
| -rw-r--r-- | clang/docs/InternalsManual.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/docs/InternalsManual.html b/clang/docs/InternalsManual.html index 91a12a93b9e..9e8a21e708e 100644 --- a/clang/docs/InternalsManual.html +++ b/clang/docs/InternalsManual.html @@ -297,6 +297,20 @@ Clang:</p> abort, as will a failure to match the argument against any expression.</p></td></tr> +<tr><td colspan="2"><b>"objcclass" format</b></td></tr> +<tr><td>Example:</td><td><tt>"method %objcclass0 not found"</tt></td></tr> +<tr><td>Class:</td><td>DeclarationName</td></tr> +<tr><td>Description:</td><td><p>This is a simple formatter that indicates the + DeclarationName corresponds to an Objective-C class method selector. As + such, it prints the selector with a leading '+'.</p></td></tr> + +<tr><td colspan="2"><b>"objcinstance" format</b></td></tr> +<tr><td>Example:</td><td><tt>"method %objcinstance0 not found"</tt></td></tr> +<tr><td>Class:</td><td>DeclarationName</td></tr> +<tr><td>Description:</td><td><p>This is a simple formatter that indicates the + DeclarationName corresponds to an Objective-C instance method selector. As + such, it prints the selector with a leading '-'.</p></td></tr> + </table> <p>It is really easy to add format specifiers to the Clang diagnostics system, |

