diff options
author | Sergio Martins <iamsergio@gmail.com> | 2017-12-18 18:33:43 +0000 |
---|---|---|
committer | Sergio Martins <iamsergio@gmail.com> | 2017-12-18 18:33:43 +0000 |
commit | bc639f26f870f544d4a1aa1e7e0d88b6efd43960 (patch) | |
tree | bc7f6e318a2ae1fbb49d6a6b99c07c034f2c6607 /src/SuppressionManager.cpp | |
parent | 9f2d7da70dc43da6ce17f707dada0d23b67ce14f (diff) |
Rename clazy_std namespace to clazy
Diffstat (limited to 'src/SuppressionManager.cpp')
-rw-r--r-- | src/SuppressionManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SuppressionManager.cpp b/src/SuppressionManager.cpp index eb023ddd..1d288836 100644 --- a/src/SuppressionManager.cpp +++ b/src/SuppressionManager.cpp @@ -102,7 +102,7 @@ void SuppressionManager::parseFile(FileID id, const SourceManager &sm, const cla if (token.getKind() == tok::comment) { std::string comment = Lexer::getSpelling(token, sm, lo); - if (clazy_std::contains(comment, "clazy:skip")) { + if (clazy::contains(comment, "clazy:skip")) { suppressions.skipEntireFile = true; return; } @@ -110,7 +110,7 @@ void SuppressionManager::parseFile(FileID id, const SourceManager &sm, const cla static regex rx(R"(clazy:excludeall=(.*?)(\s|$))"); smatch match; if (regex_search(comment, match, rx) && match.size() > 1) { - vector<string> checks = clazy_std::splitString(match[1], ','); + vector<string> checks = clazy::splitString(match[1], ','); suppressions.checksToSkip.insert(checks.cbegin(), checks.cend()); } @@ -123,7 +123,7 @@ void SuppressionManager::parseFile(FileID id, const SourceManager &sm, const cla static regex rx2(R"(clazy:exclude=(.*?)(\s|$))"); if (regex_search(comment, match, rx2) && match.size() > 1) { - vector<string> checks = clazy_std::splitString(match[1], ','); + vector<string> checks = clazy::splitString(match[1], ','); for (const string &checkName : checks) { suppressions.checksToSkipByLine.insert(LineAndCheckName(lineNumber, checkName)); |