[llvm-dev] Highlighting trailing whitespaces on Phab?

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 14 14:30:52 PST 2016


Hi,

clang-format removes them.
If you are (like me) likely to forget to run "git clang-format HEAD~” before pushing, adding a pre-commit (or pre-push) hook is helpful.

— 
Mehdi


> On Nov 14, 2016, at 2:01 PM, Rui Ueyama via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> I wonder if Phabricator has an ability to highlight trailing whitespaces, because I often find trailing whitespaces after they are submitted. If they were highlighted, they would have been removed before submitting. Does anyone know about this?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list