[clang] [clang] Fix crash parsing delayed lambda default arguments (PR #213556)
Gauarv Chaudhary via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 2 18:39:12 PDT 2026
ANAMASGARD wrote:
Hi @zwuis
> -fms-compatibility enables Microsoft extensions, which expand string literals through
> ExpandFunctionLocalPredefinedMacros. That path calls getPredefinedExprDecl during delayed default-argument parsing,
> after the lambda scope has been popped. Standard mode does not take this path, so it does not crash.
https://github.com/llvm/llvm-project/pull/213556
More information about the cfe-commits
mailing list