jiixyj wrote: `ManglingContextDecl` is also used in `SemaExpr.cpp:HandleImmediateInvocations` for some unrelated things, so it's not that simple to change.
But I found another simpler approach: I could remove `ContextKind::NonInlineInModulePurview` and just do a simple check for the modules special case with a helper function. All in the `ContextKind::Normal` case. https://github.com/llvm/llvm-project/pull/179035 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
