summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/modify-module.m
Commit message (Collapse)AuthorAgeFilesLines
* Avoid assumption that lit tests are writable (in a couple more places). NFCSam McCall2018-01-091-3/+3
| | | | llvm-svn: 322065
* [modules] Simplify -cc1 interface for enabling implicit module maps.Richard Smith2015-06-161-5/+5
| | | | | | | | | | | | | We used to have a flag to enable module maps, and two more flags to enable implicit module maps. This is all redundant; we don't need any flag for enabling module maps in the abstract, and we don't usually have -fno- flags for -cc1. We now have just a single flag, -fimplicit-module-maps, that enables implicitly searching the file system for module map files and loading them. The driver interface is unchanged for now. We should probably rename -fmodule-maps to -fimplicit-module-maps at some point. llvm-svn: 239789
* <rdar://problem/13037793> Allow the names of modules to differ from the name ↵Douglas Gregor2013-03-211-3/+3
| | | | | | of their subdirectory in the include path. llvm-svn: 177621
* <rdar://problem/13363214> Eliminate race condition between module rebuild ↵Douglas Gregor2013-03-191-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | and the global module index. The global module index was querying the file manager for each of the module files it knows about at load time, to prune out any out-of-date information. The file manager would then cache the results of the stat() falls used to find that module file. Later, the same translation unit could end up trying to import one of the module files that had previously been ignored by the module cache, but after some other Clang instance rebuilt the module file to bring it up-to-date. The stale stat() results in the file manager would trigger a second rebuild of the already-up-to-date module, causing failures down the line. The global module index now lazily resolves its module file references to actual AST reader module files only after the module file has been loaded, eliminating the stat-caching race. Moreover, the AST reader can communicate to its caller that a module file is missing (rather than simply being out-of-date), allowing us to simplify the module-loading logic and allowing the compiler to recover if a dependent module file ends up getting deleted. llvm-svn: 177367
* Rename -fmodule-cache-path <blah> to -fmodules-cache-path=<blah> for ↵Douglas Gregor2013-02-071-3/+3
| | | | | | consistency. llvm-svn: 174645
* clang/test: Suppress two tests on win32 for now, since, not sure, in r169829 ↵NAKAMURA Takumi2012-12-121-0/+3
| | | | | | | | to r169831. "ansi-escape-sequences" is easy convenient to exclude win32. Please be patient. llvm-svn: 169945
* Don't use 'touch' in this test; it may be the cause of Windows-related failures.Douglas Gregor2012-12-111-1/+1
| | | | llvm-svn: 169922
* Use @import rather than @__experimental_modules_import, since theDouglas Gregor2012-12-111-1/+1
| | | | | | latter is rather a mess to type. llvm-svn: 169919
* When loading a module fails because it is out of date, rebuild thatDouglas Gregor2012-11-071-0/+23
module in place. <rdar://problem/10138913> llvm-svn: 167539
OpenPOWER on IntegriCloud