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

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


  Branch: refs/heads/users/mizvekov/small-optional
  Home:   https://github.com/llvm/llvm-project
  Commit: 25c025d255514708e8db8e215575eb5c55607f9b
      https://github.com/llvm/llvm-project/commit/25c025d255514708e8db8e215575eb5c55607f9b
  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: 379043b2cc2bc5fdeaf672f59347e96c30c6a0b7
      https://github.com/llvm/llvm-project/commit/379043b2cc2bc5fdeaf672f59347e96c30c6a0b7
  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/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/f1c85837a3f6...379043b2cc2b

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