[all-commits] [llvm/llvm-project] 876cbf: [clang][Interp] Properly abort on reads from non-c...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Thu Aug 8 00:36:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 876cbf9a127b0a18374dcf91c969c7ba152e048c
https://github.com/llvm/llvm-project/commit/876cbf9a127b0a18374dcf91c969c7ba152e048c
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-08 (Thu, 08 Aug 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/bitfields.cpp
Log Message:
-----------
[clang][Interp] Properly abort on reads from non-const variables (#102426)
We need to return false here in any case. Use isConstant() to capure the
weird OpenCL cases.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list