Skip to content

regression: clang-tidy hangs #92662

Open
Open
@Dushistov

Description

@Dushistov

In attached file there is config and c++ file that depend only on standard C++ library.

If I run such command:

/opt/clang/19.0.0/bin/clang-tidy --config-file=path/to/clang-tidy-config --extra-arg-before=--driver-mode=g++ gen_qmlregister.cpp -- /usr/bin/clang++  -std=c++17  -c gen_qmlregister.cpp

it takes hours or two to complete.

19.0.0 build from 20240515 git snapshots.
clang-tidy from 15.0.7 works just fine, maximum several minutes.
17.0.6, 18.1.5, and git hangs (takes hours or two to complete).

test_data.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:dataflowClang Dataflow Analysis framework - https://clang.llvm.org/docs/DataFlowAnalysisIntro.htmlhangCompiler hang (infinite loop)performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions