summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/DependsOnModule.framework
Commit message (Collapse)AuthorAgeFilesLines
* [Modules] Add more language features to be used with requires-declarationBruno Cardoso Lopes2018-02-141-0/+18
| | | | | | | | | Features added: c99, c11, c17, cplusplus14 and cplusplus17. rdar://problem/36328787 rdar://problem/36668431 llvm-svn: 325154
* [coroutines] Support "coroutines" feature in module map requires clauseEric Fiselier2017-05-283-1/+14
| | | | | | | | | | | | | | Summary: In order for libc++ to add `<experimental/coroutine>` to its module map, there has to be a feature that can be used to detect if coroutines support is enabled in Clang. Reviewers: rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D33538 llvm-svn: 304107
* Revert "[coroutines] Support "coroutines" feature in module map requires clause"Eric Fiselier2017-05-273-14/+1
| | | | | | This reverts commit r304054. llvm-svn: 304057
* [coroutines] Support "coroutines" feature in module map requires clauseEric Fiselier2017-05-273-1/+14
| | | | | | | | | | | | | | Summary: In order for libc++ to add `<experimental/coroutine>` to its module map, there has to be a feature that can be used to detect if coroutines support is enabled in Clang. Reviewers: rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D33538 llvm-svn: 304054
* Add cc1 option '-fmodule-feature' to add custom values for 'requires' declsBen Langmuir2015-02-021-0/+6
| | | | | | | This allows clang-based tools to specify custom features that can be tested by the 'requires' declaration in a module map file. llvm-svn: 227868
* Allow a new syntax in a module requires-declaration:Richard Smith2013-10-283-0/+10
| | | | | | | | | | | | requires ! feature The purpose of this is to allow (for instance) the module map for /usr/include to exclude <tgmath.h> and <complex.h> when building in C++ (these headers are instead provided by the C++ standard library in this case, and the glibc C <tgmath.h> header would otherwise try to include <complex.h>, resulting in a module cycle). llvm-svn: 193549
* When forming the link options for an imported module, also include theDouglas Gregor2013-01-141-0/+0
| | | | | | link options for the modules it imports. llvm-svn: 172448
* Re-uglify #public and #private to #__public_macro and #__private_macro.Douglas Gregor2012-01-031-1/+1
| | | | llvm-svn: 147469
* Under -fmodules, accept #public <macroname> and #private <macroname>Douglas Gregor2012-01-031-1/+1
| | | | | | | to make a macro public (the default for headers) or private, respectively. llvm-svn: 147455
* Implement support for module requirements, which indicate the languageDouglas Gregor2011-12-312-0/+10
| | | | | | | | | features needed for a particular module to be available. This allows mixed-language modules, where certain headers only work under some language variants (e.g., in C++, std.tuple might only be available in C++11 mode). llvm-svn: 147387
* Tweak the syntax of umbrella headers, so that "umbrella" is treated asDouglas Gregor2011-12-081-2/+2
| | | | | | | | | | | a modifier for a header declarartion, e.g., umbrella header "headername" Collapse the umbrella-handling code in the parser into the header-handling code, so we don't duplicate the header-search logic. llvm-svn: 146159
* Implement basic support for private headers in frameworks. In essence,Douglas Gregor2011-12-072-0/+8
| | | | | | | | | when we load a module map (module.map) from a directory, also load a private module map (module_private.map) for that directory, if present. That private module map can inject a new submodule that captures private headers. llvm-svn: 146012
* Allow inferred submodules for any (sub)module that has an umbrella headerDouglas Gregor2011-12-061-0/+4
| | | | llvm-svn: 145945
* Implement modules support for subframeworks (aka embeddedDouglas Gregor2011-12-063-0/+6
| | | | | | | | frameworks). A submodule can now be labeled as a "framework", and header search will look into the appropriate Headers/PrivateHeaders subdirectories for named headers. llvm-svn: 145941
* Parse inferred submodules in module maps, track their contents inDouglas Gregor2011-12-051-0/+3
| | | | | | | Module, and (de-)serialize this information. Semantics of inferred submodules to follow. llvm-svn: 145864
* Introduce an opt-in warning indicating when the compiler is treatingDouglas Gregor2011-11-301-1/+1
| | | | | | an #include/#import as a module import. llvm-svn: 145500
* Add the notion of "framework" modules to module maps. FrameworkDouglas Gregor2011-11-172-0/+5
| | | | | | | modules (obviously) describe frameworks, and understand the header layout of frameworks. llvm-svn: 144921
* For modules, all macros that aren't include guards are implicitlyDouglas Gregor2011-10-171-0/+2
| | | | | | | 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/+3
#include or #import direcctives of framework headers into module imports of the corresponding framework module. llvm-svn: 139860
OpenPOWER on IntegriCloud