[clang-tools-extra] r367529 - [clangd] Fix buildbot failure from ambigous ArrayRef ctor
Johan Vikstrom via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 1 02:08:41 PDT 2019
Author: jvikstrom
Date: Thu Aug 1 02:08:41 2019
New Revision: 367529
URL: http://llvm.org/viewvc/llvm-project?rev=367529&view=rev
Log:
[clangd] Fix buildbot failure from ambigous ArrayRef ctor
Modified:
clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp
Modified: clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp?rev=367529&r1=367528&r2=367529&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp (original)
+++ clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp Thu Aug 1 02:08:41 2019
@@ -292,9 +292,9 @@ diffHighlightings(ArrayRef<HighlightingT
std::vector<LineHighlightings> DiffedLines;
// ArrayRefs to the current line in the highlightings.
ArrayRef<HighlightingToken> NewLine(New.begin(),
- /*length*/0UL);
+ /*length*/ static_cast<size_t>(0));
ArrayRef<HighlightingToken> OldLine(Old.begin(),
- /*length*/ 0UL);
+ /*length*/ static_cast<size_t>(0));
auto NewEnd = New.end();
auto OldEnd = Old.end();
auto NextLineNumber = [&]() {
More information about the cfe-commits
mailing list