aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2022-01-21 10:54:27 +0100
committerJan Svoboda <jan_svoboda@apple.com>2022-01-21 13:04:25 +0100
commitced077e1ba52ec2937aab538e9b6fa5149f8c567 (patch)
treeda6587c860fd48f41c2b5a3dcac2782985a86f18 /llvm/lib/Support/TargetParser.cpp
parent4727d29d908f9dd608dd97a58c0af1ad579fd3ca (diff)
downloadllvm-ced077e1ba52ec2937aab538e9b6fa5149f8c567.zip
llvm-ced077e1ba52ec2937aab538e9b6fa5149f8c567.tar.gz
llvm-ced077e1ba52ec2937aab538e9b6fa5149f8c567.tar.bz2
[clang][deps] NFC: Simplify handling of cached FS errors
The return types of some `CachedFileSystemEntry` member function are needlessly complex. This patch attempts to simplify the code by unwrapping cached entries that represent errors early, and then asserting `!isError()`. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D115935
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions