Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DIncludeFixer.cpp175 if (auto ToInclude = Inserted(Sym, Inc)) { in fixesForSymbols() local
176 if (ToInclude->second) { in fixesForSymbols()
177 auto I = InsertedHeaders.try_emplace(ToInclude->first); in fixesForSymbols()
180 if (auto Edit = Inserter->insert(ToInclude->first)) in fixesForSymbols()
183 ToInclude->first, Sym.Scope, Sym.Name)), in fixesForSymbols()
188 File, ToInclude.takeError()); in fixesForSymbols()
DCodeComplete.cpp356 if (auto ToInclude = Inserted(Inc)) { in CodeCompletionBuilder() local
358 Include.Header = ToInclude->first; in CodeCompletionBuilder()
359 if (ToInclude->second && ShouldInsert) in CodeCompletionBuilder()
360 Include.Insertion = Includes.insert(ToInclude->first); in CodeCompletionBuilder()
366 ToInclude.takeError()); in CodeCompletionBuilder()