Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp8002 bool LHSNull = isa<GNUNullExpr>(LHS.get()->IgnoreParenImpCasts()); in checkArithmeticNull() local
8005 QualType NonNullType = LHSNull ? RHS.get()->getType() : LHS.get()->getType(); in checkArithmeticNull()
8009 if ((!LHSNull && !RHSNull) || NonNullType->isBlockPointerType() || in checkArithmeticNull()
8017 << (LHSNull ? LHS.get()->getSourceRange() : SourceRange()) in checkArithmeticNull()
8024 if (LHSNull == RHSNull || NonNullType->isAnyPointerType() || in checkArithmeticNull()
8029 << LHSNull /* LHS is NULL */ << NonNullType in checkArithmeticNull()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp10085 bool LHSNull = isa<GNUNullExpr>(LHS.get()->IgnoreParenImpCasts()); in checkArithmeticNull() local
10088 QualType NonNullType = LHSNull ? RHS.get()->getType() : LHS.get()->getType(); in checkArithmeticNull()
10092 if ((!LHSNull && !RHSNull) || NonNullType->isBlockPointerType() || in checkArithmeticNull()
10100 << (LHSNull ? LHS.get()->getSourceRange() : SourceRange()) in checkArithmeticNull()
10107 if (LHSNull == RHSNull || NonNullType->isAnyPointerType() || in checkArithmeticNull()
10112 << LHSNull /* LHS is NULL */ << NonNullType in checkArithmeticNull()