Changeset View
Changeset View
Standalone View
Standalone View
src/checkmanager.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 99 | RegisteredCheck::List checksForCommaSeparatedString(const std::string &str, | |||
---|---|---|---|---|---|
100 | std::vector<std::string> &userDisabledChecks) const; | 100 | std::vector<std::string> &userDisabledChecks) const; | ||
101 | RegisteredFixIt::List availableFixIts(const std::string &checkName) const; | 101 | RegisteredFixIt::List availableFixIts(const std::string &checkName) const; | ||
102 | 102 | | |||
103 | 103 | | |||
104 | /** | 104 | /** | ||
105 | * Returns all the requested checks. | 105 | * Returns all the requested checks. | ||
106 | * This is a union of the requested checks via env variable and via arguments passed to compiler | 106 | * This is a union of the requested checks via env variable and via arguments passed to compiler | ||
107 | */ | 107 | */ | ||
108 | RegisteredCheck::List requestedChecks(const ClazyContext *context, std::vector<std::string> &args); | 108 | RegisteredCheck::List requestedChecks(std::vector<std::string> &args, bool qt4Compat); | ||
109 | std::vector<std::pair<CheckBase*, RegisteredCheck>> createChecks(const RegisteredCheck::List &requestedChecks, ClazyContext *context); | 109 | std::vector<std::pair<CheckBase*, RegisteredCheck>> createChecks(const RegisteredCheck::List &requestedChecks, ClazyContext *context); | ||
110 | 110 | | |||
111 | static void removeChecksFromList(RegisteredCheck::List &list, std::vector<std::string> &checkNames); | 111 | static void removeChecksFromList(RegisteredCheck::List &list, std::vector<std::string> &checkNames); | ||
112 | 112 | | |||
113 | private: | 113 | private: | ||
114 | CheckManager(); | 114 | CheckManager(); | ||
115 | static std::mutex m_lock; | 115 | static std::mutex m_lock; | ||
116 | 116 | | |||
Show All 13 Lines |