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

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 09:14:08 PST 2018


aprantl added inline comments.


================
Comment at: lib/Support/DJB.cpp:63
+static UTF32 foldCharDwarf(UTF32 C) {
+  // Dwarf 5 addition to the unicode folding rules.
+  // Fold "Latin Small Letter Dotless I" and "Latin Capital Letter I With Dot
----------------
Nit: We try to spell this `DWARF v5` consistently.


================
Comment at: lib/Support/UnicodeCaseFold.cpp:5
+// standard (CaseFolding.txt).
+// It was automatically generated from this file by dwarf-case-fold.py
+int llvm::sys::unicode::foldCharSimple(int C) {
----------------
`by utils/dwarf-case-fold.py`


Repository:
  rL LLVM

https://reviews.llvm.org/D42740





More information about the llvm-commits mailing list