Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h33 : Original(std::move(Contents)), DepDirectives(nullptr) {} in CachedFileContents()
43 std::atomic<const std::optional<DependencyDirectivesTy> *> DepDirectives; member
45 ~CachedFileContents() { delete DepDirectives.load(); } in ~CachedFileContents()
97 if (auto *Directives = Contents->DepDirectives.load()) { in getDirectiveTokens()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp55 if (Contents->DepDirectives.load()) in ensureDirectiveTokensArePopulated()
61 if (Contents->DepDirectives.load()) in ensureDirectiveTokensArePopulated()
72 Contents->DepDirectives.store(new std::optional<DependencyDirectivesTy>()); in ensureDirectiveTokensArePopulated()
80 Contents->DepDirectives.store( in ensureDirectiveTokensArePopulated()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp3204 if (NextDepDirectiveTokenIndex == DepDirectives.front().Tokens.size()) in isNextPPTokenLParen()
3206 return DepDirectives.front().Tokens[NextDepDirectiveTokenIndex].is( in isNextPPTokenLParen()
4519 while (NextDepDirectiveTokenIndex == DepDirectives.front().Tokens.size()) { in LexDependencyDirectiveToken()
4520 if (DepDirectives.front().Kind == pp_eof) in LexDependencyDirectiveToken()
4522 if (DepDirectives.front().Kind == tokens_present_before_eof) in LexDependencyDirectiveToken()
4525 DepDirectives = DepDirectives.drop_front(); in LexDependencyDirectiveToken()
4529 DepDirectives.front().Tokens[NextDepDirectiveTokenIndex++]; in LexDependencyDirectiveToken()
4543 DepDirectives.front().Tokens[NextDepDirectiveTokenIndex]; in LexDependencyDirectiveToken()
4573 assert(DepDirectives.front().Tokens[NextDepDirectiveTokenIndex].is( in LexDependencyDirectiveToken()
4594 DepDirectives = DepDirectives.drop_front(); in LexDependencyDirectiveTokenWhileSkipping()
[all …]
H A DPPLexerChange.cpp100 DepDirectives = in EnterSourceFile() local
102 TheLexer->DepDirectives = *DepDirectives; in EnterSourceFile()