diff options
author | Reid Kleckner <rnk@google.com> | 2019-09-25 22:50:50 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-09-25 22:50:50 +0000 |
commit | 9aeae9fe0d7570447d50fe495d61d4da160ac06d (patch) | |
tree | 619da0a30ecd0c7e9fc61f75c56e50d2a74da770 /llvm/lib/Transforms | |
parent | 8b5783194ced98cabaa585678cacaf7c2e2763d8 (diff) | |
download | bcm5719-llvm-9aeae9fe0d7570447d50fe495d61d4da160ac06d.tar.gz bcm5719-llvm-9aeae9fe0d7570447d50fe495d61d4da160ac06d.zip |
Simplify -fms-compatibility include lookup logic, NFC
This include search logic has an extra parameter to deal with Windows
includes with backslashes, which get normalized to forward slashes on
non-Windows under -fms-compatibility.
Hoist the conditional operator out of LookupHeaderIncludeOrImport and
pass the result in instead of repeating the ?: expression everywhere.
llvm-svn: 372926
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions