[all-commits] [llvm/llvm-project] d5c022: [clangd][ObjC] Support nullability annotations

David Goldman via All-commits all-commits at lists.llvm.org
Tue Oct 20 14:37:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d5c022d846999127352aa3c08c0f81418a942aab
      https://github.com/llvm/llvm-project/commit/d5c022d846999127352aa3c08c0f81418a942aab
  Author: David Goldman <davg at google.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M clang-tools-extra/clangd/Selection.cpp
    M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp
    M clang-tools-extra/clangd/unittests/SelectionTests.cpp

  Log Message:
  -----------
  [clangd][ObjC] Support nullability annotations

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 some test cases for this.

Differential Revision: https://reviews.llvm.org/D89579




More information about the All-commits mailing list