Skip to content

[PCH] __clang__analyzer__ is not defined when using a pch with --analyze #55723

@wolfy1961

Description

@wolfy1961

The attached repro demonstrates that when we use clang with --analyze, the predefined macro __clang_analyzer__ does not seem to be defined when we use a precompiled header. It is defined when compile without the pch.
repro.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions