llvm-project/clang/test/Modules
Douglas Gregor c147b0bc31 Provide Decl::getOwningModule(), which determines the (sub)module in
which a particular declaration resides. Use this information to
customize the "definition of 'blah' must be imported from another
module" diagnostic with the module the user actually has to
import. Additionally, recover by importing that module, so we don't
complain about other names in that module.

Still TODO: coming up with decent Fix-Its for these cases, and expand
this recovery approach for other name lookup failures.

llvm-svn: 172290
2013-01-12 01:29:50 +00:00
..
Inputs When name lookup for a redeclaration finds declarations that are known 2013-01-09 00:47:56 +00:00
auto-module-import.m Don't infer a submodule for a framework's private header, at least for now. 2012-01-13 16:54:27 +00:00
build-fail-notes.m Add the module name to the 'incomplete umbrella header' warning. 2013-01-04 18:58:28 +00:00
compiler_builtins.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
cstd.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
cycles.c Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
decldef.mm Provide Decl::getOwningModule(), which determines the (sub)module in 2013-01-12 01:29:50 +00:00
diamond-pch.c Eliminate the uglified keyword __import_module__ for importing 2012-01-03 19:32:59 +00:00
diamond.c Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
direct-module-import.m Have the parser initialize Sema before it consumes the first 2012-11-05 23:58:27 +00:00
driver.c Add test for the driver's handling of modules 2011-09-14 20:29:10 +00:00
epic-fail.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
header-import.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
import-decl.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
inferred-frameworks.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
inferred-submodules.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
irgen.c Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
linkage-merge.m When name lookup for a redeclaration finds declarations that are known 2013-01-09 00:47:56 +00:00
load_failure.c Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
lookup.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
lookup.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
macros.c Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
method_pool.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
modify-module.m clang/test: Suppress two tests on win32 for now, since, not sure, in r169829 to r169831. 2012-12-12 00:51:38 +00:00
module-private.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
namespaces.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
normal-module-map.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
objc-categories.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
on-demand-build.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
on-demand-macros.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
redecl-merge.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
redecl-namespaces.mm Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
redeclarations.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
requires.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
subframeworks.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
submodules-preprocess.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
submodules.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
submodules.m Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
templates.mm Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00
wildcard-submodule-exports.cpp Use @import rather than @__experimental_modules_import, since the 2012-12-11 22:11:52 +00:00