clang-format everything

This commit is contained in:
Max Brunsfeld 2015-07-27 18:29:48 -07:00
parent 766e3bab2c
commit f9b057f3a9
44 changed files with 496 additions and 416 deletions

View file

@ -8,12 +8,14 @@ TSNode *ts_node_make(const TSTree *tree, TSNode *parent, size_t index,
if (parent)
ts_node_retain(parent);
TSNode *result = malloc(sizeof(TSNode));
*result = (TSNode) { .ref_count = 1,
.parent = parent,
.index = index,
.content = tree,
.position = position,
.names = names, };
*result = (TSNode){
.ref_count = 1,
.parent = parent,
.index = index,
.content = tree,
.position = position,
.names = names,
};
return result;
}