https://bugs.llvm.org/show_bug.cgi?id=49767
Bug ID: 49767
Summary: Dumping AST to json triggers assertion with VLA array
in function body
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Dumping AST to json, using the parameter -ast-dump=json, causes an assertion on
clang:
clang++: /root/llvm-project/clang/lib/AST/ItaniumMangle.cpp:4968: void
{anonymous}::CXXNameMangler::mangleFunctionParam(const clang::ParmVarDecl*):
Assertion `parmDepth < FunctionTypeDepth.getDepth()' failed.
This is a minimum failing example on godbolt:
https://godbolt.org/z/eefYGbcob
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs