mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-31 08:57:58 +00:00
Address results of PVS-Studio static analysis
Couple are left un-addressed, see #958 for details.
This commit is contained in:
parent
2a586437e8
commit
87a66b8479
24 changed files with 21335 additions and 38 deletions
|
@ -20,14 +20,14 @@ namespace Catch {
|
|||
|
||||
class TestSpecParser {
|
||||
enum Mode{ None, Name, QuotedName, Tag, EscapedName };
|
||||
Mode m_mode;
|
||||
bool m_exclusion;
|
||||
std::size_t m_start, m_pos;
|
||||
Mode m_mode = None;
|
||||
bool m_exclusion = false;
|
||||
std::size_t m_start = std::string::npos, m_pos = 0;
|
||||
std::string m_arg;
|
||||
std::vector<std::size_t> m_escapeChars;
|
||||
TestSpec::Filter m_currentFilter;
|
||||
TestSpec m_testSpec;
|
||||
ITagAliasRegistry const* m_tagAliases;
|
||||
ITagAliasRegistry const* m_tagAliases = nullptr;
|
||||
|
||||
public:
|
||||
TestSpecParser( ITagAliasRegistry const& tagAliases );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue