llvm-project/clang/tools
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
..
arcmt-test these now depend on the bitcode reader too. 2013-01-19 18:28:24 +00:00
c-arcmt-test libclang: Update comment about USEDLIBS in c-*-test/Makefile. 2013-01-22 04:11:33 +00:00
c-index-test libclang: add a function to check whether a member function is pure virtual 2013-05-17 18:38:35 +00:00
clang-check these now depend on the bitcode reader too. 2013-01-19 18:28:24 +00:00
clang-format clang-format integration for git. 2013-05-23 17:53:42 +00:00
diag-build Add new tool 'diag-build' for showing enabled warnings in a project. 2012-06-18 21:31:37 +00:00
diagtool Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
driver Update for LLVM interface change in r181680. 2013-05-13 01:24:18 +00:00
libclang Fix linkage computation for derived types in inline functions. 2013-05-25 17:16:20 +00:00
scan-build scan-build: use the xcodebuild specified by the user. 2013-05-22 18:09:57 +00:00
scan-view [analyzer] scan-view: don't ever serve absolute paths. 2013-04-29 17:23:06 +00:00
CMakeLists.txt Add clang-format binary to cfe. 2013-03-20 09:53:23 +00:00
Makefile Add clang-format to the corresponding Makefile. 2013-03-22 11:43:51 +00:00