Just ignore it. As part of this, move the Ret and RetVoid implementation to Interp.h, so they can be shared with InterpBuiltin.cpp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM; I verified that constant expression evaluation ignores failed assumptions: http://eel.is/c++draft/expr.const#5.8 so this is in line with the C++2b feature.