diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
commit | 3b0c3b8206964b85bf3716c962d26dd15c4f285f (patch) | |
tree | 2f0973dbf96c2892d19a55b6f846f130e7399a48 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/parsing_frame_stack.h | |
parent | ff287d2f48d4f4253bf84f19bd7fe937b61ede45 (diff) | |
download | extra-dependencies-3b0c3b8206964b85bf3716c962d26dd15c4f285f.tar.gz extra-dependencies-3b0c3b8206964b85bf3716c962d26dd15c4f285f.zip |
It is no longer necessary to maintain a customize trinity version.
Upstream version can be used as is.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/parsing_frame_stack.h')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/parsing_frame_stack.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/parsing_frame_stack.h b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/parsing_frame_stack.h deleted file mode 100644 index 0cc908dc..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/parsing_frame_stack.h +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @file parsing_frame_stack.h - * mainly used to handle preprocessor stuff - * - * @author Ben Gardner - * @license GPL v2+ - */ - -#ifndef PARSING_FRAME_STACK_H_INCLUDED -#define PARSING_FRAME_STACK_H_INCLUDED - -#include "parsing_frame.h" - -//! Class describing a parsing frame stack -class ParsingFrameStack -{ -public: - ParsingFrameStack(); - - /** - * Push a copy of a ParsingFrame onto the frame stack. - */ - void push(ParsingFrame &frm); - - - /** - * Pop and return the top element of the frame stack. - * TODO: return the frame rather than passing it as argument - */ - void pop(ParsingFrame &pf); - - - // TODO: this name is dumb: - // - what is it checking? - // - why does is much more than simple checks, it allters kinds of stuff - //! Returns the pp_indent to use for this line - int check(ParsingFrame &frm, int &pp_level, Chunk *pc); - -private: - std::vector<ParsingFrame> m_frames; -}; - -#endif /* PARSING_FRAME_STACK_H_INCLUDED */ |