llvm-project/clang/lib/Parse
Kazu Hirata 5891420e68 [clang] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

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
2022-12-03 11:54:46 -08:00
..
CMakeLists.txt [HLSL] Add Semantic syntax, and SV_GroupIndex 2022-04-14 10:21:58 -05:00
ParseAST.cpp [C++] [Modules] Generate the initializer for modules if we compile a 2022-09-19 11:30:34 +08:00
ParseCXXInlineMethods.cpp Revert "Implement CWG2631" 2022-11-30 16:03:05 +01:00
ParseDecl.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseDeclCXX.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseExpr.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseExprCXX.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseHLSL.cpp parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
ParseInit.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseObjc.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseOpenMP.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParsePragma.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseStmt.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseStmtAsm.cpp [clang] Fix bugprone argument comments (NFC) 2022-01-09 00:19:49 -08:00
ParseTemplate.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ParseTentative.cpp [clang-repl] Support statements on global scope in incremental mode. 2022-12-03 07:18:07 +00:00
Parser.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00