Skip to content
Commit 6c35b2de authored by Richard Smith's avatar Richard Smith
Browse files

[modules] Don't pass interesting decls to the consumer for a module file that's

passed on the command line but never actually used. We consider a (top-level)
module to be used if any part of it is imported, either by the current
translation unit, or by any part of a top-level module that is itself used.

(Put another way, a module is used if an implicit modules build would have
loaded its .pcm file.)

llvm-svn: 275481
parent 765aa2d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment