[all-commits] [llvm/llvm-project] a2da7d: [clang][Interp] Ignore LValueToRValue casts before...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Fri Feb 2 00:00:34 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2da7d06c7e1ec75812ff8ced29541d4af3668c9
https://github.com/llvm/llvm-project/commit/a2da7d06c7e1ec75812ff8ced29541d4af3668c9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-02 (Fri, 02 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Ignore LValueToRValue casts before doing the load
If the SubExpr results in an invalid pointer, we will otherwise
reject the constant expression.
More information about the All-commits
mailing list