[cfe-dev] [Patch] Minor name lookup related tweaks.

Piotr Rak piotr.rak at gmail.com
Tue Feb 3 23:18:52 PST 2009


Hi,

Attached is small patch, which:
- 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.

Piotr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lookup.tweaks.diff
Type: text/x-patch
Size: 36547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090204/70f0f8c7/attachment.bin>


More information about the cfe-dev mailing list