HomePhabricator

[llvm-ar] Simplify Windows comparePaths NFCI

Authored by andrewng on Feb 11 2020, 4:28 AM.

Description

[llvm-ar] Simplify Windows comparePaths NFCI

Replace use of widenPath in comparePaths with UTF8ToUTF16. widenPath
does a lot more than just conversion from UTF-8 to UTF-16. This is not
necessary for CompareStringOrdinal and could possibly even cause
problems.

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

Details