r208176 - clang-format: Be slightly more aggressive on single-line	functions.
    Tobias Grosser 
    tobias at grosser.es
       
    Wed May  7 04:50:56 PDT 2014
    
    
  
On 07/05/2014 13:20, Daniel Jasper wrote:
> Why is this using an elaborated return type? Can you just remove the
> "struct"?
I just rebuilt clang-format and I found another formatting change:
-  ReportFuncCall(Instruction *Inst) : Inst(Inst) {
-    ++BadFuncCallForScop;
-  };
+  ReportFuncCall(Instruction *Inst) : Inst(Inst) { 
++BadFuncCallForScop; }; <- This is just one line
Was this intentional as well? In case it was, maybe it is worth adding 
some non-js tests here.
Tobias
    
    
More information about the cfe-commits
mailing list