summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/tokenize_cleanup.h
blob: b6dde1634c97e0fe28bab7358696cd27ff67050c (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
26
27
28
29
30
31
/**
 * @file tokenize_cleanup.h
 * prototypes for tokenize_cleanup.cpp
 *
 * @author  Ben Gardner
 * @license GPL v2+
 */
#ifndef TOKENIZ_CLEANUP_H_INCLUDED
#define TOKENIZ_CLEANUP_H_INCLUDED

#include "uncrustify_types.h"


/**
 * @brief clean up tokens
 *
 * Change certain token types based on simple sequence.
 * Example: change '[' + ']' to '[]'
 * Note that level info is not yet available, so it is OK to do all
 * processing that doesn't need to know level info. (that's very little!)
 */
void tokenize_cleanup();


void tokenize_trailing_return_types();


void split_off_angle_close(Chunk *pc);


#endif /* TOKENIZ_CLEANUP_H_INCLUDED */