diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_trailing_comments.h')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_trailing_comments.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_trailing_comments.h b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_trailing_comments.h deleted file mode 100644 index a7a7b743..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_trailing_comments.h +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @file align_trailing_comments.h - * - * @author Guy Maurel - * split from align.cpp - * @author Ben Gardner - * @license GPL v2+ - */ - -#ifndef ALIGN_TRAILING_COMMENTS_H_INCLUDED -#define ALIGN_TRAILING_COMMENTS_H_INCLUDED - -#include "chunk_list.h" -#include "ChunkStack.h" - -enum class comment_align_e : unsigned int -{ - REGULAR, - BRACE, - ENDIF, -}; - -/** - * For a series of lines ending in a comment, align them. - * The series ends when more than align_right_cmt_span newlines are found. - * - * Interesting info: - * - least physically allowed column - * - intended column - * - least original cmt column - * - * min_col is the minimum allowed column (based on prev token col/size) - * cmt_col less than - * - * @param start Start point - * @return pointer the last item looked at - */ -chunk_t *align_trailing_comments(chunk_t *start); - -comment_align_e get_comment_align_type(chunk_t *cmt); - -void align_stack(ChunkStack &cs, size_t col, bool align_single, log_sev_t sev); - -void align_right_comments(void); - -#endif /* ALIGN_TRAILING_COMMENTS_H_INCLUDED */ |