This is an archive of the discontinued LLVM Phabricator instance.

Fix path separator issue on Windows
AbandonedPublic

Authored by ctetreau on Jun 3 2020, 1:40 PM.

Details

Reviewers
None
Summary

The following 3 tests fail on Windows:
Clang :: ClangScanDeps/header_stat_before_open.m
Clang :: ClangScanDeps/static-analyzer.c
Clang :: ClangScanDeps/vfsoverlay.cpp

The issue is that bad filenames are being constructed. This change uses
llvm::sys::path::append to concatenate file paths rather than string
append with a '/' thrown in the middle.

Diff Detail

Event Timeline

ctetreau created this revision.Jun 3 2020, 1:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2020, 1:40 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ctetreau abandoned this revision.Jun 3 2020, 3:38 PM