[all-commits] [llvm/llvm-project] 0417cd: [Clang] FunctionEffects: Correctly navigate throug...
Doug Wyatt via All-commits
all-commits at lists.llvm.org
Fri Jan 17 07:11:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0417cd1b3e66c06966a3685f143df9228e2444b1
https://github.com/llvm/llvm-project/commit/0417cd1b3e66c06966a3685f143df9228e2444b1
Author: Doug Wyatt <doug at sonosphere.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/test/Sema/attr-nonblocking-constraints.cpp
Log Message:
-----------
[Clang] FunctionEffects: Correctly navigate through array types in FunctionEffectsRef::get(). (#121525)
`FunctionEffectsRef::get()` is supposed to strip off layers of
indirection (pointers/references, type sugar) to get to a
`FunctionProtoType` (if any) and return its effects (if any).
It wasn't correctly dealing with situations where the compiler
implicitly converts an array to a pointer.
---------
Co-authored-by: Doug Wyatt <dwyatt at apple.com>
Co-authored-by: Sirraide <aeternalmail at gmail.com>
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