llvm-project/clang/lib/Lex
Kazu Hirata 35b4fbb559 [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
2022-12-04 15:57:24 -08:00
..
CMakeLists.txt [Tooling/DependencyScanning] Rename refactorings towards transitioning dependency scanning to use pre-lexed preprocessor directive tokens 2022-05-26 12:49:51 -07:00
DependencyDirectivesScanner.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
HeaderMap.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
HeaderSearch.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 15:57:24 -08:00
InitHeaderSearch.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
Lexer.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
LiteralSupport.cpp Revert "Revert "[clang][Lex] Fix a crash on malformed string literals"" 2022-10-06 11:41:18 +02:00
MacroArgs.cpp Use CTAD on llvm::SaveAndRestore 2022-12-02 15:36:12 -08:00
MacroInfo.cpp Suppress warning on unused static data member. 2022-11-16 17:42:14 -08:00
ModuleMap.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
PPCaching.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
PPCallbacks.cpp
PPConditionalDirectiveRecord.cpp Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
PPDirectives.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 15:57:24 -08:00
PPExpressions.cpp Use CTAD on llvm::SaveAndRestore 2022-12-02 15:36:12 -08:00
PPLexerChange.cpp [Lex] Introduce `PPCallbacks::LexedFileChanged()` preprocessor callback 2022-07-01 14:22:31 -07:00
PPMacroExpansion.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
Pragma.cpp When we run out of source locations, try to produce useful information 2022-11-16 14:36:16 -08:00
PreprocessingRecord.cpp [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
Preprocessor.cpp [NFC] [Modules] Rename modules related things in Preprocessor and AffectingModules 2022-10-27 16:40:26 +08:00
PreprocessorLexer.cpp [clang][lex] NFC: Use FileEntryRef in PreprocessorLexer::getFileEntry() 2022-04-15 15:16:17 +02:00
ScratchBuffer.cpp
TokenConcatenation.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
TokenLexer.cpp [Lex] Bring back the magic number 50 in updateConsecutiveMacroArgTokens. 2022-10-26 12:03:21 +02:00
UnicodeCharSets.h Update Unicode to 15.0 2022-09-22 05:03:01 +02:00