Skip to content

[clang] Using std::complex suppresses warnings from -Whigher-precision-for-complex-division #134980

@Maetveis

Description

@Maetveis

The -Whigher-precision-for-complex-division emitted when -fcomplex-arithmetic=promoted option is used and the target does not support a higher precison type is not emitted:

libstdc++ does not suppress the warning before #131477 because its using /= which is fixed by #131477

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerfalse-negativeWarning doesn't fire when it should

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions