30 std::string command, std::string language)
31 : command_{
std::move(command)}
32 , language_{
std::move(language)}
41 LOG_DBG(
"Executing query driver command: {}", cmd);
51 "Compiler driver {} did not report any system include paths "
56 LOG_DBG(
"Extracted the following paths from compiler driver: {}",
62 std::istringstream f(output);
65 while (std::getline(f, line)) {
68 target_ = line.substr(strlen(
"Target: "));
75 const std::string &output)
77 std::istringstream f(output);
80 bool in_include_paths_range{
false};
81 while (std::getline(f, line)) {
83 if (line ==
"#include <...> search starts here:") {
84 in_include_paths_range =
true;
87 if (line ==
"End of search list.") {
91 if (in_include_paths_range) {
97const std::vector<std::string> &