summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-08-13 19:32:36 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-08-13 19:32:36 +0000
commit4a0328c92a818f8cc61271c2ef54e11018090960 (patch)
treee16b4d676c4cd8e2d8f26eb1a64739d0e20aa270 /lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
parenta5ef73cb4bd6d3636b01a25981e1f8a57c8b5d67 (diff)
downloadbcm5719-llvm-4a0328c92a818f8cc61271c2ef54e11018090960.tar.gz
bcm5719-llvm-4a0328c92a818f8cc61271c2ef54e11018090960.zip
Don't use std::errc
Summary: As noted on Errc.h: // * std::errc is just marked with is_error_condition_enum. This means that // common patters like AnErrorCode == errc::no_such_file_or_directory take // 4 virtual calls instead of two comparisons. And on some libstdc++ those virtual functions conclude that ------------------------ int main() { std::error_code foo = std::make_error_code(std::errc::no_such_file_or_directory); return foo == std::errc::no_such_file_or_directory; } ------------------------- should exit with 0. Reviewers: thakis, rnk, jfb Reviewed By: thakis Subscribers: lebedev.ri, dexonsmith, xbolva00, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D66143 llvm-svn: 368739
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud