summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/punctuators.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-11-18 22:24:33 +0900
committerMichele Calgaro <[email protected]>2024-11-18 22:24:33 +0900
commit3b0c3b8206964b85bf3716c962d26dd15c4f285f (patch)
tree2f0973dbf96c2892d19a55b6f846f130e7399a48 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/punctuators.h
parentff287d2f48d4f4253bf84f19bd7fe937b61ede45 (diff)
downloadextra-dependencies-master.tar.gz
extra-dependencies-master.zip
Remove uncrustify-trinity.HEADmaster
It is no longer necessary to maintain a customize trinity version. Upstream version can be used as is. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/punctuators.h')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/punctuators.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/punctuators.h b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/punctuators.h
deleted file mode 100644
index ed4c3fa5..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/punctuators.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * @file punctuators.h
- */
-
-#ifndef PUNCTUATORS_H_INCLUDED
-#define PUNCTUATORS_H_INCLUDED
-
-#include "uncrustify_types.h"
-
-
-struct lookup_entry_t
-{
- char ch;
- char left_in_group;
- UINT16 next_idx;
- const chunk_tag_t *tag;
-
- struct comperator
- {
- static char get_char(const lookup_entry_t &v)
- {
- return(v.ch);
- }
-
-
- static char get_char(char t)
- {
- return(t);
- }
-
- template<typename T1, typename T2>
- bool operator()(T1 const &t1, T2 const &t2)
- {
- return(get_char(t1) < get_char(t2));
- }
- };
-};
-
-
-/**
- * Checks if the first max. 6 chars of a given string match a punctuator
- *
- * @param str string that will be checked, can be shorter than 6 chars
- * @param lang_flags specifies from which language punctuators will be considered
- *
- * @retval chunk tag of the found punctuator
- * @retval nullptr if nothing found
- */
-const chunk_tag_t *find_punctuator(const char *str, int lang_flags);
-
-
-#endif /* PUNCTUATORS_H_INCLUDED */