Searched refs:file_lines (Results 1 – 1 of 1) sorted by relevance
267 static void mergeGuards(std::deque<std::string>& file_lines, GuardMap& guard_map) { in mergeGuards() argument295 auto nextCol = [&file_lines, ¤t_location, &nextLine]() { in mergeGuards()296 if (current_location.column == file_lines[current_location.line - 1].length()) { in mergeGuards()307 const std::string& line = file_lines[current_location.line - 1]; in mergeGuards()386 static void rewriteFile(const std::string& output_path, std::deque<std::string>& file_lines, in rewriteFile() argument400 file_lines[loc.end.line - 1].insert(loc.end.column, epilogue); in rewriteFile()401 file_lines[loc.start.line - 1].insert(loc.start.column - 1, prologue); in rewriteFile()407 writeFileLines(output_path, file_lines); in rewriteFile()413 std::unordered_map<std::string, std::deque<std::string>> file_lines; in preprocessHeaders() local465 file_lines[file_it.first] = readFileLines(file_it.first); in preprocessHeaders()[all …]