djasper added a comment.

It has very basic newline detection, but if possible, I'd like to not 
significantly increase that. Specifically, I don't think it is worth the 
complexity of additional configuration options that users have to worry about, 
if it can just do the right thing (which IMO, it currently does other than in a 
few some rare corner cases).

I am curious: Have you measured what makes clang-format slow if you give it the 
full file? Is that the file itself or the time clang-format spends on parsing 
it? Maybe some of the optimizations you now do in your IDE would actually be 
suited to clang-format itself.


http://reviews.llvm.org/D19031



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to