summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-09-25 22:50:50 +0000
committerReid Kleckner <rnk@google.com>2019-09-25 22:50:50 +0000
commit9aeae9fe0d7570447d50fe495d61d4da160ac06d (patch)
tree619da0a30ecd0c7e9fc61f75c56e50d2a74da770 /llvm/lib/Transforms
parent8b5783194ced98cabaa585678cacaf7c2e2763d8 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud