Skip to content

clang-query should print a list of applicable matchers when parsing a match fails #22878

Open
@LegalizeAdulthood

Description

@LegalizeAdulthood
Bugzilla Link 22504
Version unspecified
OS Linux

Extended Description

When I type an invalid match expression, clang-tidy tells me the type of matcher that it expects to find, but it doesn't print the match expressions that would supply appropriate values as it does with command-completion with line edit enabled.

Therefore, if you run without line edit, you're missing out on a bunch of functionality (no way to see what's appropriate for where you are in an expression)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang-queryenhancementImproving things as opposed to bug fixing, e.g. new or missing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions