It also depends a little bit on your style of programming.  For example, in C code, I personally like using gcc extensions like nested functions.  As far as I know this is not supported by clang (but perhaps someone more knowledgeble can chime in).