[clang][Interp] Implement bitwise Or operations
authorTimm Bäder <tbaeder@redhat.com>
Thu, 6 Oct 2022 13:13:11 +0000 (15:13 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Fri, 14 Oct 2022 12:15:08 +0000 (14:15 +0200)
commitce4d5ae9dcf64deade70f305b8d7ab8d0dc80102
tree6e4cc55651f4ad665e500604cfce8c63b63f9e7a
parent62a58050ba0afad5c1ca59195f10c6fdc0e0feaa
[clang][Interp] Implement bitwise Or operations

Analogous to the bitAnd implementation, do the same for bitwise or.

Differential Revision: https://reviews.llvm.org/D135361
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/Integral.h
clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/Opcodes.td
clang/test/AST/Interp/literals.cpp