[clang] Replace None with std::nullopt in comments (NFC)
authorKazu Hirata <kazu@google.com>
Fri, 5 May 2023 05:42:52 +0000 (22:42 -0700)
committerKazu Hirata <kazu@google.com>
Fri, 5 May 2023 05:42:52 +0000 (22:42 -0700)
commite955e4fba60e6d93b66903687c1dd7a34435d33c
treead2c3cec93126776de4dd39b91201db3d515d729
parenteed9932ab25c11fa32b4c1823e76be569c5bc960
[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
clang/include/clang/AST/ExprCXX.h
clang/include/clang/Basic/DiagnosticError.h
clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
clang/include/clang/Lex/Lexer.h
clang/lib/Analysis/UnsafeBufferUsage.cpp
clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
clang/unittests/Analysis/FlowSensitive/MultiVarConstantPropagationTest.cpp
clang/unittests/Analysis/FlowSensitive/SingleVarConstantPropagationTest.cpp