kadircet added inline comments.
Comment at: clang-tools-extra/clangd/CompileCommands.cpp:469
// Also grab prefixes for each option, these are not fully exposed.
-const char *const *Prefixes[DriverID::LastOption] = {nullptr};
-#define PREFIX(NAME, VALUE) static const char
kadircet added inline comments.
Comment at: clang-tools-extra/clangd/CompileCommands.cpp:470
const char *const *Prefixes[DriverID::LastOption] = {nullptr};
-#define PREFIX(NAME, VALUE) static const char *const NAME[] = VALUE;
+#define PREFIX(NAME, VALUE) static constexpr llv
kadircet added inline comments.
Comment at: clang-tools-extra/clangd/CompileCommands.cpp:470
const char *const *Prefixes[DriverID::LastOption] = {nullptr};
-#define PREFIX(NAME, VALUE) static const char *const NAME[] = VALUE;
+#define PREFIX(NAME, VALUE) static constexpr llv
kadircet added a comment.
LGTM for changes under `clang-tools-extra/clangd`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137338/new/
https://reviews.llvm.org/D137338
___
lldb-commits mailing list
lldb-c
kadircet added inline comments.
Comment at: clang/include/clang/Sema/CodeCompleteConsumer.h:755
- /// Describes the kind of result generated.
- enum ResultKind {
-/// Refers to a declaration.
egorzhdan wrote:
> kadircet wrote:
> > i don't follow the reason
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
thanks, lgtm!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125012/new/
https://reviews.llvm.org/D125012
__
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
thanks, lgtm!
Comment at:
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp:995
/// \param NumCandidates the number of overload candidates
void
kadircet added inline comments.
Comment at: clang-tools-extra/clangd/Diagnostics.cpp:677
// If requested and possible, create a message like "change 'foo' to
'bar'".
-if (SyntheticMessage && FixIts.size() == 1) {
- const auto &FixIt = FixIts.front();
+if (Synth
kadircet added inline comments.
Comment at: clang-tools-extra/clangd/Diagnostics.cpp:636
+// Filter out any reformat fixits, we don't handle these.
+// FIXME: Can we?
+llvm::erase_if(FixIts,
in theory yes, as we have access to source manager, we can f