Hacker News new | past | comments | ask | show | jobs | submit login

I am yet to find a tool to unwrap/unroll macros, specially monsters like these:

    #define loop(v,m) for(int v = 0; v < int(m); ++v)
    #define loopi(m) loop(i,m)
    #define loopj(m) loop(j,m)
    #define loopk(m) loop(k,m)
    #define loopl(m) loop(l,m)
    #define looprev(v,m) for(int v = int(m); --v >= 0;)
    #define loopirev(m) looprev(i,m)
    #define loopjrev(m) looprev(j,m)
    #define loopkrev(m) looprev(k,m)
    #define looplrev(m) looprev(l,m)
JetBrains failed miserably on that codebase.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: