Home
last modified time | relevance | path

Searched refs:hasPointerType (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp251 static bool hasPointerType(const Expr &E) { in hasPointerType() function
334 if (!hasPointerType(*CE->getSubExpr())) in findStmtsInUnspecifiedPointerContext()
345 if (hasPointerType(*LHS)) in findStmtsInUnspecifiedPointerContext()
349 if (hasPointerType(*RHS)) in findStmtsInUnspecifiedPointerContext()
355 BO && BO->getOpcode() == BO_Sub && hasPointerType(*BO->getLHS()) && in findStmtsInUnspecifiedPointerContext()
356 hasPointerType(*BO->getRHS())) { in findStmtsInUnspecifiedPointerContext()
1281 if (!hasPointerType(*UO->getSubExpr()->IgnoreParenImpCasts())) in matches()
1329 if (!hasPointerType(*UO->getSubExpr()->IgnoreParenImpCasts())) in matches()
1377 if (!hasPointerType(*Base) && !hasArrayType(*Base)) in matches()
1439 if (hasPointerType(*LHS) && (RHS->getType()->isIntegerType() || in matches()
[all …]