[PATCH] D55463: Introduce a source minimizer that reduces source to directives that might affect the dependency list for a compilation
Duncan P. N. Exon Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 2 09:38:37 PDT 2019
dexonsmith added a comment.
In D55463#1451166 <https://reviews.llvm.org/D55463#1451166>, @tschuett wrote:
> Are you planning to do this recursively?
> The minimizer does not help much for the following example, while Sema.h contains 10,000 lines of useless code.
>
> #include "clang/Sema/Sema.h"
>
> int foo() {}
>
Not recursively, but on each file *independently* by intercepting `stat` and `open` in a custom VFS layer. The old patch at https://reviews.llvm.org/D53354 (which Alex points to above) might give you more context.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55463/new/
https://reviews.llvm.org/D55463
More information about the cfe-commits
mailing list