summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/unused-global-init/module.modulemap
Commit message (Collapse)AuthorAgeFilesLines
* [modules] Don't emit initializers for VarDecls within a module eagerly wheneverRichard Smith2016-07-201-0/+3
| | | | | | | | | | | | we first touch any part of that module. Instead, defer them until the first time that module is (transitively) imported. The initializer step for a module then recursively initializes modules that its own headers imported. For example, this avoids running the <iostream> global initializer in programs that don't actually use iostreams, but do use other parts of the standard library. llvm-svn: 276159
* Revert r275481, r275490. This broke modules bootstrap.Richard Smith2016-07-151-3/+0
| | | | llvm-svn: 275624
* Add test inputs missed by r275481.Richard Smith2016-07-141-0/+3
llvm-svn: 275490
OpenPOWER on IntegriCloud