This previously ran into an "unknown type" assertion when trying to emit a 'Zero' op for a pointer type. Emit a NullPtr op instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D137235
[clang][Interp] Fix ImplicitValueInitExprs for pointer types ClosedPublic Authored by tbaeder on Nov 2 2022, 2:30 AM.
Details Summary This previously ran into an "unknown type" assertion when trying to emit a 'Zero' op for a pointer type. Emit a NullPtr op instead.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 30 2022, 9:17 AM Closed by commit rG2725e2c0323f: [clang][Interp] Fix ImplicitValueInitExprs for pointer types (authored by tbaeder). · Explain WhyJan 25 2023, 3:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 492049 clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/test/AST/Interp/literals.cpp
|