This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Make format style customizable
ClosedPublic

Authored by JDevlieghere on Nov 26 2016, 4:40 AM.

Details

Summary

I came across an outstanding FIXME to make the format style customizable. Inspired by the include fixer, I added an new option -style to configure the fallback style in case no clang-format configuration file is found. The default remains "llvm".

Diff Detail

Repository
rL LLVM

Event Timeline

JDevlieghere retitled this revision from to [clang-tidy] Make format style customizable.
JDevlieghere updated this object.
JDevlieghere set the repository for this revision to rL LLVM.
JDevlieghere added a project: Restricted Project.
  • Fixed typo and formatting in ClangTidy.h

Always subscribe cfe-commits.

alexfh accepted this revision.Nov 30 2016, 8:07 AM
alexfh edited edge metadata.

LG. Thanks!

This revision is now accepted and ready to land.Nov 30 2016, 8:07 AM
JDevlieghere closed this revision.Nov 30 2016, 10:16 AM