I have written a Clang Static Analyzer plugin for use with the ETL.
Right now, the static analyzer checks for access of an etl::expected or etl::optional without checking its state prior. It also has the ability to check for an etl::expected object that was ignored. That way you can make sure you didn't forget to check for an error or the like.
You can find it at wsciaroni/csa-etl-plugin. I'm open to incorporating it into this project if you're interested.
I have written a Clang Static Analyzer plugin for use with the ETL.
Right now, the static analyzer checks for access of an etl::expected or etl::optional without checking its state prior. It also has the ability to check for an etl::expected object that was ignored. That way you can make sure you didn't forget to check for an error or the like.
You can find it at wsciaroni/csa-etl-plugin. I'm open to incorporating it into this project if you're interested.