diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-05-06 13:43:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-05-06 13:49:57 +0900 |
commit | 80a31d6c8a114799dc5284086ffce2e9be34c50e (patch) | |
tree | 1719891657e76c04f063f5ff7b5fdf63d9e562c3 /debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/space.h | |
parent | e6ba08c3b21cdb14ee3a97b5d584759a4597b54b (diff) | |
download | extra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.tar.gz extra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.zip |
uncrustify-trinity: updated based on upstream version 0.75.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/space.h')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/space.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/space.h b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/space.h deleted file mode 100644 index e856f135..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/space.h +++ /dev/null @@ -1,45 +0,0 @@ -/** - * @file space.h - * prototypes for space.cpp - * - * @author Ben Gardner - * @license GPL v2+ - */ -#ifndef SPACE_H_INCLUDED -#define SPACE_H_INCLUDED - -#include "uncrustify_types.h" - - -/** - * Marches through the whole file and checks to see how many spaces should be - * between two chunks - */ -void space_text(void); - - -//! Marches through the whole file and adds spaces around nested parenthesis -void space_text_balance_nested_parens(void); - - -//! Determines if a space is required between two chunks -size_t space_needed(chunk_t *first, chunk_t *second); - - -/** - * Calculates the column difference between two chunks. - * The rules are bent a bit here, as IARF_IGNORE and IARF_ADD become IARF_FORCE. - * So the column difference is either first->len or first->len + 1. - * - * @param first The first chunk - * @param second The second chunk - * - * @return the column difference between the two chunks - */ -size_t space_col_align(chunk_t *first, chunk_t *second); - - -void space_add_after(chunk_t *pc, size_t count); - - -#endif /* SPACE_H_INCLUDED */ |