[all-commits] [llvm/llvm-project] cc4bfd: [Sema][ObjC] Allow conversions between pointers to...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Wed Aug 25 10:22:51 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc4bfd7f59d5a0024ada2a5c2a6f46d53290882b
https://github.com/llvm/llvm-project/commit/cc4bfd7f59d5a0024ada2a5c2a6f46d53290882b
Author: Akira Hatanaka <ahatanaka at apple.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M clang/lib/Sema/SemaExprObjC.cpp
M clang/test/SemaObjC/arc-type-conversion.m
Log Message:
-----------
[Sema][ObjC] Allow conversions between pointers to ObjC pointers and
pointers to structs
clang was just being conservative and trying to prevent users from
messing up the qualifier on the inner pointer type. Lifting this
restriction enables using some of the libc++ templates with ObjC pointer
arguments, which clang currently rejects.
rdar://79018677
Differential Revision: https://reviews.llvm.org/D107021
More information about the All-commits
mailing list