[all-commits] [llvm/llvm-project] e5ef6a: [Analysis] Use std::optional in MemoryBuiltins.cpp...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Dec 11 01:32:40 PST 2022


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

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryBuiltins.h
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [Analysis] Use std::optional in MemoryBuiltins.cpp (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