[clang-tidy] Format code around applied fixes
authorAlexander Kornienko <alexfh@google.com>
Fri, 3 Mar 2017 11:16:34 +0000 (11:16 +0000)
committerAlexander Kornienko <alexfh@google.com>
Fri, 3 Mar 2017 11:16:34 +0000 (11:16 +0000)
commit17a4b2344e8a4d6b2b6e23bf50d4e77d0a1879c4
treeb6262e432983338ddc2bcef269b770f1517d1681
parentbdac9f30c0bf0251e59f84a101230dd61ebfcf16
[clang-tidy] Format code around applied fixes

Summary:
Add -format option (disabled by default for now) to trigger formatting
of replacements.

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: kimgr, malcolm.parsons, JDevlieghere, cfe-commits

Differential Revision: https://reviews.llvm.org/D30564

llvm-svn: 296864
clang-tools-extra/clang-tidy/ClangTidy.cpp
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/index.rst
clang-tools-extra/test/clang-tidy/clean-up-code.cpp
clang-tools-extra/test/clang-tidy/readability-braces-around-statements-format.cpp [new file with mode: 0644]