Add support for multiple results to the printer/parser, add support
for forward references to the parser, add initial support for SSA
use-list iteration and RAUW.
PiperOrigin-RevId: 205484031
diff --git a/lib/Parser/Token.h b/lib/Parser/Token.h
index f847bcf4..670bd94 100644
--- a/lib/Parser/Token.h
+++ b/lib/Parser/Token.h
@@ -83,6 +83,11 @@
/// For an inttype token, return its bitwidth.
Optional<unsigned> getIntTypeBitwidth() const;
+ /// Given a hash_identifier token like #123, try to parse the number out of
+ /// the identifier, returning None if it is a named identifier like #x or
+ /// if the integer doesn't fit.
+ Optional<unsigned> getHashIdentifierNumber() const;
+
/// Given a 'string' token, return its value, including removing the quote
/// characters and unescaping the contents of the string.
std::string getStringValue() const;