[all-commits] [llvm/llvm-project] 22731d: [clang] Use std::nullopt instead of None in commen...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Dec 4 20:31:19 PST 2022


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

  Changed paths:
    M clang/include/clang/APINotes/Types.h
    M clang/include/clang/AST/CharUnits.h
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
    M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
    M clang/include/clang/Analysis/RetainSummaryManager.h
    M clang/include/clang/Basic/DarwinSDKInfo.h
    M clang/include/clang/Basic/TargetID.h
    M clang/include/clang/Frontend/CommandLineSourceLoc.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
    M clang/include/clang/Tooling/Syntax/Tokens.h
    M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
    M clang/lib/Tooling/Transformer/Parsing.cpp

  Log Message:
  -----------
  [clang] Use std::nullopt instead of None in comments (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