[clang-tools-extra] r209470 - Update the code according to the changes in r209468.
Alexander Kornienko
alexfh at google.com
Thu May 22 13:19:47 PDT 2014
Author: alexfh
Date: Thu May 22 15:19:46 2014
New Revision: 209470
URL: http://llvm.org/viewvc/llvm-project?rev=209470&view=rev
Log:
Update the code according to the changes in r209468.
Modified:
clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp
Modified: clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp?rev=209470&r1=209469&r2=209470&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp Thu May 22 15:19:46 2014
@@ -258,10 +258,8 @@ void ClangTidyDiagnosticConsumer::Handle
SourceManager *Sources = nullptr;
if (Info.hasSourceManager())
Sources = &Info.getSourceManager();
- Converter.emitDiagnostic(
- Info.getLocation(), DiagLevel, Message, Info.getRanges(),
- llvm::makeArrayRef(Info.getFixItHints(), Info.getNumFixItHints()),
- Sources);
+ Converter.emitDiagnostic(Info.getLocation(), DiagLevel, Message,
+ Info.getRanges(), Info.getFixItHints(), Sources);
checkFilters(Info.getLocation());
}
More information about the cfe-commits
mailing list