文件最后提交记录最后更新时间
[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] Inactive regions support via dedicated protocol This implements the server side of the approach discussed at https://github.com/clangd/vscode-clangd/pull/193#issuecomment-1044315732 Differential Revision: https://reviews.llvm.org/D1439743 年前
[clangd] Add tweak for turning an unscoped into a scoped enum (#69481)2 年前
[clang-tools-extra] Remove remaining uses of llvm::Optional (NFC) This patch removes the unused "using" declaration and removes #include "llvm/ADT/Optional.h". This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/637163 年前
[clangd] Allow "move function body out-of-line" in non-header files (#69704) Moving the body of member functions out-of-line makes sense for classes defined in implementation files too.2 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) This patch replaces (llvm::|)Optional< with std::optional<. I'll post a separate patch to clean up the "using" declarations, #include "llvm/ADT/Optional.h", etc. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/637163 年前
[clangd] support expanding decltype(expr) Enable the existing tweak ExpandAutoType to expand decltype(expr), e.g. decltype(0) i; will expand to int i; Therefore, rename the tweak ExpandAutoType to ExpandDeducedType. This patch also fixes some nits, * avoid replacing reference to a function * avoid replacing array types and reference to an array Fixes https://github.com/clangd/clangd/issues/1456 Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D1412263 年前
Remove redundaunt override specifiers (NFC) Identified with modernize-use-override.3 年前
[clang-tools-extra] Remove remaining uses of llvm::Optional (NFC) This patch removes the unused "using" declaration and removes #include "llvm/ADT/Optional.h". This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/637163 年前
[clangd] Do not offer extraction to variable for decl init expression (#69477) That would turn: int x = f() + 1; into: auto placeholder = f() + 1; int x = placeholder; which makes little sense and is clearly not intended, as stated explicitly by a comment in eligibleForExtraction(). It appears that the declaration case was simply forgotten (the assignment case was already implemented).2 年前
Remove redundaunt override specifiers (NFC) Identified with modernize-use-override.3 年前
Remove unused #include "llvm/ADT/Optional.h"3 年前
[clang-tools-extra] Remove remaining uses of llvm::Optional (NFC) This patch removes the unused "using" declaration and removes #include "llvm/ADT/Optional.h". This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/637163 年前
[clang][NFC] Refactor ConstantExpr::ResultStorageKind This patch converts ConstantExpr::ResultStorageKind to a scoped enum in namespace scoped ConstantResultStorageKind. This patch makes it possible to forward-declare this enum where it's necessery, e.g. for preferred_type annotation for bit-fields.2 年前
[clangd] Do not offer RawStringLiteral code action in C and C++98 (#69775) Raw string literals are a C++ feature first added in C++11. Fixes https://github.com/clangd/clangd/issues/1795.2 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) This patch replaces (llvm::|)Optional< with std::optional<. I'll post a separate patch to clean up the "using" declarations, #include "llvm/ADT/Optional.h", etc. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/637163 年前
[clangd] use existing functions for code locations in the scopify enum tweak (#88737) Clangd already implements some utility functions for converting between SourceLocations, Positions and Offsets into a buffer.2 年前
[clangd] Add missing unittests to build graph Also fix tests Differential Revision: https://reviews.llvm.org/D1459213 年前
Remove unused #include "llvm/ADT/Optional.h"3 年前