Update the code according to the changes in r209468.
llvm-svn: 209470
This commit is contained in:
parent
8a0bc44b71
commit
e1f62eca2d
|
@ -258,10 +258,8 @@ void ClangTidyDiagnosticConsumer::HandleDiagnostic(
|
|||
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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue