Re: [lldb-dev] Running Clang-format automatically in CMake

2016-09-06 Thread Zachary Turner via lldb-dev
What would be the gain of such a thing? It would be extremely slow to run clang-format every single time you ran CMake, and also having a run of CMake generate changes to your source tree seems like using the wrong tool for the job. I think we should follow whatever LLVM does, which in this case

[lldb-dev] Running Clang-format automatically in CMake

2016-09-06 Thread Eugene Zelenko via lldb-dev
Hi! Since LLDB code is freshly formatted, it may make sense to run Clang-format automatically via CMake. If not as part of regular build, but may be subtarget of install or check targets as it done in Polly. Eugene. ___ lldb-dev mailing list lldb-dev@li