[all-commits] [llvm/llvm-project] 37c6a2: [MemProf] Fix buildbot error due to hasValue depre...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Thu Sep 22 13:31:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37c6a25e9ab230e5e21fa34e246d9fec55275df0
      https://github.com/llvm/llvm-project/commit/37c6a25e9ab230e5e21fa34e246d9fec55275df0
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M llvm/lib/Analysis/MemoryBuiltins.cpp

  Log Message:
  -----------
  [MemProf] Fix buildbot error due to hasValue deprecation warning

Use has_value instead of hasValue to address a deprecation warning from
a212d8da94d08e229aa8d65283e4b116310bba10. E.g.:

https://lab.llvm.org/buildbot/#/builders/57/builds/22166/steps/5/logs/stdio




More information about the All-commits mailing list