[cfe-commits] [patch] Move PrettyStackTraceParserEntry to ParseAST.cpp

Nico Weber thakis at chromium.org
Tue Nov 27 13:58:25 PST 2012


On Sat, Nov 24, 2012 at 4:16 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Sat, Nov 24, 2012 at 5:40 AM, Nico Weber <thakis at chromium.org> wrote:
>> On Fri, Nov 23, 2012 at 7:24 PM, Nico Weber <thakis at chromium.org> wrote:
>>> Hi,
>>>
>>> r128056 moved PrettyStackTraceParserEntry construction from Parser.h
>>> to ParseAST.cpp. Is it ok to move that class itself there too?
>>
>> …and that's how it'd look like.
>
> Maybe wrap it into an unnamed namespace since it is used only in a single file?

Landed with that in r168731.

>
> 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