Lines Matching refs:line
44 string CLParser::FilterShowIncludes(const string& line,
47 const char* in = line.c_str();
48 const char* end = in + line.size();
55 return line.substr(in - line.c_str());
69 bool CLParser::FilterInputFilename(string line) {
70 transform(line.begin(), line.end(), line.begin(), ToLowerASCII);
72 return EndsWith(line, ".c") ||
73 EndsWith(line, ".cc") ||
74 EndsWith(line, ".cxx") ||
75 EndsWith(line, ".cpp") ||
76 EndsWith(line, ".c++");
96 string line = output.substr(start, end - start);
98 string include = FilterShowIncludes(line, deps_prefix);
113 } else if (!seen_show_includes && FilterInputFilename(line)) {
118 filtered_output->append(line);