mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Fix whitespace in ProfileFunc::PreExpr()
This commit is contained in:
parent
ccd27a3dfa
commit
dc9e7f6d03
1 changed files with 12 additions and 12 deletions
|
@ -340,24 +340,24 @@ TraversalCode ProfileFunc::PreExpr(const Expr* e)
|
||||||
return TC_ABORTSTMT;
|
return TC_ABORTSTMT;
|
||||||
}
|
}
|
||||||
|
|
||||||
case EXPR_SET_CONSTRUCTOR:
|
case EXPR_SET_CONSTRUCTOR:
|
||||||
{
|
{
|
||||||
auto sc = static_cast<const SetConstructorExpr*>(e);
|
auto sc = static_cast<const SetConstructorExpr*>(e);
|
||||||
auto attrs = sc->GetAttrs();
|
auto attrs = sc->GetAttrs();
|
||||||
|
|
||||||
if ( attrs )
|
if ( attrs )
|
||||||
constructor_attrs.insert(attrs.get());
|
constructor_attrs.insert(attrs.get());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EXPR_TABLE_CONSTRUCTOR:
|
case EXPR_TABLE_CONSTRUCTOR:
|
||||||
{
|
{
|
||||||
auto tc = static_cast<const TableConstructorExpr*>(e);
|
auto tc = static_cast<const TableConstructorExpr*>(e);
|
||||||
auto attrs = tc->GetAttrs();
|
auto attrs = tc->GetAttrs();
|
||||||
|
|
||||||
if ( attrs )
|
if ( attrs )
|
||||||
constructor_attrs.insert(attrs.get());
|
constructor_attrs.insert(attrs.get());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue