aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag')
-rw-r--r--src/tag/Tag.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tag/Tag.hxx b/src/tag/Tag.hxx
index 731d7cd58..395780cde 100644
--- a/src/tag/Tag.hxx
+++ b/src/tag/Tag.hxx
@@ -150,6 +150,7 @@ struct Tag {
* Checks whether the tag contains one or more items with
* the specified type.
*/
+ gcc_pure
bool HasType(tag_type type) const;
private:
@@ -160,6 +161,7 @@ private:
* Parse the string, and convert it into a #tag_type. Returns
* #TAG_NUM_OF_ITEM_TYPES if the string could not be recognized.
*/
+gcc_pure
enum tag_type
tag_name_parse(const char *name);
@@ -169,6 +171,7 @@ tag_name_parse(const char *name);
*
* Case does not matter.
*/
+gcc_pure
enum tag_type
tag_name_parse_i(const char *name);