[clang-tidy] Access static member through qualified-id
Found readability-static-accessed-through-instance Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Paul Beckingham
parent
37b641259c
commit
6cd15235be
@@ -427,7 +427,7 @@ void CLI2::lexArguments ()
|
||||
{
|
||||
Lexer::dequote (word);
|
||||
A2 unknown (word, Lexer::Type::word);
|
||||
if (lex.wasQuoted (_original_args[i].attribute ("raw")))
|
||||
if (Lexer::wasQuoted (_original_args[i].attribute ("raw")))
|
||||
unknown.tag ("QUOTED");
|
||||
|
||||
if (_original_args[i].hasTag ("ORIGINAL"))
|
||||
@@ -442,7 +442,7 @@ void CLI2::lexArguments ()
|
||||
A2 unknown (_original_args[i].attribute ("raw"), Lexer::Type::word);
|
||||
unknown.tag ("UNKNOWN");
|
||||
|
||||
if (lex.wasQuoted (_original_args[i].attribute ("raw")))
|
||||
if (Lexer::wasQuoted (_original_args[i].attribute ("raw")))
|
||||
unknown.tag ("QUOTED");
|
||||
|
||||
if (_original_args[i].hasTag ("ORIGINAL"))
|
||||
|
||||
Reference in New Issue
Block a user