Revision tags: llvmorg-3.5.1, llvmorg-3.5.1-rc2 |
|
#
9acb99e3 |
| 10-Dec-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Reinstate r223753, reverted in r223759 due to breakage of clang-tools-extra. Original commit message:
[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1.
For files named by -fmod
Reinstate r223753, reverted in r223759 due to breakage of clang-tools-extra. Original commit message:
[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1.
For files named by -fmodule-map-file=, and files found by 'extern module' directives, this flag specifies that we should resolve filenames relative to the current working directory rather than relative to the directory in which the module map file resides. This is aimed at fixing path handling, in particular for relative -I paths, when building modules that represent components of the current project (rather than libraries installed on the current system, which the current project has as dependencies, where we'd typically expect the module map files to be looked up implicitly).
llvm-svn: 223913
show more ...
|
#
00a4da73 |
| 09-Dec-2014 |
Duncan P. N. Exon Smith <dexonsmith@apple.com> |
Revert "[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1."
This reverts commit r223753. It broke the Green Dragon build for a few hours:
http://lab.llvm.org:8080/green/job/c
Revert "[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1."
This reverts commit r223753. It broke the Green Dragon build for a few hours:
http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/2259/ http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/2259/consoleFull#43901905849ba4694-19c4-4d7e-bec5-911270d8a58c
I suspect `clang-tools-extra` just needs a follow-up for an API change, but I'm not the right one to look into it.
llvm-svn: 223759
show more ...
|
#
0152e781 |
| 09-Dec-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1.
For files named by -fmodule-map-file=, and files found by 'extern module' directives, this flag specifies that we should resolv
[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1.
For files named by -fmodule-map-file=, and files found by 'extern module' directives, this flag specifies that we should resolve filenames relative to the current working directory rather than relative to the directory in which the module map file resides. This is aimed at fixing path handling, in particular for relative -I paths, when building modules that represent components of the current project (rather than libraries installed on the current system, which the current project has as dependencies, where we'd typically expect the module map files to be looked up implicitly).
llvm-svn: 223753
show more ...
|
Revision tags: llvmorg-3.5.1-rc1 |
|
#
0101b540 |
| 02-Dec-2014 |
Hans Wennborg <hans@hanshq.net> |
Try to fix the MSVC build.
llvm-svn: 223105
|
#
3c1a41ad |
| 02-Dec-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] Track how 'header' directives were written in module map files, rather than trying to extract this information from the FileEntry after the fact.
This has a number of beneficial effects. F
[modules] Track how 'header' directives were written in module map files, rather than trying to extract this information from the FileEntry after the fact.
This has a number of beneficial effects. For instance, diagnostic messages for failed module builds give a path relative to the "module root" rather than an absolute file path, and the contents of the module includes file is no longer dependent on what files the including TU happened to inspect prior to triggering the module build.
llvm-svn: 223095
show more ...
|
#
d7580835 |
| 26-Oct-2014 |
Hans Wennborg <hans@hanshq.net> |
ModuleMap.cpp: fix Windows build, take 2
llvm-svn: 220646
|
#
0ef0aeca |
| 26-Oct-2014 |
Hans Wennborg <hans@hanshq.net> |
ModuleMap.cpp: fix VS2012 build
llvm-svn: 220644
|
#
0e98d938 |
| 26-Oct-2014 |
NAKAMURA Takumi <geek4civic@gmail.com> |
ModuleMap::addHeader(): Appease msc17.
llvm-svn: 220639
|
#
202210b3 |
| 24-Oct-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] Support combining 'textual' with 'private'.
llvm-svn: 220589
|
#
feb54b6d |
| 23-Oct-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Refactor implementation of 'exclude header'.
This was not a real header role, and was never exposed to clients of ModuleMap. Remove the enumeration value for it and track it as marking the header as
Refactor implementation of 'exclude header'.
This was not a real header role, and was never exposed to clients of ModuleMap. Remove the enumeration value for it and track it as marking the header as 'known' rather than creating an extra KnownHeader entry that *every single* client ignores.
llvm-svn: 220460
show more ...
|
#
b8afebe2 |
| 23-Oct-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix covered-switch warning.
llvm-svn: 220456
|
#
306d8920 |
| 22-Oct-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] Add support for 'textual header' directives.
This allows a module to specify that it logically contains a file, but that said file is non-modular and intended for textual inclusion. This a
[modules] Add support for 'textual header' directives.
This allows a module to specify that it logically contains a file, but that said file is non-modular and intended for textual inclusion. This allows layering checks to work properly in the presence of such files.
llvm-svn: 220448
show more ...
|
#
25d50758 |
| 20-Oct-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] Add support for #include_next.
#include_next interacts poorly with modules: it depends on where in the list of include paths the current file was found. Files covered by module maps are no
[modules] Add support for #include_next.
#include_next interacts poorly with modules: it depends on where in the list of include paths the current file was found. Files covered by module maps are not found in include search paths when building the module (and are not found in include search paths when @importing the module either), so this isn't really meaningful. Instead, we fake up the result that #include_next *should* have given: find the first path that would have resulted in the given file being picked, and search from there onwards.
llvm-svn: 220177
show more ...
|
Revision tags: llvmorg-3.5.0, llvmorg-3.5.0-rc4, llvmorg-3.5.0-rc3 |
|
#
4b8a9e95 |
| 12-Aug-2014 |
Ben Langmuir <blangmuir@apple.com> |
Verify all the module map files for a pcm are the same on load
We already verified the primary module map file (either the one that defines the top-level module, or the one that allows inferring it
Verify all the module map files for a pcm are the same on load
We already verified the primary module map file (either the one that defines the top-level module, or the one that allows inferring it if it is an inferred framework module). Now we also verify any other module map files that define submodules, such as when there is a module.private.modulemap file.
llvm-svn: 215455
show more ...
|
#
9d6448b1 |
| 09-Aug-2014 |
Ben Langmuir <blangmuir@apple.com> |
Refactor the module map file used for uniquing a module name out of
class Module. It's almost always going to be the same as getContainingModule() for top-level modules, so just add a map to cover t
Refactor the module map file used for uniquing a module name out of
class Module. It's almost always going to be the same as getContainingModule() for top-level modules, so just add a map to cover the remaining cases. This lets us do less bookkeeping to keep the ModuleMap fields up to date.
llvm-svn: 215268
show more ...
|
Revision tags: llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1 |
|
#
6b7f7345 |
| 14-Jul-2014 |
Ben Langmuir <blangmuir@apple.com> |
Fix case-sensitivity of inferred framework modules
Just because we can open a directory named "COcoa.framework" doesn't mean we should provide a "COcoa" module on a case-insensitive filesystem.
llv
Fix case-sensitivity of inferred framework modules
Just because we can open a directory named "COcoa.framework" doesn't mean we should provide a "COcoa" module on a case-insensitive filesystem.
llvm-svn: 212975
show more ...
|
#
9d5583ef |
| 26-Jun-2014 |
Craig Topper <craig.topper@gmail.com> |
Convert StringLiteralParser constructor to use ArrayRef instead of a pointer and count.
llvm-svn: 211763
|
#
c080917e |
| 12-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Replace llvm::error_code with std::error_code.
llvm-svn: 210780
|
#
d2d442ca |
| 17-May-2014 |
Craig Topper <craig.topper@gmail.com> |
[C++11] Use 'nullptr'. Lex edition.
llvm-svn: 209083
|
#
2d57cea2 |
| 17-May-2014 |
Alp Toker <alp@nuanti.com> |
Provide and use a safe Token::getRawIdentifier() accessor
llvm-svn: 209061
|
Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1 |
|
#
46b02e3e |
| 08-May-2014 |
Ben Langmuir <blangmuir@apple.com> |
Remove -Wnon-modular-include
But keep -Wnon-modular-include-in-[framework-]module
This warning is too noisy and doesn't really indicate a problem for most people. Even though it would only really
Remove -Wnon-modular-include
But keep -Wnon-modular-include-in-[framework-]module
This warning is too noisy and doesn't really indicate a problem for most people. Even though it would only really affect people using -Weverything, that seems bad so remove it.
llvm-svn: 208345
show more ...
|
#
71e1a64f |
| 05-May-2014 |
Ben Langmuir <blangmuir@apple.com> |
Add -Wnon-modular-include* options
Warn on non-modular includes in various contexts.
-Wnon-modular-include -Wnon-modular-include-in-module -Wnon-modular-include-in-framework-module
Where each g
Add -Wnon-modular-include* options
Warn on non-modular includes in various contexts.
-Wnon-modular-include -Wnon-modular-include-in-module -Wnon-modular-include-in-framework-module
Where each group is a subgroup of those above it.
llvm-svn: 208004
show more ...
|
Revision tags: llvmorg-3.4.1, llvmorg-3.4.1-rc2 |
|
#
ffbafa2a |
| 23-Apr-2014 |
Ben Langmuir <blangmuir@apple.com> |
Do not print inferred submodules explicitly in __inferred_module.map
Otherwise including a header in your source file that is not included by framework's umbrella header will silently add an empty s
Do not print inferred submodules explicitly in __inferred_module.map
Otherwise including a header in your source file that is not included by framework's umbrella header will silently add an empty submodule with that name.
is automatically translated to @import Foo.NotInModule;
which then would have succeeded because the inferred module map contained an empty submodule called NotInModule.
llvm-svn: 207024
show more ...
|
#
4898cde4 |
| 21-Apr-2014 |
Ben Langmuir <blangmuir@apple.com> |
Allow submodule inferrences with a missing umbrella when the module is unavailable
If the module is unavailable because of a missing header, don't diagnose a "module * {}" declaration for having a m
Allow submodule inferrences with a missing umbrella when the module is unavailable
If the module is unavailable because of a missing header, don't diagnose a "module * {}" declaration for having a missing umbrella.
llvm-svn: 206776
show more ...
|
#
ec8c9752 |
| 18-Apr-2014 |
Ben Langmuir <blangmuir@apple.com> |
Don't build modules with (submodules with) missing headers
Unless they are in submodules that aren't available anyway, due to requirements not being met. Also, mark children as unavailable when the
Don't build modules with (submodules with) missing headers
Unless they are in submodules that aren't available anyway, due to requirements not being met. Also, mark children as unavailable when the parent is.
llvm-svn: 206664
show more ...
|