mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
tidy: "ue2::flat_set/map" -> "flat_set/map"
This commit is contained in:
committed by
Matthew Barr
parent
9cf66b6ac9
commit
33823d60d1
@@ -883,7 +883,7 @@ bool is_equal(const CastleProto &c1, const CastleProto &c2) {
|
||||
}
|
||||
|
||||
bool requiresDedupe(const CastleProto &proto,
|
||||
const ue2::flat_set<ReportID> &reports) {
|
||||
const flat_set<ReportID> &reports) {
|
||||
for (const auto &report : reports) {
|
||||
auto it = proto.report_map.find(report);
|
||||
if (it == end(proto.report_map)) {
|
||||
|
@@ -106,10 +106,10 @@ struct GoughSSAVarJoin;
|
||||
struct GoughSSAVar : noncopyable {
|
||||
GoughSSAVar(void) : seen(false), slot(INVALID_SLOT) {}
|
||||
virtual ~GoughSSAVar();
|
||||
const ue2::flat_set<GoughSSAVar *> &get_inputs() const {
|
||||
const flat_set<GoughSSAVar *> &get_inputs() const {
|
||||
return inputs;
|
||||
}
|
||||
const ue2::flat_set<GoughSSAVarWithInputs *> &get_outputs() const {
|
||||
const flat_set<GoughSSAVarWithInputs *> &get_outputs() const {
|
||||
return outputs;
|
||||
}
|
||||
virtual void replace_input(GoughSSAVar *old_v, GoughSSAVar *new_v) = 0;
|
||||
@@ -127,8 +127,8 @@ struct GoughSSAVar : noncopyable {
|
||||
clear_outputs();
|
||||
}
|
||||
protected:
|
||||
ue2::flat_set<GoughSSAVar *> inputs;
|
||||
ue2::flat_set<GoughSSAVarWithInputs *> outputs;
|
||||
flat_set<GoughSSAVar *> inputs;
|
||||
flat_set<GoughSSAVarWithInputs *> outputs;
|
||||
friend struct GoughSSAVarWithInputs;
|
||||
friend struct GoughSSAVarMin;
|
||||
friend struct GoughSSAVarJoin;
|
||||
@@ -184,16 +184,14 @@ struct GoughSSAVarJoin : public GoughSSAVarWithInputs {
|
||||
|
||||
void add_input(GoughSSAVar *v, GoughEdge prev);
|
||||
|
||||
const ue2::flat_set<GoughEdge> &get_edges_for_input(GoughSSAVar *input)
|
||||
const;
|
||||
const std::map<GoughSSAVar *, ue2::flat_set<GoughEdge> > &get_input_map()
|
||||
const;
|
||||
const flat_set<GoughEdge> &get_edges_for_input(GoughSSAVar *input) const;
|
||||
const std::map<GoughSSAVar *, flat_set<GoughEdge>> &get_input_map() const;
|
||||
|
||||
protected:
|
||||
void remove_input_raw(GoughSSAVar *v) override;
|
||||
|
||||
private:
|
||||
std::map<GoughSSAVar *, ue2::flat_set<GoughEdge>> input_map;
|
||||
std::map<GoughSSAVar *, flat_set<GoughEdge>> input_map;
|
||||
};
|
||||
|
||||
struct gough_accel_state_info {
|
||||
|
Reference in New Issue
Block a user