llvm-project/clang/tools/libclang
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
..
ARCMigrate.cpp
BuildSystem.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
CIndex.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
CIndexCXX.cpp
CIndexCodeCompletion.cpp Revert "[libclang] Expose completion result kind in `CXCompletionResult`" 2022-11-14 12:27:11 +04:00
CIndexDiagnostic.cpp
CIndexDiagnostic.h
CIndexHigh.cpp [clang] Use llvm::is_contained (NFC) 2021-10-13 20:41:55 -07:00
CIndexInclusionStack.cpp [clang] Update ModuleMap::getModuleMapFile* to use FileEntryRef 2022-10-05 13:12:43 -07:00
CIndexUSRs.cpp
CIndexer.cpp Use static_cast from SmallString to std::string (NFC) 2022-06-04 22:09:27 -07:00
CIndexer.h
CLog.h
CMakeLists.txt [clang] Do not override libclang.so's SOVERSION if CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION 2022-10-12 07:14:28 +02:00
CXComment.cpp
CXComment.h
CXCompilationDatabase.cpp
CXCursor.cpp [OPENMP]Initial support for error directive. 2022-11-02 14:25:28 -07:00
CXCursor.h
CXIndexDataConsumer.cpp [libclang] add supporting for indexing/visiting C++ concepts 2022-05-24 10:02:53 -07:00
CXIndexDataConsumer.h [libclang] add supporting for indexing/visiting C++ concepts 2022-05-24 10:02:53 -07:00
CXLoadedDiagnostic.cpp [clang] Remove redundant member initialization (NFC) 2022-01-02 10:20:23 -08:00
CXLoadedDiagnostic.h
CXSourceLocation.cpp
CXSourceLocation.h [libclang] Fix error handler in translateSourceLocation. 2021-06-18 13:43:14 +01:00
CXStoredDiagnostic.cpp
CXString.cpp [libclang] Fix conversion from `StringRef` to `CXString` 2022-08-31 17:39:45 +01:00
CXString.h
CXTranslationUnit.h
CXType.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
CXType.h [clang] Remove unused forward declarations (NFC) 2022-01-09 12:21:00 -08:00
CursorVisitor.h [libclang] add supporting for indexing/visiting C++ concepts 2022-05-24 10:02:53 -07:00
FatalErrorHandler.cpp [clang] FatalErrorHandler.cpp - add explicit <stdio.h> include 2021-10-05 17:03:17 +01:00
Index_Internal.h
Indexing.cpp [Frontend] Flip default of CreateInvocationOptions::ProbePrecompiled to false 2022-05-10 16:58:13 +02:00
Rewrite.cpp
libclang.map Add clang_CXXMethod_isMoveAssignmentOperator to libclang 2022-11-14 15:21:36 +01:00
linker-script-to-export-list.py SONAME introduce option CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION 2022-08-25 08:36:01 +02:00