Re: [swift-dev] Policy on the use of clang-format

2016-04-06 Thread Omeed Safaee-Rad via swift-dev
Hi Mark! > The general policy is no bulk reformatting. Cool! > It’s fine to reformat lines that you otherwise change, Got it! > There’s a tool called git-clang-format which makes it easy to run > clang-format but only touch the lines you’ve already modified. Awesome, thanks! Omeed > On Ap

Re: [swift-dev] Policy on the use of clang-format

2016-04-05 Thread Mark Lacey via swift-dev
> On Apr 4, 2016, at 7:18 PM, Omeed Safaee-Rad via swift-dev > wrote: > > Hello Swift! :) Hi Omeed, > > First off, thank you for the wonderful project! > > I noticed that a number of C++ files in the Swift compiler could use a pass > of clang-format. What is the general policy on this? Th

[swift-dev] Policy on the use of clang-format

2016-04-04 Thread Omeed Safaee-Rad via swift-dev
Hello Swift! :) First off, thank you for the wonderful project! I noticed that a number of C++ files in the Swift compiler could use a pass of clang-format. What is the general policy on this? Given that clang-format can be invasive (affecting commit history - `git blame` that is), my understan