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());
 }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to