summaryrefslogtreecommitdiff
path: root/include/llvm/Support/MD5.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/MD5.h')
-rw-r--r--include/llvm/Support/MD5.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Support/MD5.h b/include/llvm/Support/MD5.h
index 38bdbaebbb..b2b8c2d55b 100644
--- a/include/llvm/Support/MD5.h
+++ b/include/llvm/Support/MD5.h
@@ -49,9 +49,12 @@ public:
MD5();
- /// \brief Updates the hash for arguments provided.
+ /// \brief Updates the hash for the byte stream provided.
void update(ArrayRef<uint8_t> Data);
+ /// \brief Updates the hash for the StringRef provided.
+ void update(StringRef Str);
+
/// \brief Finishes off the hash and puts the result in result.
void final(MD5Result &result);