[all-commits] [llvm/llvm-project] d34ebe: [clang] NFC: Refactor UnsignedOrNone into SmallOpt...

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


  Branch: refs/heads/users/mizvekov/small-optional
  Home:   https://github.com/llvm/llvm-project
  Commit: d34ebef3fe13687e8304abeefdff76cbf6d02a03
      https://github.com/llvm/llvm-project/commit/d34ebef3fe13687e8304abeefdff76cbf6d02a03
  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/SmallOptional.h
    R clang/include/clang/Basic/UnsignedOrNone.h

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

Also adds support for enums.


  Commit: 5fc2e06e0d829d3c255f1220152dceed0fc01df3
      https://github.com/llvm/llvm-project/commit/5fc2e06e0d829d3c255f1220152dceed0fc01df3
  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 SmallOptional


Compare: https://github.com/llvm/llvm-project/compare/d34ebef3fe13%5E...5fc2e06e0d82

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