This adds a InterpStack::discard() version that takes a PrimType argument.
I'm not sure what to do if we actually want to use a value from the stack...
Paths
| Differential D139700
[clang][Inter] Implement __builtin_expect AbandonedPublic Authored by tbaeder on Dec 9 2022, 2:35 AM.
Details
Summary This adds a InterpStack::discard() version that takes a PrimType argument. I'm not sure what to do if we actually want to use a value from the stack...
Diff Detail
Revision Contents
Diff 481581 clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/InterpBuiltin.cpp
clang/lib/AST/Interp/InterpStack.h
clang/lib/AST/Interp/InterpState.h
clang/test/AST/Interp/builtins.cpp
|