[all-commits] [llvm/llvm-project] 17d8a8: [clang][Interp] Fix handling PointerToIntegral casts
Timm Baeder via All-commits
all-commits at lists.llvm.org
Fri Feb 16 05:32:22 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 17d8a84c32b7a3ecc3080c33fe2c780f029691a3
https://github.com/llvm/llvm-project/commit/17d8a84c32b7a3ecc3080c33fe2c780f029691a3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
Log Message:
-----------
[clang][Interp] Fix handling PointerToIntegral casts
We need to always emit the diagnostic, but still do the cast.
This is also what the current interpreter does.
More information about the All-commits
mailing list