[PATCH] D51088: [clangd] Get rid of regexes in CanonicalIncludes

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 22 06:47:04 PDT 2018


ilya-biryukov updated this revision to Diff 161945.
ilya-biryukov marked 2 inline comments as done.
ilya-biryukov added a comment.

- Use std::distance instead of an explicit loop
- Merge break into loop condition


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51088

Files:
  clangd/index/CanonicalIncludes.cpp
  clangd/index/CanonicalIncludes.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51088.161945.patch
Type: text/x-patch
Size: 68573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180822/d423f69b/attachment-0001.bin>


More information about the cfe-commits mailing list