[all-commits] [llvm/llvm-project] 776664: [clang][Interp] PointerToBoolean casts
Timm Bäder via All-commits
all-commits at lists.llvm.org
Mon Apr 24 23:08:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7766648c3aff43408b5d17214fc67c8521952558
https://github.com/llvm/llvm-project/commit/7766648c3aff43408b5d17214fc67c8521952558
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] PointerToBoolean casts
Just emit e != nullptr for these.
Differential Revision: https://reviews.llvm.org/D148981
More information about the All-commits
mailing list