[all-commits] [llvm/llvm-project] cc6d3f: [M68k] Fix MSVC llvm::Optional<> deprecation warnings

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Aug 14 10:55:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc6d3f07f444385c76430ceaed00610a4c058767
      https://github.com/llvm/llvm-project/commit/cc6d3f07f444385c76430ceaed00610a4c058767
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-14 (Sun, 14 Aug 2022)

  Changed paths:
    M llvm/lib/Target/M68k/M68kMCInstLower.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp

  Log Message:
  -----------
  [M68k] Fix MSVC llvm::Optional<> deprecation warnings

Use has_value()/value() instead of hasValue()/getValue()




More information about the All-commits mailing list