Files
clang-p2996/clang/test/AST
Timm Bäder 710749f786 [clang][Interp] Optionally cast comparison result to non-bool
Our comparison opcodes always produce a Boolean value and push it on the
stack. However, the result of such a comparison in C is int, so the
later code expects an integer value on the stack.

Work around this problem by casting the boolean value to int in those
cases. This is not ideal for C however. The comparison is usually
wrapped in a IntegerToBool cast anyway.

Differential Revision: https://reviews.llvm.org/D149645
2023-06-01 10:36:33 +02:00
..
2023-01-08 10:35:26 +01:00
2023-02-03 13:47:13 +01:00