[all-commits] [llvm/llvm-project] 6463d8: [clang] NFC: Refactor UnsignedOrNone into Optional...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Mon Apr 13 10:25:01 PDT 2026


  Branch: refs/heads/users/mizvekov/small-optional
  Home:   https://github.com/llvm/llvm-project
  Commit: 6463d8df56b237a13e2a2eb5321278dccc4ab2ad
      https://github.com/llvm/llvm-project/commit/6463d8df56b237a13e2a2eb5321278dccc4ab2ad
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M clang/include/clang/AST/ASTConcept.h
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/Basic/Diagnostic.h
    A clang/include/clang/Basic/OptionalUnsigned.h
    R clang/include/clang/Basic/UnsignedOrNone.h

  Log Message:
  -----------
  [clang] NFC: Refactor UnsignedOrNone into OptionalUnsigned<T>

Also adds support for enums.


  Commit: f1c85837a3f6da2fd07c2517c9f8ebaaed96422b
      https://github.com/llvm/llvm-project/commit/f1c85837a3f6da2fd07c2517c9f8ebaaed96422b
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M clang/include/clang/APINotes/Types.h
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/TypeBase.h
    M clang/include/clang/Basic/Specifiers.h
    M clang/lib/APINotes/APINotesTypes.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaDeclObjC.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprObjC.cpp
    M clang/lib/Sema/SemaType.cpp

  Log Message:
  -----------
  Convert uses of std::optional<NullabilityKind> to OptionalUnsigned


Compare: https://github.com/llvm/llvm-project/compare/63848c16697b...f1c85837a3f6

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list