C++ Logo

sg15

Advanced search

Re: [Tooling] [isocpp-modules] Dependency information for module-aware build tools

From: Boris Kolpackov <boris_at_[hidden]>
Date: Tue, 5 Mar 2019 15:51:37 +0200
Ben Boeckel <ben.boeckel_at_[hidden]> writes:

> Personally, my gut reaction is that this belongs at the build executor
> level, not the compiler.

I believe what Mathias is referring to (and what we call "ignorable
changes" such as whitespace/comment changes, etc), are quite natural
to handle by hashing pp-tokens (including their position, if debug
info is enabled) and which does fit well into the pre-scan. At least
that's how we do it in build2.

Received on 2019-03-05 14:51:43