1 /** 2 * @file braces.h 3 * prototypes for braces.cpp 4 * 5 * @author Ben Gardner 6 * @license GPL v2+ 7 */ 8 9 #ifndef BRACES_H_INCLUDED 10 #define BRACES_H_INCLUDED 11 12 #include "uncrustify_types.h" 13 14 15 //! Change virtual braces into real braces 16 void do_braces(void); 17 18 /** 19 * See the preprocessor counterpart: 20 * add_long_preprocessor_conditional_block_comment 21 * in output.cpp 22 */ 23 void add_long_closebrace_comment(void); 24 25 26 /** 27 * Adds a comment after the ref chunk 28 * Returns the added chunk or nullptr 29 */ 30 chunk_t *insert_comment_after(chunk_t *ref, c_token_t cmt_type, const unc_text &cmt_text); 31 32 33 #endif /* BRACES_H_INCLUDED */ 34