llvm-project/clang/lib/Serialization
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
..
ASTCommon.cpp Re-commit r170428 changes with Linux style file endings. 2012-12-18 14:38:23 +00:00
ASTCommon.h Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ASTReader.cpp Provide Decl::getOwningModule(), which determines the (sub)module in 2013-01-12 01:29:50 +00:00
ASTReaderDecl.cpp Change DeclContextLookup(Const)Result to (Mutable)ArrayRef<NamedDecl*>, as per review discussion in r170365 2012-12-19 00:45:41 +00:00
ASTReaderInternals.h Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ASTReaderStmt.cpp Move the common source locations of CastStmt & DefaultStmt into their base class, SwitchCase. 2013-01-04 18:30:04 +00:00
ASTWriter.cpp Truth in advertising: LocallyScopedExternalDecls actually only contains 2013-01-10 23:43:47 +00:00
ASTWriterDecl.cpp Change DeclContextLookup(Const)Result to (Mutable)ArrayRef<NamedDecl*>, as per review discussion in r170365 2012-12-19 00:45:41 +00:00
ASTWriterStmt.cpp Move the common source locations of CastStmt & DefaultStmt into their base class, SwitchCase. 2013-01-04 18:30:04 +00:00
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
GeneratePCH.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ModuleManager.cpp Actually keep track of the source locations at which particular module 2012-11-30 19:28:05 +00:00