[PATCH] D42594: Move DJB hash to support. NFC
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 26 13:36:04 PST 2018
aprantl added a comment.
This makes sense following the example of MD5.h
Don't you need to add it to the module map as well? Alternatively we could just stick this into MatchExtras.h/cpp.
================
Comment at: include/llvm/Support/DJB.h:21
+
+/// The Bernstein hash function used by the accelerator tables.
+uint32_t djbHash(StringRef Buffer, uint32_t H = 5381);
----------------
-> DWARF` accelerator tables.
Repository:
rL LLVM
https://reviews.llvm.org/D42594
More information about the llvm-commits
mailing list