[all-commits] [llvm/llvm-project] 379b77: [clang][Interp] Use pointee metadata size in isRoot()
Timm Baeder via All-commits
all-commits at lists.llvm.org
Sat May 11 11:20:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 379b77773cf653352f30f8c7cca393f4df9389be
https://github.com/llvm/llvm-project/commit/379b77773cf653352f30f8c7cca393f4df9389be
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.h
M clang/unittests/AST/Interp/Descriptor.cpp
Log Message:
-----------
[clang][Interp] Use pointee metadata size in isRoot()
Previously, isRoot() would return true for pointers with a base
of sizeof(InlineDescriptor), even if the actual metadata size of the
pointee was 0.
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