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 | 4cd0ed30b2c0c425debc1684478e3b49584ba464 (patch) | |
tree | 4067052bdf5e855da4b94de88f328e4f0f32b0c8 /unittests | |
parent | 01f5ebc5a05f34e4504c180ca32165e00ae9e7fc (diff) | |
download | clang-4cd0ed30b2c0c425debc1684478e3b49584ba464.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372926 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions