[PATCH] D42740: Implement a case-folding version of DJB hash

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 06:21:10 PST 2018


labath updated this revision to Diff 132380.
labath added a comment.

- renamed the generating script to unicode-case-fold (as it does nothing dwarf-specific).
- made the script take a url as an argument (mainly so it can then dump it out in the generated code)
- tweaked the script to generate clang-format-compatible files
- added a header to the generater file and
- added more tests


Repository:
  rL LLVM

https://reviews.llvm.org/D42740

Files:
  include/llvm/Support/DJB.h
  include/llvm/Support/Unicode.h
  lib/Support/CMakeLists.txt
  lib/Support/DJB.cpp
  lib/Support/UnicodeCaseFold.cpp
  unittests/Support/CMakeLists.txt
  unittests/Support/DJBTest.cpp
  utils/unicode-case-fold.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42740.132380.patch
Type: text/x-patch
Size: 28470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180201/a234a7ad/attachment.bin>


More information about the llvm-commits mailing list