This is an archive of the discontinued LLVM Phabricator instance.

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

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



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