r190413 - Allow _clang-format as alternative to .clang-format config filename
djasper at google.com
Wed Sep 11 10:31:52 PDT 2013
I really don't. If anything, I'd probably be leaning towards Hans's side
(with .clang-format being nice and consistent with clang-format and the ./_
just being a necessary evil). I don't know how many .clang-format files
might be out there, though ;-).
On Wed, Sep 11, 2013 at 7:24 PM, Hans Wennborg <hans at chromium.org> wrote:
> On Tue, Sep 10, 2013 at 11:34 AM, Chandler Carruth <chandlerc at google.com>
> > On Tue, Sep 10, 2013 at 8:41 AM, Hans Wennborg <hans at hanshq.net> wrote:
> >> Allow _clang-format as alternative to .clang-format config filename
> >> Dotfiles are impractical on Windows. This makes clang-format search
> >> for the style configuration file as '_clang-format' in addition to
> >> the usual '.clang-format'. This is similar to how VIM searches for
> >> '_vimrc' on Windows.
> > Ok, the '-' here is getting damn confusing. Should this be _clang_format?
> > .clang_format for consistency there? Or do folks really like the format
> > here?
> It is already consistent, though. _clang-format is consistent with
> .clang-format which is consistent with the name of the tool (which is
> consistent with the name of all the other tools).
> Maybe Daniel has an opinion here.
> - Hans
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits