diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-08-23 01:45:27 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-08-23 01:45:27 +0000 |
| commit | 88ebade8d9f8c9b3f818ee43acd8960ec6475952 (patch) | |
| tree | 081a811c5b43cfbd776bd394a4f4010ff67c5431 /clang/test/Modules/Inputs/cxx-decls-merged.h | |
| parent | 234ff47366f6ae6acdd22b7b83ce91044561da60 (diff) | |
| download | bcm5719-llvm-88ebade8d9f8c9b3f818ee43acd8960ec6475952.tar.gz bcm5719-llvm-88ebade8d9f8c9b3f818ee43acd8960ec6475952.zip | |
[modules] When merging a tag declaration that has a typedef name for linkage
purposes, look for other typedefs with that same name and merge into their
named tag declaration if there is one.
llvm-svn: 216312
Diffstat (limited to 'clang/test/Modules/Inputs/cxx-decls-merged.h')
| -rw-r--r-- | clang/test/Modules/Inputs/cxx-decls-merged.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/cxx-decls-merged.h b/clang/test/Modules/Inputs/cxx-decls-merged.h index ccc3b015487..b1ed2a0d932 100644 --- a/clang/test/Modules/Inputs/cxx-decls-merged.h +++ b/clang/test/Modules/Inputs/cxx-decls-merged.h @@ -1 +1,7 @@ extern int mergeUsedFlag; + +typedef struct { + int n; + int m; +} NameForLinkage; +extern NameForLinkage name_for_linkage; |

