Index: llvm/include/llvm/ADT/CachedHashString.h =================================================================== --- llvm/include/llvm/ADT/CachedHashString.h +++ llvm/include/llvm/ADT/CachedHashString.h @@ -43,6 +43,7 @@ } 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; } };