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

References

tools/clang/lib/Sema/SemaExpr.cpp
11342   if (LHS.get()->getType()->isVectorType() || RHS.get()->getType()->isVectorType())
11343     return CheckVectorLogicalOperands(LHS, RHS, Loc);
11346   for (const ExprResult &HS : {LHS, RHS}) {
11362       RHS.get()->getType()->isIntegerType() && !RHS.get()->isValueDependent() &&
11362       RHS.get()->getType()->isIntegerType() && !RHS.get()->isValueDependent() &&
11370     if (RHS.get()->EvaluateAsInt(EVResult, Context)) {
11372       if ((getLangOpts().Bool && !RHS.get()->getType()->isBooleanType() &&
11373            !RHS.get()->getExprLoc().isMacroID()) ||
11376           << RHS.get()->getSourceRange()
11389                                  RHS.get()->getEndLoc()));
11400           RHS.get()->getType()->isFloatingType())
11401         return InvalidOperands(Loc, LHS, RHS);
11408     RHS = UsualUnaryConversions(RHS.get());
11408     RHS = UsualUnaryConversions(RHS.get());
11409     if (RHS.isInvalid())
11413         !RHS.get()->getType()->isScalarType())
11414       return InvalidOperands(Loc, LHS, RHS);
11427     return InvalidOperands(Loc, LHS, RHS);
11430   ExprResult RHSRes = PerformContextuallyConvertToBool(RHS.get());
11432     return InvalidOperands(Loc, LHS, RHS);
11433   RHS = RHSRes;