Commit 0276915
authored
[clang-tidy] Fix
PR llvm#82952 introduced regex matching for `CheckedFunctions` in
`UnusedReturnValueCheck` which is used by the checker `cert-err33-c`.
Add a testcase and fix false positives by adding end-of-string to target
regex's.
---------
Signed-off-by: Björn Svensson <[email protected]>cert-err33-c to ignore functions with same prefixes as target (llvm#135160)1 parent aeb06c6 commit 0276915
File tree
3 files changed
+190
-177
lines changed- clang-tools-extra
- clang-tidy/cert
- docs
- test/clang-tidy/checkers/cert
3 files changed
+190
-177
lines changed
0 commit comments