[all-commits] [llvm/llvm-project] e955e4: [clang] Replace None with std::nullopt in comments...

kazutakahirata via All-commits all-commits at lists.llvm.org
Thu May 4 22:43:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e955e4fba60e6d93b66903687c1dd7a34435d33c
      https://github.com/llvm/llvm-project/commit/e955e4fba60e6d93b66903687c1dd7a34435d33c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M clang/include/clang/AST/ExprCXX.h
    M clang/include/clang/Basic/DiagnosticError.h
    M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
    M clang/include/clang/Lex/Lexer.h
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
    M clang/unittests/Analysis/FlowSensitive/MultiVarConstantPropagationTest.cpp
    M clang/unittests/Analysis/FlowSensitive/SingleVarConstantPropagationTest.cpp

  Log Message:
  -----------
  [clang] Replace None with std::nullopt 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