[clangd] Add InsertReplaceEdit for code completion (#187623)
Handle new insertReplaceSupport capability (defined in LSP 3.16). Add
the new option to the protocol layer and pass it around to the code
completion logic. Update CompletionItem::textEdit to become the union
type as per the LSP specification.
Add a new helper function to the Lexer public API to find the end of an
identifier with full context lexing, to avoid duplicating the logic. Use
the helper both in the Sema flow and in the comment completion flow. Use
a simpler ASCII-only scan in no-Sema mode.
Add LIT tests to verify auto-triggered completions, mid-word
replacement, Unicode, and snippets. Add unit tests to verify
insert/replace ranges with and without Sema, including comments and the
feature-off case.
Update the release notes to document the new capability.
[4 lines not shown]
Update to JRuby 10.1.0.0
This brings the Ruby version to 4.0. This updates the embedded jffi to
from 1.3.10 to 1.3.15, and the embedded jruby-launcher from 1.1.19 to
2.0.2.
This disables AppCDS usage unless the user has configured a JRUBY_JSA
environment variable, as the default location is not writable results
in a warning.
This ships more of the jruby bin files. There were some hidden files
needed to avoid warnings, as well as some new programs that should be
added. These go in /usr/local/jruby/bin, which is not in PATH, so
conflicts aren't an issue.
One issue with this version is it ships a version of minitest that
doesn't work, as the version it ships depends on a prism library that
it doesn't ship. This should be fixed in the next version, but in the
meantime, comment out a couple minitest files in the PLIST. Users can
[3 lines not shown]
[clang] implement CWG2064: ignore value dependence for decltype
The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.
This patch also implements what's neceessary to allow overloading
on pure differences in instantiation dependence, making `std::void_t`
usable for SFINAE purposes.
This also readds a few test cases from da98651, which was a previous attempt
at resolving CWG2064.
Fixes #8740
Fixes #61818
Fixes #190388