Author: ctopper
Date: Fri Aug 29 01:05:20 2014
New Revision: 216711

URL: http://llvm.org/viewvc/llvm-project?rev=216711&view=rev
Log:
Remove call to llvm::makeArrayRef. Implicit conversion is sufficient.

Modified:
    clang-tools-extra/trunk/clang-query/Query.cpp

Modified: clang-tools-extra/trunk/clang-query/Query.cpp
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-query/Query.cpp?rev=216711&r1=216710&r2=216711&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-query/Query.cpp (original)
+++ clang-tools-extra/trunk/clang-query/Query.cpp Fri Aug 29 01:05:20 2014
@@ -92,7 +92,7 @@ bool MatchQuery::run(llvm::raw_ostream &
             TD.emitDiagnostic(
                 R.getBegin(), DiagnosticsEngine::Note,
                 "\"" + BI->first + "\" binds here",
-                llvm::makeArrayRef(CharSourceRange::getTokenRange(R)),
+                CharSourceRange::getTokenRange(R),
                 None, &AST->getSourceManager());
           }
           break;


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

Reply via email to