llvm-project/clang/lib/Serialization
Rafael Espindola 50df3a02be Fix linkage computation for derived types in inline functions.
John noticed that the fix for pr15930 (r181981) didn't handle indirect
uses of local types. For example, a pointer to local struct, or a
function that returns it.

One way to implement this would be to recursively look for local
types. This would look a lot like the linkage computation itself for
types.

To avoid code duplication and utilize the existing linkage cache, this
patch just makes the computation of "type with no linkage but
externally visible because it is from an inline function"  part of the
linkage computation itself.

llvm-svn: 182711
2013-05-25 17:16:20 +00:00
..
ASTCommon.cpp Sema for Captured Statements 2013-04-16 19:37:38 +00:00
ASTCommon.h C++1y deduced return types: when we deduce a return type for a function which 2013-05-11 05:45:24 +00:00
ASTReader.cpp [modules] If we hit a failure while loading a PCH/module, abort parsing instead of trying to continue in an invalid state. 2013-05-24 05:44:08 +00:00
ASTReaderDecl.cpp Fix linkage computation for derived types in inline functions. 2013-05-25 17:16:20 +00:00
ASTReaderInternals.h Enhance the ObjC global method pool to record whether there were 0, 1, or >= 2 methods (with a particular selector) inside categories. 2013-04-17 00:08:58 +00:00
ASTReaderStmt.cpp ArrayRef'ize ShuffleVectorExpr::setExprs 2013-05-10 00:43:44 +00:00
ASTWriter.cpp Revert r182331, these checks should be based on the target not the host. 2013-05-20 23:40:27 +00:00
ASTWriterDecl.cpp Fix linkage computation for derived types in inline functions. 2013-05-25 17:16:20 +00:00
ASTWriterStmt.cpp Implement template support for CapturedStmt 2013-05-04 03:59:06 +00:00
CMakeLists.txt Implement the writer side of the global module index. 2013-01-23 22:38:11 +00:00
GeneratePCH.cpp [Preprocessor] Remove PPMutationListener. 2013-03-27 01:25:24 +00:00
GlobalModuleIndex.cpp [Modules] Use global index to improve typo correction performance 2013-04-17 22:10:55 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp [PCH] We don't need to instantiate HeaderFileInfoTrait in ASTReader more than once. 2013-03-06 18:12:44 +00:00
ModuleManager.cpp <rdar://problem/13509689> Introduce -module-file-info option that provides information about a particular module file. 2013-03-27 16:47:18 +00:00