Georgy Komarov 80dee36e68
library: Add new warning: ignoredReturnErrorCode (#2877)
* library: Add optional "type" attribute to "use-retval"

Added an optional "type" attribute to "use-retval" nodes in the
configuration. When the return type of a function configured with
`<use-retval type="error-code"\>` node does not used, the new style
error "ignoredReturnErrorCode" will be generated.

* Fix and improve patch after the initial review

* Fixed severity level and [[nodiscard]] attribute

* Fix incorrect condition

* Remove redundant condition
2020-11-05 13:35:52 +01:00
..
2020-06-13 16:37:12 +02:00
2020-06-19 13:16:48 +02:00
2020-06-13 16:37:12 +02:00
2020-10-03 15:36:02 +02:00
2020-10-03 15:36:02 +02:00
2020-10-03 09:15:56 +02:00
2020-06-13 16:37:12 +02:00
2020-05-10 11:16:32 +02:00
2020-10-22 06:59:13 +02:00
2020-10-03 09:15:56 +02:00
2020-05-10 11:16:32 +02:00
2020-06-13 16:37:12 +02:00
2020-06-13 16:37:12 +02:00
2020-06-13 16:37:12 +02:00
2020-06-13 16:37:12 +02:00
2020-06-13 16:37:12 +02:00
2020-09-08 12:39:27 -05:00
2019-04-06 06:54:38 +02:00
2020-10-25 07:12:30 +01:00
2020-05-23 07:16:49 +02:00
2020-06-29 15:54:51 -05:00
2020-07-23 10:09:06 +02:00
2020-06-13 16:37:12 +02:00
2020-09-25 19:04:22 +02:00
2020-07-21 11:27:03 +02:00
2020-05-23 07:30:22 +02:00
2020-05-23 07:16:49 +02:00
2020-09-11 08:51:12 +02:00
2020-06-19 13:16:48 +02:00
2019-09-25 15:25:19 +02:00
2020-05-23 07:16:49 +02:00
2020-10-03 09:15:56 +02:00
2020-05-10 11:16:32 +02:00
2020-10-03 09:15:56 +02:00
2020-10-03 09:15:56 +02:00
2020-10-31 18:57:48 +01:00
2020-10-31 18:57:48 +01:00
2020-09-10 08:02:45 +02:00
2020-05-10 11:16:32 +02:00
2020-10-03 13:54:17 +02:00