[Lldb-commits] [PATCH] D29036: Add format_provider for lldb::StateType
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 23 09:45:04 PST 2017
clayborg added inline comments.
================
Comment at: unittests/Core/StateTest.cpp:19
+ EXPECT_EQ("exited", llvm::formatv("{0}", eStateExited).str());
+ EXPECT_EQ("stopped", llvm::formatv("{0}", eStateStopped).str());
+}
----------------
Add a test like:
```
EXPECT_EQ("(null)", llvm::formatv("{0}", static_cast<StateType>(-1)).str());
```
https://reviews.llvm.org/D29036
More information about the lldb-commits
mailing list