[all-commits] [llvm/llvm-project] 9cf441: [clang] Use std::optional instead of llvm::Optiona...

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Jan 2 15:55:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cf4419e2451febf09acdf28c7d52ebf436d3a7e
      https://github.com/llvm/llvm-project/commit/9cf4419e2451febf09acdf28c7d52ebf436d3a7e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-01-02 (Mon, 02 Jan 2023)

  Changed paths:
    M clang/include/clang/APINotes/Types.h
    M clang/include/clang/Basic/CLWarnings.h
    M clang/include/clang/Basic/CustomizableOptional.h
    M clang/include/clang/Basic/TargetID.h
    M clang/include/clang/Support/RISCVVIntrinsicUtils.h
    M clang/lib/Basic/CLWarnings.cpp
    M clang/lib/Basic/TargetID.cpp
    M clang/lib/DirectoryWatcher/DirectoryScanner.cpp
    M clang/lib/DirectoryWatcher/DirectoryScanner.h
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
    M clang/lib/Support/RISCVVIntrinsicUtils.cpp
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
    M clang/unittests/libclang/LibclangTest.cpp
    M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
    M clang/utils/TableGen/NeonEmitter.cpp
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [clang] Use std::optional instead of llvm::Optional (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