commit | 714328e2d2f64a5d3976f19e6ffa781c69e9f6de | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Mar 30 14:07:33 2022 +0000 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Apr 05 12:49:09 2022 +0000 |
tree | 97693939392e5fe30398b15c3cb8e1e66fde4d49 | |
parent | 47eea60033fc45b762a41dbaeae41b3296182e76 [diff] |
ART: Minor cleanup in cmdline/. Avoid `std::function<>` when dumping help. Avoid `std::optional<>::value()` because it is specified as throwing an exception and we do not use C++ exceptions in ART. Use `std::optional<>::has_value()` instead of implicit conversion to `bool`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I7addd70b6a69dcaff7a03a829953ed476896bdc0