Go to file
Daniel Jasper ba7f2f7110 Module use declarations (II)
Review: http://llvm-reviews.chandlerc.com/D1546.

I have picked up this patch form Lawrence
(http://llvm-reviews.chandlerc.com/D1063) and did a few changes.

From the original change description (updated as appropriate):
This patch adds a check that ensures that modules only use modules they
have so declared. To this end, it adds a statement on intended module
use to the module.map grammar:

  use module-id

A module can then only use headers from other modules if it 'uses' them.
This enforcement is off by default, but may be turned on with the new
option -fmodules-decluse.

When enforcing the module semantics, we also need to consider a source
file part of a module. This is achieved with a compiler option

-fmodule-name=<module-id>.

The compiler at present only applies restrictions to the module directly
being built.

llvm-svn: 191283
2013-09-24 09:14:14 +00:00
clang Module use declarations (II) 2013-09-24 09:14:14 +00:00
clang-tools-extra Fixed test for compilation databases. 2013-09-23 19:02:25 +00:00
compiler-rt [asan] remove -fsanitize=use-after-return from the tests (this flag now comes with asan by default) 2013-09-23 14:34:06 +00:00
debuginfo-tests don't use CHECK-NEXT because it may be on the same line. 2013-09-18 23:01:54 +00:00
libclc Parenthesize arguments for mad_hi 2013-09-09 14:36:21 +00:00
libcxx Peter Collingbourne: Fix warnings when compiling with -DNDEBUG. 2013-09-21 21:26:37 +00:00
libcxxabi Adding bad_array_length to libc++abi 2013-09-11 01:42:02 +00:00
lld [PECOFF] Add /swaprun:{cd,net} options. 2013-09-24 04:20:37 +00:00
lldb Fix a bug where the x86 assembly instruction profiler would not correctly adjust 2013-09-24 03:28:54 +00:00
llvm Followup to r191252. 2013-09-24 07:19:30 +00:00
polly clang-format recent change 2013-09-17 03:30:36 +00:00