aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ASTMerge.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-08-10 02:20:15 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-08-10 02:20:15 +0000
commitca40f9b39a8d4dda199741acb4d4e2e4f2548bfd (patch)
tree09659c2af0ccbf056f8452dab7e45d141fb47533 /clang/lib/Frontend/ASTMerge.cpp
parent502dca7bb0ec97109c9ccf6bbf97d23aab89b7c3 (diff)
downloadllvm-ca40f9b39a8d4dda199741acb4d4e2e4f2548bfd.zip
llvm-ca40f9b39a8d4dda199741acb4d4e2e4f2548bfd.tar.gz
llvm-ca40f9b39a8d4dda199741acb4d4e2e4f2548bfd.tar.bz2
[modules] When considering merging a newly-declared typedef into an imported
one, perform the import if the types match even if the imported declaration is hidden. Otherwise, NamedDecl::declarationReplaces will drop one of the name lookup entries, making the typedef effectively inaccessible from one of the modules that declared it. llvm-svn: 215306
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions