PiotrZSL updated this revision to Diff 548554.
PiotrZSL marked an inline comment as done.
PiotrZSL added a comment.
Rebase, add support for integer returnign functions, fixes in tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157188/new/
https
PiotrZSL planned changes to this revision.
PiotrZSL added a comment.
TODO: Fix CI, Add support for allocators that return 'integer', hardcode most
of functions, change config into AdditionalAllocationFunctions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.ll
PiotrZSL added inline comments.
Comment at:
clang-tools-extra/clang-tidy/bugprone/AllocationBoolConversionCheck.cpp:25
+ "malloc;calloc;realloc;strdup;fopen;fdopen;freopen;"
+ "opendir;fdopendir;popen;mmap;allocate"))) {}
+
-
PiotrZSL updated this revision to Diff 547587.
PiotrZSL marked an inline comment as done.
PiotrZSL added a comment.
Formating + fix tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157188/new/
https://reviews.llvm.org/D157188
Files:
clang-too
Eugene.Zelenko added inline comments.
Comment at:
clang-tools-extra/clang-tidy/bugprone/AllocationBoolConversionCheck.cpp:25
+ "malloc;calloc;realloc;strdup;fopen;fdopen;freopen;"
+ "opendir;fdopendir;popen;mmap;allocate"))) {}
+
---
PiotrZSL updated this revision to Diff 547523.
PiotrZSL retitled this revision from "[clang-tidy] Add
bugprone-new-bool-conversion" to "[clang-tidy] Add
bugprone-allocation-bool-conversion".
PiotrZSL edited the summary of this revision.
PiotrZSL added a comment.
Change check anme, add configurat