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
Should consteval constructor produce symbols? #82154
Comments
@llvm/issue-subscribers-c-20 Author: Chuanqi Xu (ChuanqiXu9)
(From https://github.com//issues/81745)
During the debugging process, I found the codegen will generate consteval constructor. It is surprising to me. In my memory, we shouldn't emit consteval functions at all. Reproducer:
We can double check the LLVM IR:
We should be able to see the definition of
|
A CXXConstructExpr may refer to an immediate constructor, in which case it should be substituted in the enclosing default init expression. Fixes llvm#82154
A CXXConstructExpr may refer to an immediate constructor, in which case it should be substituted in the enclosing default init expression. Fixes #82154
@llvm/issue-subscribers-clang-frontend Author: Chuanqi Xu (ChuanqiXu9)
(From https://github.com//issues/81745)
During the debugging process, I found the codegen will generate consteval constructor. It is surprising to me. In my memory, we shouldn't emit consteval functions at all. Reproducer:
We can double check the LLVM IR:
We should be able to see the definition of
|
(From #81745)
During the debugging process, I found the codegen will generate consteval constructor. It is surprising to me. In my memory, we shouldn't emit consteval functions at all.
Reproducer:
We can double check the LLVM IR:
We should be able to see the definition of
@_ZN2S1C2Ei
. And we can demangle it by:The text was updated successfully, but these errors were encountered: