Skip to content

Commit

Permalink
[libc++] [test] Qualify calls to std::rethrow_exception. NFC.
Browse files Browse the repository at this point in the history
We shouldn't be calling `rethrow_exception` via ADL -- and neither should anybody
in the wild be calling it via ADL, so it's not like we need to test
this ADL ability of `rethrow_exception` in particular.

Reviewed as part of D119860.
  • Loading branch information
Arthur O'Dwyer committed Feb 16, 2022
1 parent f033bf8 commit 79dc755
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -49,7 +49,7 @@ int main(int, char**)
assert(e.nested_ptr() != nullptr);
try
{
rethrow_exception(e.nested_ptr());
std::rethrow_exception(e.nested_ptr());
assert(false);
}
catch (const A& a)
Expand Down
Expand Up @@ -47,7 +47,7 @@ int main(int, char**)
assert(e.nested_ptr() != nullptr);
try
{
rethrow_exception(e.nested_ptr());
std::rethrow_exception(e.nested_ptr());
assert(false);
}
catch (const A& a)
Expand Down
Expand Up @@ -45,7 +45,7 @@ int main(int, char**)
assert(e.nested_ptr() != nullptr);
try
{
rethrow_exception(e.nested_ptr());
std::rethrow_exception(e.nested_ptr());
assert(false);
}
catch (const A& a)
Expand Down

0 comments on commit 79dc755

Please sign in to comment.