diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/cs_top_is_question.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/cs_top_is_question.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/cs_top_is_question.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/cs_top_is_question.cpp deleted file mode 100644 index d358912c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/cs_top_is_question.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @file cs_top_is_question.cpp - * - * @author Guy Maurel - * @license GPL v2+ - * extract from combine.cpp - */ - -#include "cs_top_is_question.h" - -#include "chunk_list.h" - - -bool cs_top_is_question(ChunkStack &cs, size_t level) -{ - chunk_t *pc = cs.Empty() ? nullptr : cs.Top()->m_pc; - - return( chunk_is_token(pc, CT_QUESTION) - && pc->level == level); -} |