Running astyle [ci skip]
This commit is contained in:
parent
2e8f0b99f0
commit
f89adef1c1
|
@ -518,7 +518,7 @@ static bool iscast(const Token *tok)
|
||||||
|
|
||||||
static const Token* findTypeEnd(const Token* tok)
|
static const Token* findTypeEnd(const Token* tok)
|
||||||
{
|
{
|
||||||
while(Token::Match(tok, "%name%|.|::|<|(|template|decltype|sizeof")) {
|
while (Token::Match(tok, "%name%|.|::|<|(|template|decltype|sizeof")) {
|
||||||
if (Token::Match(tok, "(|<"))
|
if (Token::Match(tok, "(|<"))
|
||||||
tok = tok->link();
|
tok = tok->link();
|
||||||
if (!tok)
|
if (!tok)
|
||||||
|
@ -543,7 +543,7 @@ static const Token * findLambdaEndScope(const Token *tok)
|
||||||
if (!Token::simpleMatch(tok, ")"))
|
if (!Token::simpleMatch(tok, ")"))
|
||||||
return nullptr;
|
return nullptr;
|
||||||
tok = tok->next();
|
tok = tok->next();
|
||||||
while(Token::Match(tok, "mutable|constexpr|constval|noexcept|.")) {
|
while (Token::Match(tok, "mutable|constexpr|constval|noexcept|.")) {
|
||||||
if (Token::simpleMatch(tok, "noexcept ("))
|
if (Token::simpleMatch(tok, "noexcept ("))
|
||||||
tok = tok->linkAt(1);
|
tok = tok->linkAt(1);
|
||||||
if (Token::simpleMatch(tok, ".")) {
|
if (Token::simpleMatch(tok, ".")) {
|
||||||
|
|
Loading…
Reference in New Issue