aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2025-08-14 14:18:51 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2025-08-14 14:23:14 +0800
commitab5a5a90c03d25392fcc486a8c587d0dd9b7a0c6 (patch)
tree2ef34501df0ae355fc3e345672afb3b152b1e952 /llvm/lib/CodeGen/BranchFolding.cpp
parent23b65edfbcdc867a24087ec9decebd8f326b045a (diff)
downloadllvm-ab5a5a90c03d25392fcc486a8c587d0dd9b7a0c6.zip
llvm-ab5a5a90c03d25392fcc486a8c587d0dd9b7a0c6.tar.gz
llvm-ab5a5a90c03d25392fcc486a8c587d0dd9b7a0c6.tar.bz2
[C++20] [Modules] Fix incorrect diagnostic for using befriend target
Close https://github.com/llvm/llvm-project/issues/138558 The compiler failed to understand the redeclaration-relationship when performing checks when MergeFunctionDecl. This seemed to be a complex circular problem (how can we know the redeclaration relationship before performing merging?). But the fix seems to be easy and safe. It is fine to only perform the check only if the using decl is a local decl.
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions