[all-commits] [llvm/llvm-project] 3c700c: [BOLT] Use std::optional instead of None in commen...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Dec 10 16:57:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c700cf754dbeb5f1f7c1e03e1f04ed716f7d9dc
      https://github.com/llvm/llvm-project/commit/3c700cf754dbeb5f1f7c1e03e1f04ed716f7d9dc
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Profile/BoltAddressTranslation.h
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/include/bolt/Utils/Utils.h

  Log Message:
  -----------
  [BOLT] Use std::optional instead of None in comments (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716




More information about the All-commits mailing list