clang-1/test/Modules
Douglas Gregor 63a726870b <rdar://problem/10796651> Introduce configuration macros into module maps.
Configuration macros are macros that are intended to alter how a
module works, such that we need to build different module variants
for different values of these macros. A module can declare its
configuration macros, in which case we will complain if the definition
of a configation macro on the command line (or lack thereof) differs
from the current preprocessor state at the point where the module is
imported. This should eliminate some surprises when enabling modules,
because "#define CONFIG_MACRO ..." followed by "#include
<module/header.h>" would silently ignore the CONFIG_MACRO setting. At
least it will no longer be silent about it.

Configuration macros are eventually intended to help reduce the number
of module variants that need to be built. When the list of
configuration macros for a module is exhaustive, we only need to
consider the settings for those macros when building/finding the
module, which can help isolate modules for various project-specific -D
flags that should never affect how modules are build (but currently do).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177466 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-20 00:22:05 +00:00
..
Inputs
auto-module-import.m
autolink.m
build-fail-notes.m
compiler_builtins.m
config_macros.m
cstd.m
cxx-inline-namespace.cpp
cxx-linkage-cache.cpp
cxx-many-overloads.cpp
cycles.c
decldef.m
decldef.mm
diamond-pch.c
diamond.c
direct-module-import.m
driver.c
epic-fail.m
global_index.m
header-import.m
ignored_macros.m
import-decl.cpp
inferred-frameworks.m
inferred-submodules.m
irgen.c
linkage-merge.m
load_failure.c
lookup.cpp
lookup.m
macros.c
method_pool.m
modify-module.m
module-private.cpp
namespaces.cpp
normal-module-map.cpp
objc-categories.m
objc_redef.m
on-demand-build.m
on-demand-macros.m
redecl-merge.m
redecl-merge2.m
redecl-namespaces.mm
redeclarations.m
requires.m
subframeworks.m
submodules-preprocess.cpp
submodules.cpp
submodules.m
templates.mm
wildcard-submodule-exports.cpp