shouldn't be here anymore
[libfirm] / include / libfirm / ident.h
index 9b877b9..b2a0f6e 100644 (file)
@@ -215,6 +215,12 @@ int id_is_suffix (ident *suffix, ident *id);
  */
 int id_contains_char (ident *id, char c);
 
+/**
+ * helper function for creating unique idents. It contains an internal counter
+ * and replaces a "%u" inside the tag with the counter.
+ */
+ident *id_unique(const char *tag);
+
 #ifdef FIRM_ENABLE_WCHAR
 /**
  *  Store a wide character string and create an ident.