You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
538 B
28 lines
538 B
/**
|
|
* @file flag_braced_init_list.h
|
|
*
|
|
* @license GPL v2+
|
|
*/
|
|
|
|
#ifndef FLAG_BRACED_INIT_LIST_INCLUDED
|
|
#define FLAG_BRACED_INIT_LIST_INCLUDED
|
|
|
|
#include "chunk.h"
|
|
|
|
|
|
/**
|
|
* 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
|