HomePhabricator

[Path] Fix bug in make_absolute logic

Authored by JDevlieghere on Aug 6 2019, 8:46 AM.

Description

[Path] Fix bug in make_absolute logic

This fixes a bug for making path with a //net style root absolute. I
discovered the bug while writing a test case for the VFS, which uses
these paths because they're both legal absolute paths on Windows and
Unix.

Differential revision: https://reviews.llvm.org/D65675

llvm-svn: 368053

Details

Committed
JDevlieghereAug 6 2019, 8:46 AM
Differential Revision
D65675: [Path] Fix bug in make_absolute logic
Parents
rG4b03364d72a5: [AST] Traverse attributes inside DEF_TRAVERSE_DECL macro
Branches
Unknown
Tags
Unknown