[all-commits] [llvm/llvm-project] 77c90c: [llvm] Use std::optional instead of Optional

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Dec 20 15:42:45 PST 2022


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

  Changed paths:
    M llvm/include/llvm/ADT/BreadthFirstIterator.h
    M llvm/include/llvm/ADT/DepthFirstIterator.h
    M llvm/include/llvm/ADT/None.h
    M llvm/include/llvm/BinaryFormat/Wasm.h
    M llvm/include/llvm/DWP/DWP.h
    M llvm/include/llvm/Debuginfod/Debuginfod.h
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/include/llvm/FuzzMutate/IRMutator.h
    M llvm/include/llvm/LineEditor/LineEditor.h
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/XRay/InstrumentationMap.h
    M llvm/lib/CodeGen/BasicBlockSections.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.h
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/Frontend/OpenMP/OMPContext.cpp
    M llvm/lib/FuzzMutate/IRMutator.cpp
    M llvm/lib/LineEditor/LineEditor.cpp
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/lib/XRay/InstrumentationMap.cpp
    M llvm/unittests/ADT/STLForwardCompatTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFExpressionCopyBytesTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h
    M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
    M llvm/unittests/IR/CFGBuilder.cpp
    M llvm/unittests/IR/CFGBuilder.h
    M llvm/unittests/IR/ConstantRangeTest.cpp
    M llvm/unittests/IR/DominatorTreeTest.cpp
    M llvm/unittests/IR/VPIntrinsicTest.cpp
    M llvm/unittests/Remarks/YAMLRemarksSerializerTest.cpp
    M llvm/unittests/Support/TypeTraitsTest.cpp
    M llvm/unittests/Testing/Support/TempPathTest.cpp
    M llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp

  Log Message:
  -----------
  [llvm] Use std::optional instead of Optional

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