[clang] [clang][Itanium Mangle] Enable mangling of enclosing class for member… (PR #110503)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 2 03:14:22 PDT 2024
================
@@ -693,14 +693,13 @@ ItaniumMangleContextImpl::getEffectiveDeclContext(const Decl *D) {
if (VD->isExternC())
return getASTContext().getTranslationUnitDecl();
- if (const auto *FD = D->getAsFunction()) {
- if (FD->isExternC())
----------------
hokein wrote:
why removing the `isExternC()`? this will change the behavior.
https://github.com/llvm/llvm-project/pull/110503
More information about the cfe-commits
mailing list