#ifndef ANALYZER_H_
#define ANALYZER_H_
-#include <list>
+#include <map>
#include <set>
#include <string>
#include <vector>
};
private:
- typedef std::vector<std::string> TableRow;
- typedef std::list<TableRow> Table;
+ using TableRow = std::vector<std::string>;
Builder &builder;
- Mode mode;
- Table table;
- unsigned max_depth;
- bool full_paths;
+ Mode mode = DEPS;
+ std::vector<TableRow> table;
+ unsigned max_depth = 0;
+ bool full_paths = false;
std::map<const Target *, std::set<Target *> > rdepends;
public: