The function widenPath() for Windows also normalizes long path names by
iterating over the path's components and calling append(). The
assumption during the iteration that separators are not returned by the
iterator doesn't hold because the iterators do return a separator when
the path has a drive name. Handle this case by ignoring separators
during iteration.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 9295 Build 9295: arc lint + arc unit
Event Timeline
unittests/Support/Path.cpp | ||
---|---|---|
702–703 | The test process shouldn't create new directories in C:, or assume that C: exists. You can instead create the directory inside TestDirectory by calling fs::make_absolute on it and replacing all backslashes with slashes. |
The test process shouldn't create new directories in C:, or assume that C: exists. You can instead create the directory inside TestDirectory by calling fs::make_absolute on it and replacing all backslashes with slashes.