]> granicus.if.org Git - clang/commit
[Sema] Fix for build on some iOS programs.
authorLeonard Chan <leonardchan@google.com>
Mon, 20 May 2019 22:42:19 +0000 (22:42 +0000)
committerLeonard Chan <leonardchan@google.com>
Mon, 20 May 2019 22:42:19 +0000 (22:42 +0000)
commitc0a4f459e50521676bead07a7b868a82e2f0fc55
tree1b7c6765b8d03ae1e2568006eeecb949098dcfe9
parent1d083f849b0e7fade414f89bb871b73a1bfefa3a
[Sema] Fix for build on some iOS programs.

Nullability attributes weren't being stripped for AttributedTypes that
were wrapped in a MacroQualifiedType. This fix adds a check for this
type and a test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361205 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Type.cpp
test/SemaObjC/nullability_macro.m [new file with mode: 0644]