Fix formatting.

llvm-svn: 244876
This commit is contained in:
Manuel Klimek 2015-08-13 09:09:28 +00:00
parent 4778e410d0
commit 0a19e90b49
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ runCheckOnCode(StringRef Code, std::vector<ClangTidyError> *Errors = nullptr,
Invocation.setDiagnosticConsumer(&DiagConsumer); Invocation.setDiagnosticConsumer(&DiagConsumer);
if (!Invocation.run()) { if (!Invocation.run()) {
std::string ErrorText; std::string ErrorText;
for (const auto &Error:Context.getErrors()) { for (const auto &Error : Context.getErrors()) {
ErrorText += Error.Message.Message + "\n"; ErrorText += Error.Message.Message + "\n";
} }
llvm::report_fatal_error(ErrorText); llvm::report_fatal_error(ErrorText);