This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
18 lines
371 B
C++
18 lines
371 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <set>
|
|
|
|
class CTagKeeper {
|
|
public:
|
|
bool isTagged(const std::string& tag, bool strict = false);
|
|
bool applyTag(const std::string& tag, bool dynamic = false);
|
|
bool removeDynamicTags();
|
|
|
|
const auto& getTags() const {
|
|
return m_tags;
|
|
};
|
|
|
|
private:
|
|
std::set<std::string> m_tags;
|
|
};
|