[all-commits] [llvm/llvm-project] 0f9f95: [NFC] Add optional include to Format.h

Evan Wilde via All-commits all-commits at lists.llvm.org
Sat Jul 8 21:12:29 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f9f95146a7fc6fa4f9bc3c1aa2a23386f521dac
  Author: Evan Wilde <etceterawilde at gmail.com>
  Date:   2023-07-08 (Sat, 08 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Support/Format.h

  Log Message:
  [NFC] Add optional include to Format.h

Format.h uses std::optional but doesn't include the optional header
resulting in a build failure due to a missing 'optional' type.

Reviewed By: compnerd, mib

Differential Revision: https://reviews.llvm.org/D154664

More information about the All-commits mailing list