diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-07-05 03:37:05 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-07-05 03:37:05 +0000 |
commit | 459877388bc48de1ea96033205531810b1fac59d (patch) | |
tree | 356286ac214bdf52b08fe50ee2ca4890f9b5de92 /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata | |
parent | 34a7c3baf9d7d4312ac5c16662821ca48a60d9c3 (diff) | |
download | bcm5719-llvm-459877388bc48de1ea96033205531810b1fac59d.tar.gz bcm5719-llvm-459877388bc48de1ea96033205531810b1fac59d.zip |
Implement LWG 2937 - equivalent("dne", "exists") is not an error
This patch speculatively implements the PR for LWG 2937, which fixes
two issues with equivalent.
(1) It makes equivalent("dne", "exists") an error. Previously only
equivalent("dne", "dne") was an error and the former case was not (it returned false).
Now equivalent reports an error when either input doesn't exist.
(2) It makes equivalent(p1, p2) well-formed when `is_other(p1) && is_other(p2)`.
Previously this was an error, but there is seemingly no reason why it should be on POSIX system.
llvm-svn: 307117
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata')
0 files changed, 0 insertions, 0 deletions