diff options
author | Alexander Kornienko <alexfh@google.com> | 2017-03-03 11:16:34 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2017-03-03 11:16:34 +0000 |
commit | 17a4b2344e8a4d6b2b6e23bf50d4e77d0a1879c4 (patch) | |
tree | b6262e432983338ddc2bcef269b770f1517d1681 /clang-tools-extra/test/clang-tidy/clean-up-code.cpp | |
parent | bdac9f30c0bf0251e59f84a101230dd61ebfcf16 (diff) | |
download | bcm5719-llvm-17a4b2344e8a4d6b2b6e23bf50d4e77d0a1879c4.tar.gz bcm5719-llvm-17a4b2344e8a4d6b2b6e23bf50d4e77d0a1879c4.zip |
[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
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/clean-up-code.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/clean-up-code.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/clean-up-code.cpp b/clang-tools-extra/test/clang-tidy/clean-up-code.cpp index 96b3a45178b..15873ed168d 100644 --- a/clang-tools-extra/test/clang-tidy/clean-up-code.cpp +++ b/clang-tools-extra/test/clang-tidy/clean-up-code.cpp @@ -1,4 +1,6 @@ // RUN: %check_clang_tidy %s misc-unused-using-decls %t +// RUN: %check_clang_tidy %s misc-unused-using-decls %t -- -format-style=none -- +// RUN: %check_clang_tidy %s misc-unused-using-decls %t -- -format-style=llvm -- namespace a { class A {}; } namespace b { using a::A; |