forked from OSchip/llvm-project
424733c12a
Modify the IfStmt node to suppoort constant evaluated expressions. Add a new ExpressionEvaluationContext::ImmediateFunctionContext to keep track of immediate function contexts. This proved easier/better/probably more efficient than walking the AST backward as it allows diagnosing nested if consteval statements. |
||
---|---|---|
.. | ||
Boolean.h | ||
ByteCodeEmitter.cpp | ||
ByteCodeEmitter.h | ||
ByteCodeExprGen.cpp | ||
ByteCodeExprGen.h | ||
ByteCodeGenError.cpp | ||
ByteCodeGenError.h | ||
ByteCodeStmtGen.cpp | ||
ByteCodeStmtGen.h | ||
Context.cpp | ||
Context.h | ||
Descriptor.cpp | ||
Descriptor.h | ||
Disasm.cpp | ||
EvalEmitter.cpp | ||
EvalEmitter.h | ||
Frame.cpp | ||
Frame.h | ||
Function.cpp | ||
Function.h | ||
Integral.h | ||
Interp.cpp | ||
Interp.h | ||
InterpBlock.cpp | ||
InterpBlock.h | ||
InterpFrame.cpp | ||
InterpFrame.h | ||
InterpStack.cpp | ||
InterpStack.h | ||
InterpState.cpp | ||
InterpState.h | ||
Opcode.h | ||
Opcodes.td | ||
Pointer.cpp | ||
Pointer.h | ||
PrimType.cpp | ||
PrimType.h | ||
Program.cpp | ||
Program.h | ||
Record.cpp | ||
Record.h | ||
Source.cpp | ||
Source.h | ||
State.cpp | ||
State.h |