Home
last modified time | relevance | path

Searched refs:ToInclude (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DIncludeFixer.cpp320 if (auto ToInclude = Inserted(Sym, Inc)) { in fixesForSymbols() local
321 if (ToInclude->second) { in fixesForSymbols()
322 if (!InsertedHeaders.try_emplace(ToInclude->first).second) in fixesForSymbols()
325 insertHeader(ToInclude->first, (Sym.Scope + Sym.Name).str())) in fixesForSymbols()
330 File, ToInclude.takeError()); in fixesForSymbols()
H A DCodeComplete.cpp381 if (auto ToInclude = Inserted(Inc)) { in CodeCompletionBuilder() local
383 Include.Header = ToInclude->first; in CodeCompletionBuilder()
384 if (ToInclude->second && ShouldInsert) in CodeCompletionBuilder()
385 Include.Insertion = Includes.insert(ToInclude->first); in CodeCompletionBuilder()
391 ToInclude.takeError()); in CodeCompletionBuilder()