KKazu Hirata[clangd] Use StringRef::{starts,ends}_with (NFC)
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[clangd] Use StringRef::{starts,ends}_with (NFC) This patch replaces uses of StringRef::{starts,ends}with with StringRef::{starts,ends}_with for consistency with std::{string,string_view}::{starts,ends}_with in C++20. I'm planning to deprecate and eventually remove StringRef::{starts,ends}with. | 2 年前 | |
[clangd] Use StringRef::{starts,ends}_with (NFC) This patch replaces uses of StringRef::{starts,ends}with with StringRef::{starts,ends}_with for consistency with std::{string,string_view}::{starts,ends}_with in C++20. I'm planning to deprecate and eventually remove StringRef::{starts,ends}with. | 2 年前 | |
[clangd] Optimize Dex::generateProximityURIs(). Production profiles show that generateProximityURIs is roughly 3.8% of buildPreamble. Of this, the majority (3% of buildPreamble) is parsing and reserializing URIs. We can do this with ugly string manipulation instead. Differential Revision: https://reviews.llvm.org/D135226 | 3 年前 | |
Fix dupe word typos This revision fixes typos where there are 2 consecutive words which are duplicated. There should be no code changes in this revision (only changes to comments and docs). Do let me know if there are any undesirable changes in this revision. Thanks. | 3 年前 | |
[clangd] Qualify calls to std::move to silence -Wunqualified-std-cast-call. NFC. | 4 年前 | |
Use llvm::Log2_32 and llvm::Log2_64 instead of llvm::findLastSet (NFC) For a nonzero argument, llvm::findLastSet(x) is equivalent to llvm::Log2_32(x) or llvm::Log2_64(x). None of the calls to llvm::findLastSet in this patch relies on llvm::findLastSet's ability to return std::numeric_limits<T>::max() on input 0. | 3 年前 | |
[clangd] Encapsulate fields in dex token. NFC llvm-svn: 365288 | 6 年前 | |
[iwyu] Add Hashing.h | 3 年前 | |
[llvm][ADT] Replace uses of makeMutableArrayRef with deduction guides Similar to how makeArrayRef is deprecated in favor of deduction guides, do the same for makeMutableArrayRef. Once all of the places in-tree are using the deduction guides for MutableArrayRef, we can mark makeMutableArrayRef as deprecated. Differential Revision: https://reviews.llvm.org/D141814 | 3 年前 | |
[clangd] Add a missing include. NFC. | 4 年前 |