Skip to content

Clang-cl treats -Wall as -Weverything #102583

@davidavetyan

Description

@davidavetyan

When passing the -Wall option to clang-cl options, all diagnostics are being reported. This would be the expected behavior for /Wall which enables -Weverything, but not for -Wall.

From the clang-cl user manual https://clang.llvm.org/docs/UsersManual.html#clang-cl:

  /Wall                   Enable -Weverything
  ...
  -W<warning>             Enable the specified warning

Used LLVM version 17.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-cl`clang-cl` driver. Don't use for other compiler parts

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions