diff options
Diffstat (limited to 'include/llvm/ADT/CachedHashString.h')
-rw-r--r-- | include/llvm/ADT/CachedHashString.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/CachedHashString.h b/include/llvm/ADT/CachedHashString.h index a56a6213a073..d8f0e7afdd49 100644 --- a/include/llvm/ADT/CachedHashString.h +++ b/include/llvm/ADT/CachedHashString.h @@ -43,6 +43,7 @@ public: } StringRef val() const { return StringRef(P, Size); } + const char *data() const { return P; } uint32_t size() const { return Size; } uint32_t hash() const { return Hash; } }; |