mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 03:25:54 -04:00
![]() Summary: CodeCompletion was not being triggered after successfully parsed initializer lists, e.g. ```cpp void foo(int, bool); void bar() { foo({1}^, false); } ``` CodeCompletion would suggest the function foo as an overload candidate up until the point marked with `^` but after that point we do not trigger signature help since parsing succeeds. This patch handles that case by failing in parsing expression lists whenever we see a codecompletion token, in addition to getting an invalid subexpression. Reviewers: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73177 |
||
---|---|---|
.. | ||
Inputs | ||
accessibility-crash.cpp | ||
accessibility.cpp | ||
auto_type.c | ||
auto.cpp | ||
bracket-decl.c | ||
call.c | ||
call.cpp | ||
comments.cpp | ||
constexpr.cpp | ||
crash-func-decl.cpp | ||
crash-func-init.cpp | ||
crash-null-type.cpp | ||
crash-skipped-bodies-template-inst.cpp | ||
ctor-initializer.cpp | ||
ctor-signature.cpp | ||
documentation.cpp | ||
documentation.m | ||
enable-if-attr-crash.cpp | ||
end-of-file.cpp | ||
end-of-ident-macro.cpp | ||
end-of-ident.cpp | ||
enum-preferred-type.cpp | ||
enum-switch-case-qualified.cpp | ||
enum-switch-case.c | ||
enum-switch-case.cpp | ||
function-overloads.cpp | ||
function-templates.cpp | ||
functions.cpp | ||
ignore-ns-level-decls.cpp | ||
included-files.cpp | ||
included-frameworks.m | ||
incomplete-ret-type.cpp | ||
inside-macros.cpp | ||
keywords.cpp | ||
lambdas.cpp | ||
macros-in-modules.c | ||
macros-in-modules.m | ||
macros.c | ||
member-access-qualifiers.cpp | ||
member-access.c | ||
member-access.cpp | ||
namespace-alias.cpp | ||
namespace.cpp | ||
nested-name-specifier.cpp | ||
objc-expr.m | ||
objc-message.m | ||
objc-message.mm | ||
objc-protocol-member-access.m | ||
operator.cpp | ||
ordinary-name-cxx11.cpp | ||
ordinary-name.c | ||
ordinary-name.cpp | ||
overrides.cpp | ||
paren_locs.cpp | ||
patterns.cpp | ||
pch-and-module.m | ||
PR9728.cpp | ||
pragma-macro-token-caching.c | ||
preamble.c | ||
preferred-type.cpp | ||
qualifiers-as-written.cpp | ||
self-inits.cpp | ||
signatures-crash.cpp | ||
skip-auto-funcs.cpp | ||
some_struct.h | ||
stdin.c | ||
tag.c | ||
tag.cpp | ||
templates.cpp | ||
this-quals.cpp | ||
truncation.c | ||
truncation.c.h | ||
uninstantiated_params.cpp | ||
using-namespace.cpp | ||
using.cpp |