hanchenye-llvm-project/clang/test/Modules
Ben Langmuir 9eb229bfe5 Require a module.map file to load a module
Removes some old code that allowed a module to be loaded from a pcm file
even if the module.map could not be found.  Also update a number of
tests that relied on the old behavior.

llvm-svn: 199852
2014-01-22 23:19:39 +00:00
..
Inputs Enable layering check in unavailable modules. 2013-12-20 12:09:36 +00:00
redecls Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
self-import-header clang/test/Modules/self-import-header/test.m: Add explicit -target. 2013-05-16 06:59:30 +00:00
auto-module-import.m Generate a marker token when entering or leaving a submodule when building a 2013-11-23 04:06:09 +00:00
autolink.m Suffixing #pragma comment(lib) library names with .lib if necessary. This matches MSVC behavior, as well as allows us to properly link libraries such as the ones provided by the MSDN examples. 2013-05-24 15:06:56 +00:00
build-fail-notes.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
builtins.m <rdar://problem/13560075> Teach name lookup for builtin names to find hidden declarations. 2013-04-03 23:06:26 +00:00
compiler_builtins.m Avoid names like __in that conflict with SAL in builtin headers 2013-04-19 17:00:14 +00:00
compiler_builtins_arm.m Add arm_neon.h to the builtin intrinsics module map. 2013-05-20 14:07:18 +00:00
config_macros.m Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
conflicts.m
cstd.m When looking for the module associated with one of our magical builtin headers, speculatively load module maps. 2013-05-02 17:58:30 +00:00
cxx-decls.cpp Map from local decl IDs to global decl IDs when lazily deserializing friend decl chains. 2013-08-30 00:23:29 +00:00
cxx-inline-namespace.cpp
cxx-linkage-cache.cpp
cxx-many-overloads.cpp
cxx-templates.cpp Test that we can merge together explicit and partial specializations from 2013-10-15 23:19:58 +00:00
cycles.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
declare-use1.cpp Modules: Let -fmodules-decluse ignore headers that aren't in a module 2013-12-11 12:13:00 +00:00
declare-use2.cpp Change layering warning tests to not actually build modules. 2013-12-11 09:11:12 +00:00
decldef.m During typo correction, check for an exact match in an unimported module. If we 2013-08-20 20:35:18 +00:00
decldef.mm C++ modules: fix a bug where loading a declaration with some name would prevent 2013-09-09 07:34:56 +00:00
diag-pragma.c Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
diamond-pch.c Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
diamond.c Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
direct-module-import.m
driver.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
epic-fail.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fatal-module-loader-error.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
global_index.m
header-import.m
ignored_macros.m
import-decl.cpp Modules: Teach the preprocessor to recognize 'import' only after an '@'. 2013-11-07 22:55:02 +00:00
incomplete-module.m Add -Wincomplete-module, which detects when a header is included from a module but isn't itself part of a module. 2013-05-20 13:49:41 +00:00
inferred-frameworks.m
inferred-submodules.m
initializer_list.cpp C++ modules: don't lose track of a 'namespace std' that is imported from a module. 2013-10-18 06:54:39 +00:00
irgen.c Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
linkage-merge.cpp Extended VerifyDiagnosticConsumer to also verify source file for diagnostic. 2013-04-17 08:06:46 +00:00
linkage-merge.m Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
load_failure.c Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
lookup.cpp Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
lookup.m Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
macros.c Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
malformed.cpp Fix module name collision in tests. 2013-11-23 05:21:32 +00:00
method_pool.m When building a module, keep *all* declared methods in the global method pool. 2013-06-21 00:20:25 +00:00
modify-module.m
modular_maps.cpp Revert "Modules: Make missing headers in a module.map a warning not an error." 2013-12-16 14:57:22 +00:00
module-private.cpp Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
module_file_info.m Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
namespaces.cpp C++ modules: fix a bug where loading a declaration with some name would prevent 2013-09-09 07:34:56 +00:00
normal-module-map.cpp During typo correction, check for an exact match in an unimported module. If we 2013-08-20 20:35:18 +00:00
objc-categories.m Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
objc_redef.m Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
odr.cpp Basic ODR checking for C++ modules: 2013-10-18 06:05:18 +00:00
on-demand-build.m Extended VerifyDiagnosticConsumer to also verify source file for diagnostic. 2013-04-17 08:06:46 +00:00
on-demand-macros.m
pch-used.m Note when a decl is used in AST files. 2013-09-05 00:02:25 +00:00
private.cpp Test files for private header patch. 2013-06-20 21:15:51 +00:00
private1.cpp Use the same SourceManager for ModuleMaps and compilations. 2013-10-24 07:51:24 +00:00
prune.m
recursive_visibility.mm Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
redecl-merge.m Extended VerifyDiagnosticConsumer to also verify source file for diagnostic. 2013-04-17 08:06:46 +00:00
redecl-merge2.m
redecl-namespaces.mm Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
redeclarations.m Require a module.map file to load a module 2014-01-22 23:19:39 +00:00
renamed.m Move the input files for the unnecessary-module-map-parsing test to Inputs. 2013-12-13 10:08:24 +00:00
requires.m Allow a new syntax in a module requires-declaration: 2013-10-28 22:18:19 +00:00
requires.mm Allow a new syntax in a module requires-declaration: 2013-10-28 22:18:19 +00:00
separate_map_tree.cpp Allow a header to be part of multiple modules. 2013-10-22 08:09:47 +00:00
serialized-diags.m Remove forward slashes from check; should unbreak Windows buildbots. 2013-05-06 15:42:15 +00:00
stddef.m
string_names.cpp Allow string literals as module names. 2013-12-06 09:25:54 +00:00
subframeworks.m During typo correction, check for an exact match in an unimported module. If we 2013-08-20 20:35:18 +00:00
submodules-preprocess.cpp
submodules.cpp Modules: Don't warn upon missing headers while reading the module map. 2013-12-17 10:31:37 +00:00
submodules.m
system_headers.m [Modules] If a module map resides in a system header directory, treat it as a system module. 2013-06-21 16:28:10 +00:00
system_version.m Make sure we have the include paths we need 2013-04-12 00:23:25 +00:00
templates.mm When merging class definitions across modules in C++, merge together fields. 2013-10-07 08:02:11 +00:00
unnecessary-module-map-parsing.c Modules: Don't warn upon missing headers while reading the module map. 2013-12-17 10:31:37 +00:00
using-decl.cpp Make UsingShadowDecls redeclarable. This fixes some visibility problems with 2013-10-23 02:17:46 +00:00
wildcard-submodule-exports.cpp