diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-02-27 16:52:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 16:52:57 -0600 |
commit | 7f33294261869ab8f0caa8660222576a4ff7bcdc (patch) | |
tree | 51937131d7d3ef465f75157f6b6581547cf49a6a /src/util/regexp.h | |
parent | 9f5447f5ca07688ff7e6da7973d7f97d17678427 (diff) |
Improve rewriter for string indexof (#1592)
Diffstat (limited to 'src/util/regexp.h')
-rw-r--r-- | src/util/regexp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/regexp.h b/src/util/regexp.h index d51ef4372..efbb4579d 100644 --- a/src/util/regexp.h +++ b/src/util/regexp.h @@ -163,6 +163,11 @@ class CVC4_PUBLIC String { */ static bool isDigit(unsigned character); + /** + * Returns the maximum length of string representable by this class. + * Corresponds to the maximum size of d_str. + */ + static size_t maxSize(); private: // guarded static unsigned char hexToDec(unsigned char c); |