[PATCH] D134224: [clang][modules][deps] Report modulemaps describing excluded headers
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 19 14:23:58 PDT 2022
jansvoboda11 created this revision.
jansvoboda11 added reviewers: benlangmuir, Bigcheese, rsmith.
Herald added a subscriber: ributzka.
Herald added a project: All.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Module map files describing excluded headers do affect compilation. Track them in the compiler, serialize them into the PCM file and report them in the scanner.
Depends on D134222 <https://reviews.llvm.org/D134222>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134224
Files:
clang/include/clang/Lex/HeaderSearch.h
clang/include/clang/Lex/ModuleMap.h
clang/lib/Lex/HeaderSearch.cpp
clang/lib/Lex/ModuleMap.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/modules-excluded-header.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134224.461358.patch
Type: text/x-patch
Size: 15496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220919/f3f531a8/attachment-0001.bin>
More information about the cfe-commits
mailing list