reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExpr.cpp
10621   if (!E.get()->getType()->isAnyPointerType() &&
10622       E.get()->isNullPointerConstant(Context,
10625     if (const auto *CL = dyn_cast<CharacterLiteral>(E.get())) {
10627         Diag(E.get()->getExprLoc(), diag::warn_pointer_compare)
10629             << FixItHint::CreateReplacement(E.get()->getExprLoc(),
10631     } else if (const auto *CE = dyn_cast<CStyleCastExpr>(E.get())) {
10635           Diag(E.get()->getExprLoc(), diag::warn_pointer_compare)
10637               << FixItHint::CreateReplacement(E.get()->getExprLoc(),