[all-commits] [llvm/llvm-project] f744cc: [Basic] clean up MapEntryOptionalStorage and its d...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Oct 19 21:56:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f744cce89a14a29872e22f61303800643c7a5b7c
      https://github.com/llvm/llvm-project/commit/f744cce89a14a29872e22f61303800643c7a5b7c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-10-19 (Sun, 19 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/DirectoryEntry.h
    M clang/include/clang/Basic/FileEntry.h

  Log Message:
  -----------
  [Basic] clean up MapEntryOptionalStorage and its derived classes (NFC) (#164189)

This patch modernizes a couple of things:

- Use in-class member initializers in MapEntryOptionalStorage.

- Inherit constructors in OptionalStorage<clang::DirectoryEntryRef>
  and OptionalStorage<clang::FileEntryRef>.



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