[all-commits] [llvm/llvm-project] 8cec8d: [clangd] testPath's final result agrees with the p...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon Nov 23 03:45:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8cec8de2a4e6692da6226bb02cf417eb0e50adde
      https://github.com/llvm/llvm-project/commit/8cec8de2a4e6692da6226bb02cf417eb0e50adde
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-11-23 (Mon, 23 Nov 2020)

  Changed paths:
    M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
    M clang-tools-extra/clangd/unittests/TestFS.cpp

  Log Message:
  -----------
  [clangd] testPath's final result agrees with the passed in Style

This was confusing, as testRoot on windows results in C:\\clangd-test
and testPath generated with posix explicitly still contained backslashes.

This patch ensures not only the relative part, but the whole final result
respects passed in Style.

Differential Revision: https://reviews.llvm.org/D91947




More information about the All-commits mailing list