This is an archive of the discontinued LLVM Phabricator instance.

[Support] Factorize more cases of style checks to use is_style_windows. NFC.
AbandonedPublic

Authored by mstorsjo on Oct 29 2021, 2:02 AM.

Details

Summary

These conditions apply in the same way for Windows path styles with
forward slashes.

After D112289, the only remaining uses of real_path are in
preferred_separator, get_separator (and in remove_dots which doesn't
compare literal enum values though).

Diff Detail