[clang-tools-extra] r244876 - Fix formatting.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 02:09:29 PDT 2015


Author: klimek
Date: Thu Aug 13 04:09:28 2015
New Revision: 244876

URL: http://llvm.org/viewvc/llvm-project?rev=244876&view=rev
Log:
Fix formatting.

Modified:
    clang-tools-extra/trunk/unittests/clang-tidy/ClangTidyTest.h

Modified: clang-tools-extra/trunk/unittests/clang-tidy/ClangTidyTest.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/ClangTidyTest.h?rev=244876&r1=244875&r2=244876&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-tidy/ClangTidyTest.h (original)
+++ clang-tools-extra/trunk/unittests/clang-tidy/ClangTidyTest.h Thu Aug 13 04:09:28 2015
@@ -78,7 +78,7 @@ runCheckOnCode(StringRef Code, std::vect
   Invocation.setDiagnosticConsumer(&DiagConsumer);
   if (!Invocation.run()) {
     std::string ErrorText;
-    for (const auto &Error:Context.getErrors()) {
+    for (const auto &Error : Context.getErrors()) {
       ErrorText += Error.Message.Message + "\n";
     }
     llvm::report_fatal_error(ErrorText);




More information about the cfe-commits mailing list