[clang-tools-extra] r216711 - Remove call to llvm::makeArrayRef. Implicit conversion is sufficient.
Craig Topper
craig.topper at gmail.com
Thu Aug 28 23:05:20 PDT 2014
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;
More information about the cfe-commits
mailing list