mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
clang-format: Set penalty for breaking after assignment operator
This commit is contained in:
parent
4423574d26
commit
9af6b2f48d
54 changed files with 255 additions and 247 deletions
|
@ -187,8 +187,8 @@ void CPPCompile::GenFuncVarInits()
|
|||
|
||||
hashes += "}";
|
||||
|
||||
auto init =
|
||||
string("lookup_func__CPP(\"") + fn + "\", " + hashes + ", " + GenTypeName(ft) + ")";
|
||||
auto init = string("lookup_func__CPP(\"") + fn + "\", " + hashes + ", " + GenTypeName(ft) +
|
||||
")";
|
||||
|
||||
AddInit(fv, const_name, init);
|
||||
}
|
||||
|
@ -226,8 +226,8 @@ void CPPCompile::GenPreInit(const Type* t)
|
|||
break;
|
||||
|
||||
case TYPE_FILE:
|
||||
pre_init =
|
||||
string("make_intrusive<FileType>(") + GenTypeName(t->AsFileType()->Yield()) + ")";
|
||||
pre_init = string("make_intrusive<FileType>(") + GenTypeName(t->AsFileType()->Yield()) +
|
||||
")";
|
||||
break;
|
||||
|
||||
case TYPE_OPAQUE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue