llvm-project/clang/lib/Lex
Argyrios Kyrtzidis aa484c90cf [Lex/DependencyDirectivesScanner] Keep track of the presence of tokens between the last scanned directive and EOF
Directive `dependency_directives_scan::tokens_present_before_eof` is introduced to indicate there were tokens present before
the last scanned dependency directive and EOF.
This is useful to ensure we correctly identify the macro guards when lexing using the dependency directives.

Differential Revision: https://reviews.llvm.org/D133357
2022-09-07 10:31:29 -07: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 [Lex/DependencyDirectivesScanner] Keep track of the presence of tokens between the last scanned directive and EOF 2022-09-07 10:31:29 -07:00
HeaderMap.cpp [clang][lex] Remark on search path usage 2021-10-12 12:20:55 +02:00
HeaderSearch.cpp [clang][modules] Track affecting modules 2022-08-24 11:09:50 -07:00
InitHeaderSearch.cpp [Clang][Driver] Refine/refactor DriverKit support 2022-08-26 16:06:24 -07:00
Lexer.cpp [Lex/DependencyDirectivesScanner] Keep track of the presence of tokens between the last scanned directive and EOF 2022-09-07 10:31:29 -07:00
LiteralSupport.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
MacroArgs.cpp
MacroInfo.cpp [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
ModuleMap.cpp [clang][modules] Don't hard code [no_undeclared_includes] for the Darwin module 2022-08-30 14:57:15 -07: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 Enforce module decl-use restrictions and private header restrictions in textual headers 2022-09-06 17:12:57 -07:00
PPExpressions.cpp [clang][preprocessor] Fix unsigned-ness of utf8 char literals 2022-05-13 07:57:10 +02:00
PPLexerChange.cpp [Lex] Introduce `PPCallbacks::LexedFileChanged()` preprocessor callback 2022-07-01 14:22:31 -07:00
PPMacroExpansion.cpp [clang] Add __is_target_variant_{os,environment} builtins 2022-08-26 18:20:06 -04:00
Pragma.cpp [NFC][Clang][Pragma] Remove unused variables 2022-04-24 14:50:59 +08:00
PreprocessingRecord.cpp [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
Preprocessor.cpp Diagnosing the Future Keywords 2022-08-26 09:20:05 -04:00
PreprocessorLexer.cpp [clang][lex] NFC: Use FileEntryRef in PreprocessorLexer::getFileEntry() 2022-04-15 15:16:17 +02:00
ScratchBuffer.cpp SourceManager: Make LastLineNoContentCache and ContentCache::SourceLineCache mutable, NFC 2020-10-23 13:22:47 -04:00
TokenConcatenation.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
TokenLexer.cpp [clang] Don't use Optional::hasValue (NFC) 2022-06-20 10:51:34 -07:00
UnicodeCharSets.h Support Unicode 14 identifiers 2021-09-16 13:21:27 -04:00