Skip to content

--autocomplete results contain a typo when completing warning flags #33238

@Teemperor

Description

@Teemperor
Bugzilla Link 33891
Resolution FIXED
Resolved on Jul 26, 2017 09:16
Version 5.0
OS All
Blocks #33196
CC @zmodem

Extended Description

Requesting clang to complete a "-Wno-XXX" flag with the help of the --autocomplete flag is returning wrong results in the current clang 5.0 branch.

clang 5.0 is for example completing "-Wno" with "-Wnoeverything" instead of "-Wno-everything" (notice the missing "-" behind the "no"), causing the bash completion to suggest the wrong flag to the user.

This was fixed by Yuka in this commit: https://reviews.llvm.org/rL308824

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions