summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-query/Query.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-query/Query.cpp b/clang-query/Query.cpp
index ef29e6b4..0a63ade0 100644
--- a/clang-query/Query.cpp
+++ b/clang-query/Query.cpp
@@ -92,8 +92,8 @@ bool MatchQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const {
TD.emitDiagnostic(
R.getBegin(), DiagnosticsEngine::Note,
"\"" + BI->first + "\" binds here",
- ArrayRef<CharSourceRange>(CharSourceRange::getTokenRange(R)),
- ArrayRef<FixItHint>(), &AST->getSourceManager());
+ llvm::makeArrayRef(CharSourceRange::getTokenRange(R)),
+ None, &AST->getSourceManager());
}
break;
}