Rafael Espindola
74a133fa9a
Merge storage classes even when contexts don't match.
...
This fixes the storage class of extern decls that are merged with file level
statics. The patch also fixes the linkage computation so that they are
considered internal.
llvm-svn: 170406
2012-12-18 04:18:55 +00:00
Argyrios Kyrtzidis
79d0428046
ParmVarDecls have no linkage. Previously we would report that parameters
...
in type signatures have external linkage.
Fixes rdar://10058317.
llvm-svn: 145551
2011-12-01 01:28:21 +00:00
Douglas Gregor
0b46650b66
c-index-test's printing of linkage was completely broken, as was the
...
test of this functionality. The API worked great, though! :)
llvm-svn: 97736
2010-03-04 19:36:27 +00:00
Ted Kremenek
83b28a2433
Add '-test-print-linkage-source' option to c-index-test
...
to test clang_getCursorLinkage()
llvm-svn: 97648
2010-03-03 06:37:58 +00:00