diff options
| author | Alexander Kornienko <alexfh@google.com> | 2015-11-16 13:06:15 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2015-11-16 13:06:15 +0000 |
| commit | 58fe57a92b70da6df0e7c428139b84c448cfe3ea (patch) | |
| tree | 8edc445f21b1e4f79a50a3cd4ac271c2af0bd45c /clang-tools-extra/clang-tidy/ClangTidy.cpp | |
| parent | da446770823be1b1d1562734e55da7c1a5f2579c (diff) | |
| download | bcm5719-llvm-58fe57a92b70da6df0e7c428139b84c448cfe3ea.tar.gz bcm5719-llvm-58fe57a92b70da6df0e7c428139b84c448cfe3ea.zip | |
[clang-tidy] Test commit (playing with git-svn)
llvm-svn: 253203
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidy.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/ClangTidy.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/ClangTidy.cpp b/clang-tools-extra/clang-tidy/ClangTidy.cpp index 205a7027e5a..0b9895bcf17 100644 --- a/clang-tools-extra/clang-tidy/ClangTidy.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidy.cpp @@ -114,9 +114,8 @@ public: SmallVector<std::pair<SourceLocation, bool>, 4> FixLocations; { auto Level = static_cast<DiagnosticsEngine::Level>(Error.DiagLevel); - DiagnosticBuilder Diag = - Diags.Report(Loc, Diags.getCustomDiagID(Level, "%0 [%1]")) - << Message.Message << Error.CheckName; + auto Diag = Diags.Report(Loc, Diags.getCustomDiagID(Level, "%0 [%1]")) + << Message.Message << Error.CheckName; for (const tooling::Replacement &Fix : Error.Fix) { SourceLocation FixLoc = getLocation(Fix.getFilePath(), Fix.getOffset()); SourceLocation FixEndLoc = FixLoc.getLocWithOffset(Fix.getLength()); |

