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

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Dec 4 15:57:37 PST 2022


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

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/ExprCXX.h
    M clang/include/clang/AST/Stmt.h
    M clang/include/clang/ASTMatchers/Dynamic/VariantValue.h
    M clang/include/clang/Analysis/AnyCall.h
    M clang/include/clang/Analysis/MacroExpansionContext.h
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Basic/TargetID.h
    M clang/include/clang/Basic/TargetInfo.h
    M clang/include/clang/Lex/HeaderMap.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
    M clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
    M clang/include/clang/Tooling/Refactoring/ASTSelection.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Analysis/CalledOnceCheck.cpp
    M clang/lib/Analysis/MacroExpansionContext.cpp
    M clang/lib/Basic/DarwinSDKInfo.cpp
    M clang/lib/Basic/Targets/AMDGPU.h
    M clang/lib/Basic/Targets/NVPTX.h
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/DirectoryWatcher/DirectoryScanner.h
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
    M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
    M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
    M clang/test/Analysis/svalbuilder-rearrange-comparisons.cpp
    M clang/tools/clang-refactor/TestSupport.h

  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