This only happens in error cases as far as I know, e.g. the attached test case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D136831
[clang][Interp] Protect Record creation against infinite recusion ClosedPublic Authored by tbaeder on Oct 27 2022, 3:09 AM.
Details Summary This only happens in error cases as far as I know, e.g. the attached test case.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 27 2022, 6:39 AM tbaeder added a child revision: D134859: [clang][Interp] Implement basic support for floating point values.Oct 28 2022, 8:38 AM This revision was landed with ongoing or failed builds.Nov 10 2022, 11:38 PM Closed by commit rG99d3ead44cfb: [clang][Interp] Protect Record creation against infinite recursion (authored by tbaeder). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 474670 clang/lib/AST/Interp/ByteCodeStmtGen.cpp
clang/lib/AST/Interp/Program.h
clang/lib/AST/Interp/Program.cpp
clang/test/AST/Interp/records.cpp
|
How about static constexpr B* bp=nullptr;