aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-07-29 23:38:25 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-07-29 23:38:25 +0000
commit826711d456bfde995ca5b08aecec88775f55b01d (patch)
tree003b8eee66e6e7885f71ec2e880df732fbd53a26 /clang/lib/Basic/FileManager.cpp
parent5f6d160b5b577ee15a393df12662999ac56c2c1f (diff)
downloadllvm-826711d456bfde995ca5b08aecec88775f55b01d.zip
llvm-826711d456bfde995ca5b08aecec88775f55b01d.tar.gz
llvm-826711d456bfde995ca5b08aecec88775f55b01d.tar.bz2
[modules] When performing redeclaration lookup for a using declaration, prefer
UsingShadowDecls over other declarations of the same entity in the lookup results. This ensures that we build correct redeclaration chains for the UsingShadowDecls (otherwise we could see assertions and other misbehavior in modules builds, when merging combines multiple redeclaration chains for the same entity from the same module into one chain). llvm-svn: 243592
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions