| 7 | namespace ftg { |
| 8 | |
| 9 | class ArrayGroupFilter : public GroupFilter { |
| 10 | public: |
| 11 | static const std::string FilterName; |
| 12 | ArrayGroupFilter(std::unique_ptr<GroupFilter> NextFilter = nullptr); |
| 13 | |
| 14 | protected: |
| 15 | virtual void |
| 16 | check(std::map<unsigned, std::shared_ptr<Definition>> &DefMap) const override; |
| 17 | |
| 18 | private: |
| 19 | void applyArrayGroups( |
| 20 | const std::map<unsigned, std::shared_ptr<Definition>> &DefMap, |
| 21 | std::vector<std::set<unsigned>> &ArrayGroups) const; |
| 22 | std::vector<std::set<unsigned>> generateArrayGroups( |
| 23 | const std::map<unsigned, std::shared_ptr<Definition>> &DefMap) const; |
| 24 | void updateGroups(std::vector<std::set<unsigned>> &Result, |
| 25 | const std::set<unsigned> &Group) const; |
| 26 | }; |
| 27 | |
| 28 | } // namespace ftg |
| 29 |
nothing calls this directly
no outgoing calls
no test coverage detected