llvm-project/clang/test/Modules/Inputs
Douglas Gregor 022857e03d When deserializing an Objective-C class, check whether we have another
declaration of that same class that either came from some other module
or occurred in the translation unit loading the module. In this case,
we need to merge the two redeclaration chains immediately so that all
such declarations have the same canonical declaration in the resulting
AST (even though they don't in the module files we've imported).

Focusing on Objective-C classes until I'm happy with the design, then
I'll both (1) extend this notion to other kinds of declarations, and
(2) optimize away this extra checking when we're not dealing with
modules. For now, doing this checking for PCH files/preambles gives us
better testing coverage.

llvm-svn: 147123
2011-12-22 01:48:48 +00:00
..
AlsoDependsOnModule.framework/Headers Inferred framework modules automatically export anything they import 2011-12-05 17:40:25 +00:00
CmdLine.framework/Headers When building a module, use the macro definitions on the command line 2011-10-17 14:55:37 +00:00
DependsOnModule.framework Tweak the syntax of umbrella headers, so that "umbrella" is treated as 2011-12-08 18:00:48 +00:00
Module.framework Detect when mapping a #include/#import over to a submodule ends up 2011-12-20 00:28:52 +00:00
MutuallyRecursive1.framework/Headers Add test case for mutually recursive modules 2011-09-15 20:54:06 +00:00
MutuallyRecursive2.framework/Headers Add test case for mutually recursive modules 2011-09-15 20:54:06 +00:00
NoUmbrella.framework When we have an umbrella directory in a module map, recursively walk 2011-12-12 19:13:53 +00:00
normal-module-map Implement umbrella directories for modules, which are similar to 2011-12-08 19:11:24 +00:00
submodules Implement name hiding for macro definitions within modules, such that 2011-12-02 15:45:10 +00:00
wildcard-submodule-exports Implement support for wildcard exports in modules, allowing a module 2011-12-05 17:28:06 +00:00
category_bottom.h Switch the remaining modules tests over to -emit-module-from-map. 2011-11-16 15:22:03 +00:00
category_left.h Switch the remaining modules tests over to -emit-module-from-map. 2011-11-16 15:22:03 +00:00
category_right.h Switch the remaining modules tests over to -emit-module-from-map. 2011-11-16 15:22:03 +00:00
category_top.h Switch the remaining modules tests over to -emit-module-from-map. 2011-11-16 15:22:03 +00:00
decl.h When name lookup comes across a declaration that is in a module that 2011-12-14 16:03:29 +00:00
decl2.h Fix chaining of ObjCInterfaceDecl redeclarations 2011-12-16 03:12:41 +00:00
def.h When name lookup comes across a declaration that is in a module that 2011-12-14 16:03:29 +00:00
diamond.h Add missing test header 2011-12-02 21:59:41 +00:00
diamond_bottom.h Switch __import__ over to __import_module__, so we don't conflict with 2011-08-31 18:19:09 +00:00
diamond_left.h Switch __import__ over to __import_module__, so we don't conflict with 2011-08-31 18:19:09 +00:00
diamond_right.h Switch __import__ over to __import_module__, so we don't conflict with 2011-08-31 18:19:09 +00:00
diamond_top.h Introduce a module visitation function that starts at the top-level 2011-08-20 04:39:52 +00:00
irgen.h Switch some more of the modules tests over to "-emit-module-from-map", 2011-11-16 00:21:54 +00:00
load_failure.h Introduce support for a simple module import declaration, which 2011-08-26 23:56:07 +00:00
lookup_left.h Use the module manager's search facility to look for methods with a 2011-08-25 14:51:20 +00:00
lookup_left.hpp Introduce a -cc1 option "-emit-module", that creates a binary module 2011-08-25 22:30:56 +00:00
lookup_right.h Use the module manager's search facility to look for methods with a 2011-08-25 14:51:20 +00:00
lookup_right.hpp In the AST reader, switch name lookup within a DeclContect over to the 2011-08-24 19:03:07 +00:00
macros.h Migrate a few more modules tests over to -emit-module-from-map. 2011-11-16 05:16:30 +00:00
module.map When performing name lookup for a redeclaration, ignore module 2011-12-20 18:11:52 +00:00
module_private_left.h When performing name lookup for a redeclaration, ignore module 2011-12-20 18:11:52 +00:00
module_private_right.h When performing name lookup for a redeclaration, ignore module 2011-12-20 18:11:52 +00:00
point.h When we load header file information from the external source (i.e., 2011-09-17 05:35:18 +00:00
redecl-merge-bottom.h Re-implement (de-)serialization of redeclaration chains for 2011-12-19 18:19:24 +00:00
redecl-merge-left.h When deserializing an Objective-C class, check whether we have another 2011-12-22 01:48:48 +00:00
redecl-merge-right.h When deserializing an Objective-C class, check whether we have another 2011-12-22 01:48:48 +00:00
redecl-merge-top-explicit.h When we make a previously-deserialized module definition visible, 2011-12-20 22:06:13 +00:00
redecl-merge-top.h Re-implement (de-)serialization of redeclaration chains for 2011-12-19 18:19:24 +00:00
redeclarations_left.h Switch the remaining modules tests over to -emit-module-from-map. 2011-11-16 15:22:03 +00:00
redeclarations_right.h Switch the remaining modules tests over to -emit-module-from-map. 2011-11-16 15:22:03 +00:00