Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/test/SemaCXX/constexpr-function-recovery-crash.cpp | ||
|---|---|---|
| 73 | this can be simplified further. struct X {} array[] = {undef()}; | |
| Paths 
 |  Differential  D112633  
[AST] fail rather than crash when const evaluating invalid c++ foreach ClosedPublic Authored by sammccall on Oct 27 2021, 9:50 AM. 
Details 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Oct 27 2021, 11:52 AM Closed by commit rGde7494a33a5c: [AST] fail rather than crash when const evaluating invalid c++ foreach (authored by sammccall).  ·  Explain WhyOct 27 2021, 1:45 PM This revision was automatically updated to reflect the committed changes. sammccall marked an inline comment as done. 
Revision Contents 
 
Diff 382776 clang/lib/AST/ExprConstant.cpp
 
 clang/test/SemaCXX/constexpr-function-recovery-crash.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
this can be simplified further.
struct X {} array[] = {undef()};