Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQueryDriverDatabase.cpp242 std::vector<std::string> ToAppend; in addSystemIncludes() local
245 ToAppend.push_back("-isystem"); in addSystemIncludes()
246 ToAppend.push_back(Include.str()); in addSystemIncludes()
248 if (!ToAppend.empty()) { in addSystemIncludes()
251 Cmd.CommandLine.insert(InsertAt, std::make_move_iterator(ToAppend.begin()), in addSystemIncludes()
252 std::make_move_iterator(ToAppend.end())); in addSystemIncludes()
H A DCompileCommands.cpp317 std::vector<std::string> ToAppend; in adjust() local
319 ToAppend.push_back(("-resource-dir=" + *ResourceDir)); in adjust()
324 ToAppend.push_back("-isysroot"); in adjust()
325 ToAppend.push_back(*Sysroot); in adjust()
328 if (!ToAppend.empty()) { in adjust()
329 Cmd.insert(llvm::find(Cmd, "--"), std::make_move_iterator(ToAppend.begin()), in adjust()
330 std::make_move_iterator(ToAppend.end())); in adjust()