mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
[clangd] Fix build by replacing unsigned long with std::vector::size_type.
This commit is contained in:
parent
655baae2af
commit
2fccca8d74
@ -1451,7 +1451,7 @@ markup::Document HoverInfo::present() const {
|
||||
markup::Paragraph &P = Output.addParagraph();
|
||||
P.appendText("provides ");
|
||||
|
||||
const unsigned long SymbolNamesLimit = 5;
|
||||
const std::vector<std::string>::size_type SymbolNamesLimit = 5;
|
||||
auto Front =
|
||||
llvm::ArrayRef(UsedSymbolNames)
|
||||
.take_front(std::min(UsedSymbolNames.size(), SymbolNamesLimit));
|
||||
|
Loading…
Reference in New Issue
Block a user