[PATCH] D89579: [clangd][ObjC] Support nullability annotations
David Goldman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 16 11:40:08 PDT 2020
dgoldman created this revision.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman.
Herald added a project: clang.
dgoldman requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
Nullability annotations are implmented using attributes; previusly
clangd would skip over AttributedTypeLoc since their location
points to the attribute instead of the modified type.
Also add quite a few test cases for this.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89579
Files:
clang-tools-extra/clangd/Selection.cpp
clang-tools-extra/clangd/unittests/FindTargetTests.cpp
clang-tools-extra/clangd/unittests/HoverTests.cpp
clang-tools-extra/clangd/unittests/SelectionTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89579.298696.patch
Type: text/x-patch
Size: 5565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201016/d326010c/attachment.bin>
More information about the cfe-commits
mailing list