aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGabor Marton <gabor.marton@ericsson.com>2019-12-04 17:12:08 +0100
committerGabor Marton <gabor.marton@ericsson.com>2019-12-18 11:43:46 +0100
commitbc5b7e21e32b23603f4d6148adeb88cd34dd287e (patch)
tree41d1fb1b0903c580b279e634be6962549f659910 /clang/lib/Frontend/CompilerInvocation.cpp
parent308b8b76ceee805c964faf9f2176e3e05532a45b (diff)
downloadllvm-bc5b7e21e32b23603f4d6148adeb88cd34dd287e.zip
llvm-bc5b7e21e32b23603f4d6148adeb88cd34dd287e.tar.gz
llvm-bc5b7e21e32b23603f4d6148adeb88cd34dd287e.tar.bz2
recommit: [ASTImporter] Friend class decl should not be visible in its context
Summary: In the past we had to use DeclContext::makeDeclVisibleInContext to make friend declarations available for subsequent lookup calls and this way we could chain (redecl) the structurally equivalent decls. By doing this we created an AST that improperly made declarations visible in some contexts, so the AST was malformed. Since we use the importer specific lookup this is no longer necessary, because with that we can find every previous nodes. Reviewers: balazske, a_sidorin, a.sidorin, shafik Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, teemperor, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71020
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions