File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
llvm/include/llvm/Demangle Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2057,6 +2057,9 @@ class EnumLiteral : public Node {
2057
2057
else
2058
2058
S << Integer;
2059
2059
}
2060
+
2061
+ // Retrieves the string view of the integer value this node represents.
2062
+ const StringView &getIntegerValue () const { return Integer; }
2060
2063
};
2061
2064
2062
2065
class IntegerLiteral : public Node {
@@ -2085,6 +2088,13 @@ class IntegerLiteral : public Node {
2085
2088
if (Type.size () <= 3 )
2086
2089
S += Type;
2087
2090
}
2091
+
2092
+ // Retrieves the string view of the integer value represented by this node.
2093
+ const StringView &getValue () const { return Value; }
2094
+
2095
+ // Retrieves the string view of the type string of the integer value this node
2096
+ // represents.
2097
+ const StringView &getType () const { return Type; }
2088
2098
};
2089
2099
2090
2100
template <class Float > struct FloatData ;
You can’t perform that action at this time.
0 commit comments