Home
last modified time | relevance | path

Searched refs:DepDirectives (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h34 : Original(std::move(Contents)), DepDirectives(nullptr) {} in CachedFileContents()
44 std::atomic<const std::optional<DependencyDirectivesTy> *> DepDirectives; member
46 ~CachedFileContents() { delete DepDirectives.load(); } in ~CachedFileContents()
98 if (auto *Directives = Contents->DepDirectives.load()) { in getDirectiveTokens()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp54 if (Contents->DepDirectives.load()) in ensureDirectiveTokensArePopulated()
60 if (Contents->DepDirectives.load()) in ensureDirectiveTokensArePopulated()
71 Contents->DepDirectives.store(new std::optional<DependencyDirectivesTy>()); in ensureDirectiveTokensArePopulated()
79 Contents->DepDirectives.store( in ensureDirectiveTokensArePopulated()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h154 ArrayRef<dependency_directives_scan::Directive> DepDirectives; variable
215 bool isDependencyDirectivesLexer() const { return !DepDirectives.empty(); } in isDependencyDirectivesLexer()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp3207 if (NextDepDirectiveTokenIndex == DepDirectives.front().Tokens.size()) in peekNextPPToken()
3211 DepDirectives.front().Tokens[NextDepDirectiveTokenIndex], Result); in peekNextPPToken()
4546 while (NextDepDirectiveTokenIndex == DepDirectives.front().Tokens.size()) { in LexDependencyDirectiveToken()
4547 if (DepDirectives.front().Kind == pp_eof) in LexDependencyDirectiveToken()
4549 if (DepDirectives.front().Kind == tokens_present_before_eof) in LexDependencyDirectiveToken()
4552 DepDirectives = DepDirectives.drop_front(); in LexDependencyDirectiveToken()
4556 DepDirectives.front().Tokens[NextDepDirectiveTokenIndex++]; in LexDependencyDirectiveToken()
4570 DepDirectives.front().Tokens[NextDepDirectiveTokenIndex]; in LexDependencyDirectiveToken()
4603 assert(DepDirectives.front().Tokens[NextDepDirectiveTokenIndex].is( in LexDependencyDirectiveToken()
4624 DepDirectives = DepDirectives.drop_front(); in LexDependencyDirectiveTokenWhileSkipping()
[all …]
H A DPPLexerChange.cpp98 TheLexer->DepDirectives = *MaybeDepDirectives; in EnterSourceFile()