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

Dmitri Gribenko gribozavr at gmail.com
Sat Nov 24 04:16:12 PST 2012


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?

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