cmDefinitions: Cleanups and optimizations
In cmDefinitions:
- sort methods in source code by static or not static
- use
std::unordered_set<cm::string_view>instead ofstd::set<std::string>for duplications tests.
In cmDefinitions:
std::unordered_set<cm::string_view> instead of std::set<std::string>
for duplications tests.