[PATCH] D72705: [clang][checkers] Added new checker 'alpha.unix.ErrorReturn'.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 3 07:24:54 PST 2020


balazske added a comment.

In D72705#1854641 <https://reviews.llvm.org/D72705#1854641>, @baloghadamsoftware wrote:

> Please add tests for all the functions in the list.


How to handle the combinatoric explosion in test code?
It is too much code to add all functions to `system-header-simulator.h` and then all functions with all cases to the test files.
Even for now, all cases with all kinds of check types can result in too big test code.
This is possible only with automatic code generation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72705/new/

https://reviews.llvm.org/D72705





More information about the cfe-commits mailing list