summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2019-09-07 00:34:47 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2019-09-07 00:34:47 +0000
commit99f9f61da704f0d56d600bf388f24789ce99aa7c (patch)
tree5e642dad43564fd212ab171b15624f56f1186a20 /lib/Frontend/CompilerInvocation.cpp
parentad203f89e5e8cd0c764ac490a8848c65651485cd (diff)
downloadclang-99f9f61da704f0d56d600bf388f24789ce99aa7c.tar.gz
[Sema][ObjC] Mark C union fields that have non-trivial ObjC ownership
qualifications as unavailable if the union is declared in a system header r365985 stopped marking those fields as unavailable, which caused the union's NonTrivialToPrimitive* bits to be set to true. This patch restores the behavior prior to r365985, except that users can explicitly specify the ownership qualification of the field to instruct the compiler not to mark it as unavailable. rdar://problem/53420753 Differential Revision: https://reviews.llvm.org/D65256 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions