[all-commits] [llvm/llvm-project] 9cd241: [clang] Add a new nullability annotation for swift...

Erik Pilkington via All-commits all-commits at lists.llvm.org
Mon Dec 7 14:24:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cd2413f1ca7a7f40132ea3c44f251851aa325c2
      https://github.com/llvm/llvm-project/commit/9cd2413f1ca7a7f40132ea3c44f251851aa325c2
  Author: Erik Pilkington <erik.pilkington at gmail.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M clang/include/clang-c/Index.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/Features.def
    M clang/include/clang/Basic/Specifiers.h
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Sema/Sema.h
    M clang/lib/APINotes/APINotesYAMLCompiler.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Basic/IdentifierTable.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseTentative.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprObjC.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/Index/nullability.c
    M clang/test/SemaObjC/nullability.m
    A clang/test/SemaObjC/nullable-result.m
    M clang/tools/c-index-test/c-index-test.c
    M clang/tools/libclang/CXType.cpp

  Log Message:
  -----------
  [clang] Add a new nullability annotation for swift async: _Nullable_result

_Nullable_result generally like _Nullable, except when being imported into a
swift async method. rdar://70106409

Differential revision: https://reviews.llvm.org/D92495


  Commit: 5a28e1d9e50eb0b866351b5ab3213678fd28374b
      https://github.com/llvm/llvm-project/commit/5a28e1d9e50eb0b866351b5ab3213678fd28374b
  Author: Erik Pilkington <erik.pilkington at gmail.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/SemaObjC/attr-swift-async.m

  Log Message:
  -----------
  [clang] Add support for attribute 'swift_async'

This attributes specifies how (or if) a given function or method will be
imported into a swift async method. rdar://70111252

Differential revision: https://reviews.llvm.org/D92742


Compare: https://github.com/llvm/llvm-project/compare/234d88ab5053...5a28e1d9e50e


More information about the All-commits mailing list