Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DDeleteNullPointerCheck.cpp32 const auto PointerExpr = ignoringImpCasts(anyOf( in registerMatchers() local
37 hasSourceExpression(PointerExpr)); in registerMatchers()
39 hasOperands(castExpr(hasCastKind(CK_NullToPointer)), PointerExpr)); in registerMatchers()
/external/clang/lib/Sema/
DSemaExpr.cpp6400 Expr* PointerExpr, SourceLocation Loc, in checkPointerIntegerMismatch() argument
6402 if (!PointerExpr->getType()->isPointerType() || in checkPointerIntegerMismatch()
6406 Expr *Expr1 = IsIntFirstExpr ? Int.get() : PointerExpr; in checkPointerIntegerMismatch()
6407 Expr *Expr2 = IsIntFirstExpr ? PointerExpr : Int.get(); in checkPointerIntegerMismatch()
6412 Int = S.ImpCastExprToType(Int.get(), PointerExpr->getType(), in checkPointerIntegerMismatch()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp7903 Expr* PointerExpr, SourceLocation Loc, in checkPointerIntegerMismatch() argument
7905 if (!PointerExpr->getType()->isPointerType() || in checkPointerIntegerMismatch()
7909 Expr *Expr1 = IsIntFirstExpr ? Int.get() : PointerExpr; in checkPointerIntegerMismatch()
7910 Expr *Expr2 = IsIntFirstExpr ? PointerExpr : Int.get(); in checkPointerIntegerMismatch()
7915 Int = S.ImpCastExprToType(Int.get(), PointerExpr->getType(), in checkPointerIntegerMismatch()