[cfe-commits] patch: improve two-phase lookup failure diagnostic

Nick Lewycky nlewycky at google.com
Mon Nov 12 15:58:36 PST 2012


Clang has a nice diagnostic for failing two-phase name lookup which will,
when appropriate, suggest moving a function into one of the associated
namespaces. It's smart enough to filter out namespace 'std', and this patch
adds filtering for names with '__' anywhere in them. This is good for us
libstdc++ users who find that lots of standard types are associated with
__gnu_cxx.

Please review!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121112/de433758/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: two-phase-ignore-doubleunderscores-1.patch
Type: application/octet-stream
Size: 2481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121112/de433758/attachment.obj>


More information about the cfe-commits mailing list