diff options
author | Michele Calgaro <[email protected]> | 2023-12-01 12:38:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-01 12:38:43 +0900 |
commit | b67b7f2b784c7105e88a5e639d9d84736ae2cbc1 (patch) | |
tree | 0fd16d439c681c07d57d7f0d544c7582e04c3a31 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/output.h | |
parent | c0a6f1b84c84749908961579b84513fd9f9d9eac (diff) | |
download | extra-dependencies-b67b7f2b784c7105e88a5e639d9d84736ae2cbc1.tar.gz extra-dependencies-b67b7f2b784c7105e88a5e639d9d84736ae2cbc1.zip |
uncrustify-trinity: updated based on upstream version 0.78.1
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/output.h')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/output.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/output.h b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/output.h new file mode 100644 index 00000000..1d55c8c8 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/output.h @@ -0,0 +1,46 @@ +/** + * @file output.h + * prototypes for output.cpp + * + * @author Ben Gardner + * @license GPL v2+ + */ + +#ifndef OUTPUT_H_INCLUDED +#define OUTPUT_H_INCLUDED + +#include "unc_text.h" + +#include <stdio.h> + + +//! This renders the chunk list to a file. +void output_parsed(FILE *pfile, bool withOptions = true); + + +//! This renders the chunk list to a file formatted as csv. +void output_parsed_csv(FILE *pfile); + + +//! This renders the chunk list to a file. +void output_text(FILE *pfile); + + +/** + * See also it's preprocessor counterpart + * add_long_closebrace_comment + * in braces.cpp + * + * Note: since this concerns itself with the preprocessor -- which is line-oriented -- + * it turns out that just looking at pc->GetPpLevel() is NOT the right thing to do. + * See a --parsed dump if you don't believe this: an '#endif' will be one level + * UP from the corresponding #ifdef when you look at the tokens 'ifdef' versus 'endif', + * but it's a whole another story when you look at their CT_PREPROC ('#') tokens! + * + * Hence we need to track and seek matching CT_PREPROC pp_levels here, which complicates + * things a little bit, but not much. + */ +void add_long_preprocessor_conditional_block_comment(); + + +#endif /* OUTPUT_H_INCLUDED */ |