[cfe-commits] r167786 - in /cfe/trunk: lib/Sema/SemaOverload.cpp test/SemaTemplate/dependent-names.cpp

Dmitri Gribenko gribozavr at gmail.com
Wed Nov 14 12:21:07 PST 2012


On Tue, Nov 13, 2012 at 2:08 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Author: nicholas
> Date: Mon Nov 12 18:08:34 2012
> New Revision: 167786
>
> URL: http://llvm.org/viewvc/llvm-project?rev=167786&view=rev
> Log:
> When filtering the list of associated namespaces so that we don't suggest people
> add functions to namespace 'std', also filter out namespaces with '__' anywhere
> in the name.

Isn't it a bit too broad to exclude namespaces containing "__"
anywhere, rather than only at the beginning?

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list