Skip to content

C++ and C only filters #6

@kaidokert

Description

@kaidokert

First, thanks for compiling this !

Is there a way of parsing out specific flags that are either C++ or C only ? I'm trying to build a cmake module out of this that tests the latest set on the compiler flags on whatever it compiles on and optionally adds working ones into a list.

See here and here

Ideally though, one doesn't want to spend time testing flags that are not applicable for the language in the first place.

EDIT: also see this meticulously hand built list here, i'm pretty sure i dont want to do this https://github.com/embecosm/llvm-extended-documentation/blob/master/support-code/opt-check.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions