summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/src/align_braced_init_list.h
blob: e29868e027b38fe919bed7ba192c456ccc869178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * @file align_braced_init_list.h
 *
 * @author  Guy Maurel
 * @license GPL v2+
 */

#ifndef ALIGN_BRACED_INIT_LIST_H_INCLUDED
#define ALIGN_BRACED_INIT_LIST_H_INCLUDED

#include "chunk.h"

/**
 * Aligns all braced init list operators on the same level as first, starting with
 * first.
 *
 * @param first  chunk pointing to the first braced init list
 */
Chunk *align_braced_init_list(Chunk *first, size_t span, size_t thresh, size_t *p_nl_count);

#endif /* ALIGN_BRACED_INIT_LIST_H_INCLUDED */