This is an archive of the discontinued LLVM Phabricator instance.

clang-format: add an option for fallback style in vimrc
ClosedPublic

Authored by chilledheart on Mar 20 2015, 12:11 PM.

Details

Summary

It will be quite convenient to use if fallback style support is added,
so that clang-format.py will search and use existing .clang-format file
if there is any and fallback to the specific format style if not.
It should cover the projects which don't have .clang-format files
in their source.

And option fallback-style is available in clang 3.5 or later, it is safe to use.

Diff Detail

Event Timeline

chilledheart retitled this revision from to clang-format: add an option for fallback style in vimrc.
chilledheart updated this object.
chilledheart edited the test plan for this revision. (Show Details)
chilledheart added reviewers: alexfh, djasper, compnerd.
chilledheart added a subscriber: Unknown Object (MLST).
djasper accepted this revision.Apr 16 2015, 1:29 AM
djasper edited edge metadata.

Sorry, this somehow got lost. Submitted as r235080.

This revision is now accepted and ready to land.Apr 16 2015, 1:29 AM
djasper closed this revision.Apr 16 2015, 1:29 AM