Skip to content

[Clang] [CodeComplete] Cannot complete C++20 keywords #107868

@16bit-ykiko

Description

@16bit-ykiko

The issue caught my attention a long time ago, but I don't expected that no one had reported it. The SemaComplete won't complete C++20 keywords(concept, co_await, co_return, ...).

if I type con^, SemaComplete only returns const and contexpr as the two candidates, in the namespace context. This can be verified by the code-complete-at command.

example link: https://godbolt.org/z/1M1f4nn8f

Metadata

Metadata

Assignees

Labels

c++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions