diff options
author | Alexander Kornienko <alexfh@google.com> | 2016-10-17 17:25:02 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2016-10-17 17:25:02 +0000 |
commit | 98d3391a59992b6cfedd4e620c910071622075bf (patch) | |
tree | 5b5f88dba953fd9dfa9893650245c3a0e026c84c /clang-tools-extra/test/clang-tidy/fix.cpp | |
parent | 083f1626f540954f712cca55fc6e3371f890e80e (diff) | |
download | bcm5719-llvm-98d3391a59992b6cfedd4e620c910071622075bf.tar.gz bcm5719-llvm-98d3391a59992b6cfedd4e620c910071622075bf.zip |
[clang-tidy] Clean up code after applying replacements.
Summary:
Remove empty namespaces and initializer list commas / colons in
affected ranges. Initial patch: proper options for enabling the cleanup and
specifying the format style are needed.
Reviewers: hokein, ioeric
Subscribers: beanz, mgorny, cfe-commits
Differential Revision: https://reviews.llvm.org/D24572
llvm-svn: 284399
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/fix.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/fix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/fix.cpp b/clang-tools-extra/test/clang-tidy/fix.cpp index 80b215d82b8..db6bc225ad2 100644 --- a/clang-tools-extra/test/clang-tidy/fix.cpp +++ b/clang-tools-extra/test/clang-tidy/fix.cpp @@ -5,6 +5,7 @@ // RUN: FileCheck -input-file=%t.yaml -check-prefix=CHECK-YAML %s namespace i { +void f(); // So that the namespace isn't empty. } // CHECK: } // namespace i // CHECK-MESSAGES: note: FIX-IT applied suggested code changes |