-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing CIRGen for CXXDefaultArgExpr #1181
Comments
Do you have this problem? |
Looks like we need to implement CIRGen for CXXDefaultArgExpr |
Thank you for your busy schedule to respond the question. Here are my recent thoughts and hope to help solve the problem.
|
@ljtodo Thank you for reporting the issue! To be clear, I don't think its Clang front end's problem. From crash stackframe, it shows its a problem generating ClangIR for DefaultArgExpr AST. ClangIR is an IR (MLIR dialect) that is under development, it wouldn't be a surprise that some AST structs fail to generate ClangIR (a.k.a CIR). |
Thanks! |
Maybe the implicit construct semantics of C++ are not supported, and ClangIR may not properly parse implicitly called constructors, causing problems in handling default parameters or lvalue operations called by implicit constructors.
https://godbolt.org/
C++ source:
the output:
The text was updated successfully, but these errors were encountered: