[PATCH] D38327: [Sema] Put nullability fix-it after the end of the pointer.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 12:33:43 PDT 2017


vsapsai created this revision.

Fixes nullability fix-it for `id<SomeProtocol>`. With this change
nullability specifier is inserted after ">" instead of between
"id" and "<".

rdar://problem/34260995


https://reviews.llvm.org/D38327

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaType.cpp
  clang/test/FixIt/Inputs/nullability-objc.h
  clang/test/FixIt/nullability.mm
  clang/test/SemaObjCXX/Inputs/nullability-consistency-2.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38327.116861.patch
Type: text/x-patch
Size: 10479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170927/417ab36c/attachment.bin>


More information about the cfe-commits mailing list