[clang] [clang] Don't use `VarDecl` of local variables as `ManglingContextDecl` for lambdas (PR #179035)
Jan Kokemüller via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 14 01:39:44 PST 2026
================
@@ -352,7 +356,7 @@ Sema::getCurrentMangleNumberContext(const DeclContext *DC) {
// -- the bodies of inline or templated functions
----------------
jiixyj wrote:
I have updated the comments here and below in the variable case. The comments refer to the Itanium ABI section 5.1.8 (<https://itanium-cxx-abi.github.io/cxx-abi/abi.html#closure-types>) so I made it clear that the new module related cases are not yet in the official document.
https://github.com/llvm/llvm-project/pull/179035
More information about the cfe-commits
mailing list