Skip to content

[clang-scan-deps] We need to support C++20 Named Modules #56770

@ChuanqiXu9

Description

@ChuanqiXu9

In C++20 Named Modules, we introduced ImportDecl to describe the dependencies between modules. But this haven't been handled by clang-scan-deps.

For example,

// A.cppm
export module A;
...

// B.cpp
import A;

Currently we can't find that A.cppm is a dependence of B.cpp.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions