llvm-capstone/clang/lib/Lex
Jonas Hahnfeld 3116d60494 [Lex] Introduce Preprocessor::LexTokensUntilEOF()
This new method repeatedly calls Lex() until end of file is reached
and optionally fills a std::vector of Tokens. Use it in Clang's unit
tests to avoid quite some code duplication.

Differential Revision: https://reviews.llvm.org/D158413
2023-10-05 11:04:07 +02:00
..
CMakeLists.txt [Support] Move TargetParsers to new component 2022-12-20 11:05:50 +00:00
DependencyDirectivesScanner.cpp [clang][deps] Teach dep directive scanner about _Pragma 2023-05-09 10:05:12 -07:00
HeaderMap.cpp [Lex] Use llvm::byteswap instead of sys::getSwappedBytes (NFC) 2023-09-23 13:30:16 -07:00
HeaderSearch.cpp [clang] NFCI: Use FileEntryRef in ASTReader::GetHeaderFileInfo() 2023-09-29 09:07:13 -07:00
InitHeaderSearch.cpp [clang] NFCI: Use FileEntryRef in CreateHeaderMap() 2023-09-09 21:51:04 -07:00
Lexer.cpp [Clang] Handle non-ASCII after line splicing 2023-09-06 23:20:00 +02:00
LiteralSupport.cpp [C23] Rename C2x->C23 in diagnostics 2023-08-11 08:42:01 -04:00
MacroArgs.cpp Use CTAD on llvm::SaveAndRestore 2022-12-02 15:36:12 -08:00
MacroInfo.cpp [clang] Remove remaining uses of llvm::Optional (NFC) 2023-01-14 13:37:25 -08:00
ModuleMap.cpp [NFC] remove duplicate ModuleId alias (#67899) 2023-10-03 22:43:51 +08:00
PPCaching.cpp
PPCallbacks.cpp [Clang] Prepare for llvm::Optional becoming std::optional. 2022-12-20 00:41:40 +01:00
PPConditionalDirectiveRecord.cpp
PPDirectives.cpp [clang] NFCI: Use FileEntryRef in ASTReader::GetHeaderFileInfo() 2023-09-29 09:07:13 -07:00
PPExpressions.cpp [C23] Rename C2x->C23 in diagnostics 2023-08-11 08:42:01 -04:00
PPLexerChange.cpp [clang] NFCI: Use FileEntryRef in ASTReader::GetHeaderFileInfo() 2023-09-29 09:07:13 -07:00
PPMacroExpansion.cpp [clang] NFCI: Use FileEntryRef in ASTReader::GetHeaderFileInfo() 2023-09-29 09:07:13 -07:00
Pragma.cpp [clang] NFCI: Use FileEntryRef in ASTReader::GetHeaderFileInfo() 2023-09-29 09:07:13 -07:00
PreprocessingRecord.cpp [clang] Use DenseMapBase::lookup (NFC) 2023-06-13 00:24:43 -07:00
Preprocessor.cpp [Lex] Introduce Preprocessor::LexTokensUntilEOF() 2023-10-05 11:04:07 +02:00
PreprocessorLexer.cpp
ScratchBuffer.cpp
TokenConcatenation.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
TokenLexer.cpp [Lex] Fix a crash in updateConsecutiveMacroArgTokens. 2023-02-22 10:16:02 +01:00
UnicodeCharSets.h [Clang] Allow additional mathematical symbols in identifiers. 2022-12-16 10:20:49 +01:00