================
@@ -1371,6 +1371,19 @@ void MallocChecker::checkIfFreeNameIndex(ProgramStateRef
State,
C.addTransition(State);
}
+bool isVoidStar(QualType T) {
+ return !T.isNull() && T->isPointerType() &&
T->getPointeeType()->isVoidType();
----------------
necto wrote:
Indeed, thanks!
Used in:
2b861b6bf1f0 Use isVoidPointerType() and state the checked signature
https://github.com/llvm/llvm-project/pull/144341
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits