[clang] Use std::nullopt instead of None in comments (NFC)
authorKazu Hirata <kazu@google.com>
Mon, 5 Dec 2022 04:31:05 +0000 (20:31 -0800)
committerKazu Hirata <kazu@google.com>
Mon, 5 Dec 2022 04:31:05 +0000 (20:31 -0800)
commit22731dbd75a9c3dd89ec08e2e86d10343609f58c
tree4ae7ebfa150eaac35c19a0ed6d5c1e11d48b0814
parent3dfacc0a56e9d5718f51b1d3ce63070e79fc2608
[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
17 files changed:
clang/include/clang/APINotes/Types.h
clang/include/clang/AST/CharUnits.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
clang/include/clang/Analysis/RetainSummaryManager.h
clang/include/clang/Basic/DarwinSDKInfo.h
clang/include/clang/Basic/TargetID.h
clang/include/clang/Frontend/CommandLineSourceLoc.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
clang/include/clang/Tooling/Syntax/Tokens.h
clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
clang/lib/Tooling/Transformer/Parsing.cpp