[PATCH] D62965: [clang][HeaderSearch] Consider all path separators equal

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 10:01:04 PDT 2019


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Lex/HeaderSearch.cpp:1718
 
+      // Ignore path separators.
+      if (NI->size() == 1 && DI->size() == 1 &&
----------------
I think "consider all path separators equal" as in the patch description would be much clearer


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62965/new/

https://reviews.llvm.org/D62965





More information about the cfe-commits mailing list