diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-04 17:27:36 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-04 17:27:36 +0000 |
commit | 2ada0489755755eaa99b94b2976c76e27f836fae (patch) | |
tree | 63b4a7b5d322f52bacd460ed7d8a2099441e3f62 /clang/docs/InternalsManual.html | |
parent | 189d41f625ebe2bfbb6dda5657cd4cb819dcd2b3 (diff) | |
download | bcm5719-llvm-2ada0489755755eaa99b94b2976c76e27f836fae.tar.gz bcm5719-llvm-2ada0489755755eaa99b94b2976c76e27f836fae.zip |
Some name-lookup-related fixes, from Piotr Rak!
- Changes Lookup*Name functions to return NamedDecls, instead of
Decls. Unfortunately my recent statement that it will simplify lot of
code, was not quite right, but it simplifies some...
- Makes MergeLookupResult SmallPtrSet instead of vector, following
Douglas suggestions.
- Adds %qN format for printing qualified names to Diagnostic.
- Avoids searching for using-directives in Scopes, which are not
DeclScope, during unqualified name lookup.
llvm-svn: 63739
Diffstat (limited to 'clang/docs/InternalsManual.html')
-rw-r--r-- | clang/docs/InternalsManual.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/docs/InternalsManual.html b/clang/docs/InternalsManual.html index f35dcc2de91..0d029f7e375 100644 --- a/clang/docs/InternalsManual.html +++ b/clang/docs/InternalsManual.html @@ -321,6 +321,11 @@ Clang:</p> DeclarationName corresponds to an Objective-C instance method selector. As such, it prints the selector with a leading '-'.</p></td></tr> +<tr><td colspan="2"><b>"q" format</b></td></tr> +<tr><td>Example:</td><td><tt>"candidate found by name lookup is %q0"</tt></td></tr> +<tr><td>Class:</td><td>NamedDecl*</td></tr> +<tr><td>Description</td><td><p>This formatter indicates that the fully-qualified name of the declaration should be printed, e.g., "std::vector" rather than "vector".</p></td></tr> + </table> <p>It is really easy to add format specifiers to the Clang diagnostics system, |