Skip to content

/std:c++latest not preserved when transferring compile command #527

@sam-mccall

Description

@sam-mccall

InterpolatingCompilationDatabase will translate clang --driver-mode=cl /std:c++latest foo.cpp into clang --driver-mode=cl foo.hpp.

This is because we expect the value after "/std:" to name a language version, but in MSVC-compat mode it's a hardcoded table in the driver instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindowsMostly or entirely affects windows users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions