[PATCH] D65256: [Sema][ObjC] Mark C union fields that have non-trivial ObjC ownership qualifications as unavailable if the union is declared in a system header
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 20:02:33 PDT 2019
ahatanak updated this revision to Diff 211663.
ahatanak marked an inline comment as done.
ahatanak added a comment.
Check that the attributed type is an ObjC qualified type. Do not diagnose fields that are unavailable.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65256/new/
https://reviews.llvm.org/D65256
Files:
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
test/SemaObjC/Inputs/non-trivial-c-union.h
test/SemaObjC/non-trivial-c-union.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65256.211663.patch
Type: text/x-patch
Size: 7938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190725/0952be19/attachment-0001.bin>
More information about the cfe-commits
mailing list