summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/Module.framework
Commit message (Collapse)AuthorAgeFilesLines
* [test] Expand a bit on the test case from r231251. NFC.Argyrios Kyrtzidis2015-03-051-2/+2
| | | | llvm-svn: 231346
* [Modules] Fix crash in Preprocessor::getLastMacroWithSpelling().Argyrios Kyrtzidis2015-03-041-0/+3
| | | | | | Macro names that got undefined inside a module may not have their MacroInfo set. llvm-svn: 231251
* [ASTUnit] Fix crash when trying to load a module file via ↵Argyrios Kyrtzidis2015-03-031-0/+6
| | | | | | | | ASTUnit::LoadFromASTFile. rdar://19997358 llvm-svn: 231060
* Infer "link" lines for top-level frameworks. Essentially, a frameworkDouglas Gregor2013-01-141-0/+0
| | | | | | | | will have a shared library with the same name as its framework (and no suffix!) within its .framework directory. Detect this both when inferring the whole top-level framework and when parsing a module map. llvm-svn: 172439
* Have the parser initialize Sema before it consumes the firstDouglas Gregor2012-11-051-0/+2
| | | | | | | | token. This is important because the first token could actually be after an #include that triggers a module import, which might use either Sema or the AST consumer before it would have been initialized. llvm-svn: 167423
* Allow -verify directives to be filtered by preprocessing.Jordan Rose2012-07-111-1/+5
| | | | | | | | | | | | | | | | | | | | | This is accomplished by making VerifyDiagnosticsConsumer a CommentHandler, which then only reads the -verify directives that are actually in live blocks of code. It also makes it simpler to handle -verify directives that appear in header files, though we still have to manually reparse some files depending on how they are generated. This requires some test changes. In particular, all PCH tests now have their -verify directives outside the "header" portion of the file, using the @line syntax added in r159978. Other tests have been modified mostly to make it clear what is being tested, and to prevent polluting the expected output with the directives themselves. Patch by Andy Gibbs! (with slight modifications) The new Frontend/verify-* tests exercise the functionality of this commit, as well as r159978, r159979, and r160053 (Andy's other -verify enhancements). llvm-svn: 160068
* Re-uglify #public and #private to #__public_macro and #__private_macro.Douglas Gregor2012-01-032-2/+2
| | | | llvm-svn: 147469
* Under -fmodules, accept #public <macroname> and #private <macroname>Douglas Gregor2012-01-032-2/+2
| | | | | | | to make a macro public (the default for headers) or private, respectively. llvm-svn: 147455
* When building a module with an umbrella header, warn about any headersDouglas Gregor2011-12-231-0/+2
| | | | | | | | found within that umbrella directory that were not actually included by the umbrella header. They should either be referenced in the module map or included by the umbrella header. llvm-svn: 147207
* Detect when mapping a #include/#import over to a submodule ends upDouglas Gregor2011-12-201-0/+1
| | | | | | | | | | | | | hitting a submodule that was never actually created, e.g., because that header wasn't parsed. In such cases, complain (because the module's umbrella headers don't cover everything) and fall back to including the header. Later, we'll add a warning at module-build time to catch all such cases. However, this fallback is important to eliminate assertions in the ASTWriter when this happens. llvm-svn: 146933
* Don't mark include guard macros as implicitly private. This isn'tDouglas Gregor2011-12-121-0/+1
| | | | | | | actually a terribly good heuristic, and the world is too horrible for it to work. llvm-svn: 146393
* Keep track of import dependencies between submodules within the moduleDouglas Gregor2011-12-082-0/+2
| | | | | | | that's currently being built. This is important for supporting transitive dependencies ("export *" in the module map) completely. llvm-svn: 146156
* Implement inference for the "Private" submodule corresponding toDouglas Gregor2011-12-071-0/+1
| | | | | | private headers in a framework. llvm-svn: 146082
* When inferring a module map for a framework, infer subframeworkDouglas Gregor2011-12-061-0/+4
| | | | | | modules for each of its subframeworks. llvm-svn: 145957
* Implement inferred submodules support, which (when requested)Douglas Gregor2011-12-063-0/+6
| | | | | | | implicitly generates submodules corresponding to the headers that fall within a module. llvm-svn: 145887
* For modules, all macros that aren't include guards are implicitlyDouglas Gregor2011-10-171-0/+5
| | | | | | | public. Add a __private_macro__ directive to hide a macro, similar to the __module_private__ declaration specifier. llvm-svn: 142188
* Add an experimental flag -fauto-module-import that automatically turnsDouglas Gregor2011-09-151-0/+1
| | | | | | | #include or #import direcctives of framework headers into module imports of the corresponding framework module. llvm-svn: 139860
* Teach LangOptions::resetNonModularOptions to actually do what it says it doesDouglas Gregor2011-09-151-0/+1
| | | | llvm-svn: 139791
* When building a module on-demand, clear out the "non-modular" languageDouglas Gregor2011-09-131-1/+5
| | | | | | and preprocessor options (such as macro definitions) first. llvm-svn: 139638
* When an import statement fails to find a module in the module cache,Douglas Gregor2011-09-121-0/+6
but there is a corresponding umbrella header in a framework, build the module on-the-fly so it can be immediately loaded at the import statement. This is very much proof-of-concept code, with details to be fleshed out over time. llvm-svn: 139558
OpenPOWER on IntegriCloud