[all-commits] [llvm/llvm-project] 75cbf6: Re-land "Optimize path::remove_dots"

Reid Kleckner via All-commits all-commits at lists.llvm.org
Mon May 4 16:45:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75cbf6dc5cdb844ba4dd4631a984412e06c5387c
      https://github.com/llvm/llvm-project/commit/75cbf6dc5cdb844ba4dd4631a984412e06c5387c
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-05-04 (Mon, 04 May 2020)

  Changed paths:
    M llvm/lib/Support/Path.cpp
    M llvm/lib/Support/Windows/Path.inc
    M llvm/unittests/Support/Path.cpp

  Log Message:
  -----------
  Re-land "Optimize path::remove_dots"

This reverts commit fb5fd74685e728b1d5e68d33e9842bcd734b98e6.
Re-instates commit 53913a65b408ade2956061b4c0aaed6bba907403

The fix is to trim off trailing separators, as in `/foo/bar/` and
produce `/foo/bar`. VFS tests rely on this. I added unit tests for
remove_dots.




More information about the All-commits mailing list