summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/flag_decltype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/flag_decltype.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/flag_decltype.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/flag_decltype.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/flag_decltype.cpp
deleted file mode 100644
index c5cc0134..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/flag_decltype.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * @file flag_decltype.cpp
- *
- * @license GPL v2+
- */
-
-#include "chunk_list.h"
-
-
-bool flag_cpp_decltype(chunk_t *pc)
-{
- LOG_FUNC_ENTRY();
-
- if (chunk_is_token(pc, CT_DECLTYPE))
- {
- auto paren_open = chunk_get_next_ncnnl(pc);
-
- if (chunk_is_token(paren_open, CT_PAREN_OPEN))
- {
- auto close_paren = chunk_skip_to_match(paren_open);
-
- if (close_paren != nullptr)
- {
- pc = paren_open;
-
- do
- {
- chunk_flags_set(pc, PCF_IN_DECLTYPE);
- pc = pc->next;
- } while (pc != close_paren);
-
- return(true);
- }
- }
- }
- return(false);
-} // mark_cpp_decltype