aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2022-08-11 14:08:14 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2022-08-12 11:50:35 +0800
commit0bc993edf4ec57993c8fc11ea511b3d62ffd3c93 (patch)
tree7fad175e8b856bea94271d5c82cd180a6952e35d /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent4735104f09c5e7bcf1aff261ea0f3196941ce404 (diff)
downloadllvm-0bc993edf4ec57993c8fc11ea511b3d62ffd3c93.zip
llvm-0bc993edf4ec57993c8fc11ea511b3d62ffd3c93.tar.gz
llvm-0bc993edf4ec57993c8fc11ea511b3d62ffd3c93.tar.bz2
[AST] [Modules] Introduce Decl::getNonTransparentDeclContext to handle exported friends
Closing https://github.com/llvm/llvm-project/issues/56826. The root cause for pr56826 is: when we collect the template args for the friend, we need to judge if the friend lives in file context. However, if the friend lives in ExportDecl lexically, the judgement here is invalid. The solution is easy. We should judge the non transparent context and the ExportDecl is transparent context. So the solution should be good. A main concern may be the patch doesn't handle all the places of the same defect. I think it might not be bad since the patch itself should be innocent. Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D131651
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions