summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/DependsOnModule.framework/Headers
Commit message (Collapse)AuthorAge
* Allow a new syntax in a module requires-declaration:Richard Smith2013-10-28
| | | | | | | | | | | | | 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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193549 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-uglify #public and #private to #__public_macro and #__private_macro.Douglas Gregor2012-01-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147469 91177308-0d34-0410-b5e6-96231b3b80d8
* Under -fmodules, accept #public <macroname> and #private <macroname>Douglas Gregor2012-01-03
| | | | | | | | to make a macro public (the default for headers) or private, respectively. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147455 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement support for module requirements, which indicate the languageDouglas Gregor2011-12-31
| | | | | | | | | | 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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147387 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce an opt-in warning indicating when the compiler is treatingDouglas Gregor2011-11-30
| | | | | | | an #include/#import as a module import. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145500 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the notion of "framework" modules to module maps. FrameworkDouglas Gregor2011-11-17
| | | | | | | | modules (obviously) describe frameworks, and understand the header layout of frameworks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144921 91177308-0d34-0410-b5e6-96231b3b80d8
* For modules, all macros that aren't include guards are implicitlyDouglas Gregor2011-10-17
| | | | | | | | | public. Add a __private_macro__ directive to hide a macro, similar to the __module_private__ declaration specifier. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142188 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an experimental flag -fauto-module-import that automatically turnsDouglas Gregor2011-09-15
#include or #import direcctives of framework headers into module imports of the corresponding framework module. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139860 91177308-0d34-0410-b5e6-96231b3b80d8