kbobyrev added inline comments.

================
Comment at: clang-tools-extra/clangd/index/dex/Trigram.cpp:56
+  for (int I = LowercaseIdentifier.size() - 1; I >= 0; --I) {
+    Next[I] = {{NextTail, NextHead, NextNextHead}};
+    NextTail = Roles[I] == Tail ? I : 0;
----------------
sammccall wrote:
> (just for my curiosity - why are the double braces needed rather than single?)
Discussed offline: that's probably a bug, probably worth looking into.


https://reviews.llvm.org/D49591



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to