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

#ifndef FLAG_BRACED_INIT_LIST_INCLUDED
#define FLAG_BRACED_INIT_LIST_INCLUDED


/**
 * Detect a cpp braced init list
 */
bool detect_cpp_braced_init_list(Chunk *pc, Chunk *next);


/**
 * Flags the opening and closing braces of an expression deemed to be
 * a cpp braced initializer list; a call to detect_cpp_braced_init_list()
 * should first be made prior to calling this function
 */
void flag_cpp_braced_init_list(Chunk *pc, Chunk *next);


#endif