diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-17 23:01:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-17 23:02:20 +0300 |
commit | f06a985adff1ec54e7a6c3753d8dfd077b5dd37d (patch) | |
tree | 3cdf5fbc98b47c51205e950110d9a6cd31096e23 /src/stringutils.h | |
parent | 1a8ab0421d23125830ba3aac4d8b7910c257be16 (diff) | |
download | mplint-f06a985adff1ec54e7a6c3753d8dfd077b5dd37d.tar.gz mplint-f06a985adff1ec54e7a6c3753d8dfd077b5dd37d.tar.bz2 mplint-f06a985adff1ec54e7a6c3753d8dfd077b5dd37d.tar.xz mplint-f06a985adff1ec54e7a6c3753d8dfd077b5dd37d.zip |
Add checks for A_DEFAULT_COPY / A_DELETE_COPY.
Also fix error in detection for final/notfinal classes.
Diffstat (limited to 'src/stringutils.h')
-rw-r--r-- | src/stringutils.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/stringutils.h b/src/stringutils.h index 3cbcdb9..c34b8c7 100644 --- a/src/stringutils.h +++ b/src/stringutils.h @@ -25,9 +25,11 @@ #include "stringvector.h" +#include <string> #include <sstream> #include <list> #include <set> +#include <regex> #include "localconsts.h" @@ -237,7 +239,12 @@ bool isDigit(const std::string &str); void secureChatCommand(std::string &str); -bool isMatch(const std::string &str, const std::string &exp); +bool isMatch(const std::string &str, + const std::string &exp); + +bool isMatch(const std::string &str, + const std::string &exp, + std::smatch &m); bool fileExists(const std::string &name); |