We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type2identifier
1 parent 0c08382 commit 5a3e001Copy full SHA for 5a3e001
src/ansi-c/type2name.h
@@ -20,6 +20,15 @@ class namespacet;
20
21
std::string type2name(const typet &type, const namespacet &ns);
22
23
+/**
24
+ * Constructs a string describing the given type, which can be used as part of
25
+ * a `C` identifier. The resulting identifier is not guaranteed to uniquely
26
+ * identify the type in all cases.
27
+ * @param type Internal representation of the type to describe.
28
+ * @param ns Namespace for looking up any types on which the `type` parameter
29
+ * depends.
30
+ * @return An identifying string which can be used as part of a `C` identifier.
31
+ */
32
std::string type2identifier(const typet &type, const namespacet &ns);
33
34
#endif // CPROVER_ANSI_C_TYPE2NAME_H
0 commit comments