llvm-project/clang/test/Modules/Inputs
Richard Smith 8a63989728 [modules] Sometimes we can deserialize a class member but not have yet
encountered any definition for the class; this happens when the definition is
added by an update record that is not yet loaded. In such a case, eagerly pick
the original parent of the member as the canonical definition of the class
rather than muddling through with the canonical declaration (the latter can
lead to us failing to merge properly later if the canonical definition turns
out to be some other declaration).

llvm-svn: 226977
2015-01-24 01:07:20 +00:00
..
AddRemovePrivate.framework Verify all the module map files for a pcm are the same on load 2014-08-12 16:42:33 +00:00
AlsoDependsOnModule.framework/Headers
CmdLine.framework/Headers
Conflicts <rdar://problem/12368093> Extend module maps with a 'conflict' declaration, and warn when a newly-imported module conflicts with an already-imported module. 2013-03-20 21:10:35 +00:00
DependsOnModule.framework Allow a new syntax in a module requires-declaration: 2013-10-28 22:18:19 +00:00
HasSubModules.framework Change this comment to helpfully explain why it's there. 2013-02-13 03:34:21 +00:00
Modified <rdar://problem/13037793> Allow the names of modules to differ from the name of their subdirectory in the include path. 2013-03-21 01:08:50 +00:00
Module.framework Infer "link" lines for top-level frameworks. Essentially, a framework 2013-01-14 17:57:51 +00:00
ModuleDiags When building a module, forward diagnostics to the outer diagnostic consumer. 2013-05-03 22:58:43 +00:00
ModuleMapLocations Add a new spelling for module map files 'module.modulemap' 2014-03-19 20:23:34 +00:00
MutuallyRecursive1.framework/Headers Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
MutuallyRecursive2.framework/Headers Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
NoUmbrella.framework Infer "link" lines for top-level frameworks. Essentially, a framework 2013-01-14 17:57:51 +00:00
NotAModule.framework/Headers Introduce inferred framework modules into the module map file, 2012-11-06 19:39:40 +00:00
PR20399 Reduce the PR20399 test case. 2014-10-01 23:16:30 +00:00
PR20786 [modules] PR20786: add (already passing) regression test from the bug report. 2014-08-28 20:14:15 +00:00
StdDef Fix interaction of max_align_t and modules. 2014-10-03 00:31:35 +00:00
System/usr/include Fix compiler_builtins.m test to not rely on including system stdlib.h and malloc.h 2015-01-22 00:45:20 +00:00
attr-unavailable Fix bogus 'method is unavailable' errors with modules 2015-01-12 19:27:00 +00:00
cxx-lookup [modules] When performing a lookup into a namespace, ensure that any later 2014-08-13 01:23:33 +00:00
declare-use [modules] Support combining 'textual' with 'private'. 2014-10-24 20:23:01 +00:00
elsewhere Module [extern_c] attribute: inherit to submodules, don't write 'extern "C"' 2014-03-08 00:03:56 +00:00
exclude-header Fixed problem with exclude header. The exclude header argument needs to be relative to the module.map file. 2014-04-16 00:07:06 +00:00
explicit-build [modules] Initial support for explicitly loading .pcm files. 2014-10-22 02:05:46 +00:00
filename Default getFile() to use the last accessed name in the FileEntry. 2014-08-13 12:34:41 +00:00
include-relative If a module map is found in a relative -I path, convert the filenames within it 2014-03-11 02:02:47 +00:00
include_next [modules] Add support for #include_next. 2014-10-20 00:15:49 +00:00
inferred-attr Inherit attributes when infering a framework module 2015-01-13 17:47:44 +00:00
macro-hiding [modules] Fix some of the confusion when computing the override set for a macro 2014-07-21 04:10:40 +00:00
macro-reexport Reorganize test/Modules: 2015-01-22 23:07:47 +00:00
macro-undef-through-pch PR19215: When writing/reading a PCH that imported a module, store the location 2014-03-21 00:33:59 +00:00
malformed [modules] If we import a module, and we've seen a module map that describes the 2014-12-06 03:21:08 +00:00
merge-anon-in-template [modules] It's possible to merge into the pattern of a class template before we 2015-01-22 01:41:56 +00:00
merge-implicit-special-members [modules] If we add an implicit special member to a class through an update 2015-01-22 03:50:31 +00:00
merge-name-for-linkage [modules] If we load two declarations with typedef names for linkage purposes 2015-01-22 02:21:23 +00:00
merge-nested-templates [modules] Sometimes we can deserialize a class member but not have yet 2015-01-24 01:07:20 +00:00
merge-typedefs Fix typo. 2014-08-25 23:33:46 +00:00
merge-using-decls [modules] Merging for class-scope using-declarations. 2014-10-14 02:00:47 +00:00
modular_maps Reinstate r223753, reverted in r223759 due to breakage of clang-tools-extra. 2014-12-10 03:09:48 +00:00
modules-with-same-name Make sure these two files are distinct, or else the modules system may, on certain file systems, treat them as if they were the same file. 2014-04-14 22:30:21 +00:00
normal-module-map Add missing header from 165821 2012-10-12 21:17:34 +00:00
odr [modules] Fix false report of an ODR violation when merging friend 2014-08-25 02:10:01 +00:00
oldname <rdar://problem/13037793> Allow the names of modules to differ from the name of their subdirectory in the include path. 2013-03-21 01:08:50 +00:00
pr19692 Remove unused test input. 2014-12-23 19:30:13 +00:00
private Test files for private header patch. 2013-06-20 21:15:51 +00:00
private0 Test files for private header patch. 2013-06-20 21:15:51 +00:00
private1 Use the same SourceManager for ModuleMaps and compilations. 2013-10-24 07:51:24 +00:00
private2 Use the same SourceManager for ModuleMaps and compilations. 2013-10-24 07:51:24 +00:00
redecls Reorganize test/Modules: 2015-01-22 23:07:47 +00:00
require-modular-includes Add -Wnon-modular-include* options 2014-05-05 21:44:13 +00:00
self-import-header Reorganize test/Modules: 2015-01-22 23:07:47 +00:00
separate_map_tree Allow a header to be part of multiple modules. 2013-10-22 08:09:47 +00:00
string_names Allow string literals as module names. 2013-12-06 09:25:54 +00:00
subdir
submodules Allow submodule inferrences with a missing umbrella when the module is unavailable 2014-04-21 19:49:57 +00:00
template-specialization-visibility When a type's definition is instantiated, the definition becomes visible, even 2014-03-10 00:04:29 +00:00
undefined-type-fixit Initial implementation of -modules-earch-all option, for searching for symbols in non-imported modules. 2014-04-23 12:57:01 +00:00
unnecessary-module-map-parsing Modules: Don't warn upon missing headers while reading the module map. 2013-12-17 10:31:37 +00:00
update-after-load If a visibility update record is found for a DeclContext after that Decl has 2014-03-11 03:10:46 +00:00
va_list Fix r217275 to work without the need for standard headers being included 2014-09-05 23:36:59 +00:00
wildcard-submodule-exports Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
MethodPoolA.h Order the methods in the global method pool based on when they become visible, not when they become deserialized <rdar://problem/13203033>. 2013-02-12 23:36:21 +00:00
MethodPoolASub.h Order the methods in the global method pool based on when they become visible, not when they become deserialized <rdar://problem/13203033>. 2013-02-12 23:36:21 +00:00
MethodPoolASub2.h Add missing header from r174648 2013-02-07 19:15:44 +00:00
MethodPoolB.h
MethodPoolBSub.h When building a module, keep *all* declared methods in the global method pool. 2013-06-21 00:20:25 +00:00
MethodPoolBSub2.h Add test header missing from r184504. 2013-06-21 00:22:44 +00:00
autolink-sub.h Implement parsing, AST, (de-)serialization, and placeholder global 2013-01-14 17:21:00 +00:00
autolink-sub2.h Implement parsing, AST, (de-)serialization, and placeholder global 2013-01-14 17:21:00 +00:00
autolink-sub3.h Fix autolinking when modules are imported in pch files 2014-01-31 01:06:56 +00:00
autolink-sub3.pch Fix autolinking when modules are imported in pch files 2014-01-31 01:06:56 +00:00
autolink.h Implement parsing, AST, (de-)serialization, and placeholder global 2013-01-14 17:21:00 +00:00
builtin.h <rdar://problem/13560075> Teach name lookup for builtin names to find hidden declarations. 2013-04-03 23:06:26 +00:00
builtin_sub.h <rdar://problem/13560075> Teach name lookup for builtin names to find hidden declarations. 2013-04-03 23:06:26 +00:00
c-header-bad.h Add [extern_c] attribute for modules, allowing a C module to be imported within an extern "C" block in C++ code. 2014-03-02 05:58:18 +00:00
c-header.h Add [extern_c] attribute for modules, allowing a C module to be imported within an extern "C" block in C++ code. 2014-03-02 05:58:18 +00:00
category_bottom.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
category_left.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
category_left_sub.h Treat hidden Objective-C protocol definitions as if they were 2013-01-17 00:38:46 +00:00
category_other.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
category_right.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
category_right_sub.h Treat hidden Objective-C protocol definitions as if they were 2013-01-17 00:38:46 +00:00
category_top.h Treat hidden Objective-C protocol definitions as if they were 2013-01-17 00:38:46 +00:00
config.h <rdar://problem/10796651> Introduce configuration macros into module maps. 2013-03-20 00:22:05 +00:00
cxx-decls-imported.h [modules] Make NamespaceAliasDecl redeclarable, as it should be. This fixes 2014-09-03 23:11:22 +00:00
cxx-decls-merged.h [modules] Make NamespaceAliasDecl redeclarable, as it should be. This fixes 2014-09-03 23:11:22 +00:00
cxx-decls-premerged.h Add some missing test coverage for merging 'extern "C"' functions with modules. 2014-08-29 22:33:38 +00:00
cxx-decls-unimported.h If an unimported submodule of an imported module contains a declaration of a 2013-07-14 02:01:48 +00:00
cxx-header.h Add [extern_c] attribute for modules, allowing a C module to be imported within an extern "C" block in C++ code. 2014-03-02 05:58:18 +00:00
cxx-inline-namespace-b.h Add missing file from r204570. 2014-03-23 21:01:41 +00:00
cxx-inline-namespace.h If a name is injected into an imported inline namespace without reopening that 2014-03-23 20:41:56 +00:00
cxx-irgen-left.h [modules] When emitting an update record containing the body of a destructor, 2014-08-07 18:53:08 +00:00
cxx-irgen-right.h [modules] Maintain an AST invariant across module load/save: if any declaration 2014-07-31 23:46:44 +00:00
cxx-irgen-top.h [modules] Fix a rejects-valid resulting from emitting an inline function 2014-08-13 21:15:09 +00:00
cxx-linkage-cache.h Fix a bug reduced from a crash when trying to use modules with libc++. We check 2013-02-12 05:48:23 +00:00
cxx-many-overloads.h Fix stack overflow and improve performance when a module contains many 2013-02-08 00:37:45 +00:00
cxx-templates-a.h [modules] When building an injected-class-name type, we may have to insert it 2014-10-21 21:15:18 +00:00
cxx-templates-b-impl.h If an instantiation of a template is required to be a complete type, check 2014-05-07 02:25:43 +00:00
cxx-templates-b.h [modules] When building an injected-class-name type, we may have to insert it 2014-10-21 21:15:18 +00:00
cxx-templates-c.h [modules] When building an injected-class-name type, we may have to insert it 2014-10-21 21:15:18 +00:00
cxx-templates-common.h [modules] When completing the redecl chain for an anonymous declaration in a 2014-08-28 05:44:07 +00:00
cxx-templates-d.h [modules] When building an injected-class-name type, we may have to insert it 2014-10-21 21:15:18 +00:00
cxx-templates-textual.h [modules] Put class template declarations into the scope in which they're 2014-08-23 00:49:01 +00:00
decl.h
decl2.h
def-include.h
def.h C++ modules: fix a bug where loading a declaration with some name would prevent 2013-09-09 07:34:56 +00:00
dependency-gen-base.modulemap [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
dependency-gen-base2.modulemap [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
dependency-gen-included.h [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
dependency-gen-included2.h [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
dependency-gen.h [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
diag_pragma.h [modules] Make sure enabled diagnostic pragmas inside the module don't affect the translation unit that 2013-03-27 17:17:23 +00:00
diamond.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
diamond_bottom.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
diamond_left.h Avoid a couple of assertions when preprocessing with modules 2014-09-10 21:29:41 +00:00
diamond_right.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
diamond_top.h Avoid a couple of assertions when preprocessing with modules 2014-09-10 21:29:41 +00:00
dummy.h Map from local decl IDs to global decl IDs when lazily deserializing friend decl chains. 2013-08-30 00:23:29 +00:00
ignored_macros.h Detect when we end up trying to load conflicting module files. 2013-02-06 22:40:31 +00:00
import-decl.h Fix ASTReader handling of ImportDecls, from Meador Inge! 2012-05-16 16:31:58 +00:00
incomplete_mod.h 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
incomplete_mod_missing.h 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
initializer_list 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.h
linkage-merge-bar.h Add a module testcase with a using declaration. 2013-04-05 00:52:14 +00:00
linkage-merge-foo.h Add a module testcase with a using declaration. 2013-04-05 00:52:14 +00:00
linkage-merge-sub.h When name lookup for a redeclaration finds declarations that are known 2013-01-09 00:47:56 +00:00
load_failure.h
lookup_left.h
lookup_left.hpp
lookup_right.h
lookup_right.hpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
macros.h Introduce builtin macros to determine whether we're building a 2012-09-25 15:44:52 +00:00
macros_bottom.h [modules] Weaken an out-of-date assertion: an #undef can have no location if we 2014-08-09 01:24:07 +00:00
macros_left.h [preprocessor] Allow comparing two macro definitions syntactically instead of only lexically. 2013-04-03 17:39:30 +00:00
macros_other.h If a module A exports a macro M, and a module B imports that macro and #undef's 2014-03-01 00:08:04 +00:00
macros_right.h If a module A exports a macro M, and a module B imports that macro and #undef's 2014-03-01 00:08:04 +00:00
macros_right_undef.h [modules] Weaken an out-of-date assertion: an #undef can have no location if we 2014-08-09 01:24:07 +00:00
macros_top.h [modules] Weaken an out-of-date assertion: an #undef can have no location if we 2014-08-09 01:24:07 +00:00
macros_top_b.h Fix crash if a submodule overrides one of its own macros, and add support for 2014-03-06 03:16:27 +00:00
macros_top_c.h Fix crash if a submodule overrides one of its own macros, and add support for 2014-03-06 03:16:27 +00:00
modular_maps-moduleb-cwd.map Reinstate r223753, reverted in r223759 due to breakage of clang-tools-extra. 2014-12-10 03:09:48 +00:00
module.map Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
module_private_left.h
module_private_right.h
namespaces-left.h Save out a correct lookup table if a lookup table entry is stale (it contains 2014-03-25 01:14:22 +00:00
namespaces-right.h Fix handling of module imports adding names to a DeclContext after qualified 2013-02-07 03:37:08 +00:00
namespaces-top.h Save out a correct lookup table if a lookup table entry is stale (it contains 2014-03-25 01:14:22 +00:00
pch-used.h Fix PCHs that import more than one module 2014-09-08 20:36:26 +00:00
point.h
preprocess-prefix.h Avoid a couple of assertions when preprocessing with modules 2014-09-10 21:29:41 +00:00
recursive1.h If a #include finds a file relative to the current file, don't forget to check 2014-03-05 20:51:45 +00:00
recursive2.h If a #include finds a file relative to the current file, don't forget to check 2014-03-05 20:51:45 +00:00
recursive_visibility_a1_inner.h Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
recursive_visibility_a2_more_inner.h Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
recursive_visibility_b.h Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
recursive_visibility_c.h Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
redecl-add-after-load-decls.h If two sibling modules declare the same entity, and we indirectly pull a 2014-05-19 20:59:20 +00:00
redecl-add-after-load-top.h Add missed file from r209046. 2014-05-16 23:16:06 +00:00
redecl-add-after-load.h If a declaration is loaded, and then a module import adds a redeclaration, then 2014-05-16 23:01:30 +00:00
redecl-merge-bottom-prefix.h [Modules] Cope better with top-level declarations loaded after being declared in the current translation unit <rdar://problem/13189985>. 2013-02-11 18:16:18 +00:00
redecl-merge-bottom.h [Modules] Cope better with top-level declarations loaded after being declared in the current translation unit <rdar://problem/13189985>. 2013-02-11 18:16:18 +00:00
redecl-merge-left-left.h Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
redecl-merge-left.h Ensure that the identifier chains have the most recent declaration after module deserialization. 2013-02-18 15:53:43 +00:00
redecl-merge-right.h Ensure that the identifier chains have the most recent declaration after module deserialization. 2013-02-18 15:53:43 +00:00
redecl-merge-top-explicit.h
redecl-merge-top.h Ensure that the identifier chains have the most recent declaration after module deserialization. 2013-02-18 15:53:43 +00:00
redecl_namespaces_left.h
redecl_namespaces_right.h
redeclarations_left.h
redeclarations_right.h
relative-dep-gen-1.h Add some file content to avoid test failures on content-addressed file systems. 2014-12-06 22:12:07 +00:00
relative-dep-gen-2.h Add some file content to avoid test failures on content-addressed file systems. 2014-12-06 22:12:07 +00:00
relative-dep-gen-cwd.modulemap Reinstate r223753, reverted in r223759 due to breakage of clang-tools-extra. 2014-12-10 03:09:48 +00:00
relative-dep-gen.modulemap [modules] If we import a module, and we've seen a module map that describes the 2014-12-06 03:21:08 +00:00
templates-left.h [modules] Use DeclContext::equals rather than == on DeclContext* when 2014-09-03 02:33:22 +00:00
templates-right.h [modules] Use DeclContext::equals rather than == on DeclContext* when 2014-09-03 02:33:22 +00:00
templates-top.h [modules] Use DeclContext::equals rather than == on DeclContext* when 2014-09-03 02:33:22 +00:00
using-decl-a.h Make UsingShadowDecls redeclarable. This fixes some visibility problems with 2013-10-23 02:17:46 +00:00
using-decl-b.h Make UsingShadowDecls redeclarable. This fixes some visibility problems with 2013-10-23 02:17:46 +00:00
warn-unused-local-typedef.h Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
warning.h [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
weird_objc.h Merge "special" types from different modules in the AST reader. 2013-02-01 23:45:03 +00:00