[all-commits] [llvm/llvm-project] 8c0246: [clang][Interp] Reject reinterpret_casts
Timm Baeder via All-commits
all-commits at lists.llvm.org
Wed Jul 26 00:59:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c0246c7f517a9b901224474f1a608d7e5193583
https://github.com/llvm/llvm-project/commit/8c0246c7f517a9b901224474f1a608d7e5193583
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/PrimType.h
M clang/test/AST/Interp/unsupported.cpp
Log Message:
-----------
[clang][Interp] Reject reinterpret_casts
Add a new InvalidCast op for this purpose and emit a diagnostic.
Differential Revision: https://reviews.llvm.org/D153276
More information about the All-commits
mailing list