Home
last modified time | relevance | path

Searched refs:BinaryOperatorKind (Results 1 – 25 of 27) sorted by relevance

12

/external/clang/include/clang/AST/
DOperationKinds.h28 enum BinaryOperatorKind { enum
DExprCXX.h4070 BinaryOperatorKind Opcode;
4076 BinaryOperatorKind Opcode, SourceLocation EllipsisLoc, Expr *RHS, in CXXFoldExpr()
4103 BinaryOperatorKind getOperator() const { return Opcode; } in getOperator()
DExpr.h2899 typedef BinaryOperatorKind Opcode;
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp61 static inline bool EvaluatesToZero(APSInt &Val, BinaryOperatorKind op) { in EvaluatesToZero()
83 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument()
DPointerArithChecker.cpp319 BinaryOperatorKind OpKind = BOp->getOpcode(); in checkPreStmt()
DIvarInvalidationChecker.cpp674 BinaryOperatorKind Opcode = BO->getOpcode(); in VisitBinaryOperator()
DCStringChecker.cpp1887 BinaryOperatorKind op = (compareRes == 1) ? BO_GT : BO_LT; in evalStrcmpCommon()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp215 BinaryOperatorKind opcode,
285 BinaryOperatorKind opcode,
325 BinaryOperatorKind opcode,
423 BinaryOperatorKind opcode, in buildAssignmentOperation()
456 BinaryOperatorKind nonCompound = in buildAssignmentOperation()
882 BinaryOperatorKind opcode, in buildAssignmentOperation()
990 BinaryOperatorKind opcode, in buildAssignmentOperation()
1583 BinaryOperatorKind opcode, in checkPseudoObjectAssignment()
DSemaTemplateVariadic.cpp986 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr()
991 BinaryOperatorKind Operator, in BuildCXXFoldExpr()
999 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr()
DSemaExpr.cpp6904 static bool IsArithmeticOp(BinaryOperatorKind Opc) { in IsArithmeticOp()
6914 static bool IsArithmeticBinaryExpr(Expr *E, BinaryOperatorKind *Opcode, in IsArithmeticBinaryExpr()
6942 BinaryOperatorKind OpKind = BinaryOperator::getOverloadedOpcode(OO); in IsArithmeticBinaryExpr()
6980 BinaryOperatorKind CondOpcode; in DiagnoseConditionalPrecedence()
8351 SourceLocation Loc, BinaryOperatorKind Opc, in CheckAdditionOperands()
8528 SourceLocation Loc, BinaryOperatorKind Opc, in DiagnoseBadShiftValues()
8671 SourceLocation Loc, BinaryOperatorKind Opc, in CheckShiftOperands()
8990 BinaryOperatorKind Opc) { in diagnoseLogicalNotOnLHSofComparison()
9045 SourceLocation Loc, BinaryOperatorKind Opc, in CheckCompareOperands()
9554 BinaryOperatorKind Opc) { in CheckLogicalOperands()
[all …]
DTreeTransform.h2165 BinaryOperatorKind Opc, in RebuildBinaryOperator()
3093 BinaryOperatorKind Operator, in RebuildCXXFoldExpr()
3105 BinaryOperatorKind Operator) { in RebuildEmptyCXXFoldExpr()
11752 BinaryOperatorKind Opc = BinaryOperator::getOverloadedOpcode(Op); in RebuildCXXOperatorCallExpr()
11793 BinaryOperatorKind Opc = BinaryOperator::getOverloadedOpcode(Op); in RebuildCXXOperatorCallExpr()
11850 BinaryOperatorKind Opc = BinaryOperator::getOverloadedOpcode(Op); in RebuildCXXOperatorCallExpr()
DSemaChecking.cpp6641 BinaryOperatorKind op = B->getOpcode(); in EvalAddr()
7407 BinaryOperatorKind op = E->getOpcode(); in CheckTrivialUnsignedComparison()
7451 BinaryOperatorKind op = E->getOpcode(); in DiagnoseOutOfRangeComparison()
DSemaOpenMP.cpp5396 BinaryOperatorKind BOK = (I->second == OO_Plus) ? BO_Add : BO_Sub; in CheckOpenMPLoop()
6068 BinaryOperatorKind Op;
8995 BinaryOperatorKind BOK = BO_Comma; in ActOnOpenMPReductionClause()
DSemaExprObjC.cpp4015 BinaryOperatorKind Opc) { in CheckObjCARCConversion()
/external/clang/lib/Analysis/
DCFG.cpp58 static std::tuple<const DeclRefExpr *, BinaryOperatorKind, const Expr *>
60 BinaryOperatorKind Op = B->getOpcode(); in tryNormalizeBinaryOperator()
667 BinaryOperatorKind Bok = B->getOpcode(); in checkIncorrectRelationalOperator()
732 TryResult analyzeLogicOperatorCondition(BinaryOperatorKind Relation, in analyzeLogicOperatorCondition()
772 BinaryOperatorKind BO1; in checkIncorrectLogicOperator()
780 BinaryOperatorKind BO2; in checkIncorrectLogicOperator()
/external/clang/include/clang/Sema/
DSema.h2637 BinaryOperatorKind Opc,
4051 static BinaryOperatorKind ConvertTokenKindToBinaryOpcode(tok::TokenKind Kind);
4057 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
4058 ExprResult CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc,
4673 BinaryOperatorKind Operator,
4677 BinaryOperatorKind Operator);
8769 BinaryOperatorKind Opc, QualType* CompLHSTy = nullptr);
8775 BinaryOperatorKind Opc, bool IsCompAssign = false);
8778 BinaryOperatorKind Opc, bool isRelational);
8784 BinaryOperatorKind Opc);
[all …]
/external/clang/lib/AST/
DStmtProfile.cpp1000 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall()
1188 BinaryOperatorKind BinaryOp = BO_Comma; in VisitCXXOperatorCallExpr()
DExprConstant.cpp1803 BinaryOperatorKind Opcode, APSInt RHS, in handleIntIntBinOp()
1901 APFloat &LHS, BinaryOperatorKind Opcode, in handleFloatFloatBinOp()
2960 BinaryOperatorKind Opcode;
3058 BinaryOperatorKind Opcode, const APValue &RVal) { in handleCompoundAssignment()
DExpr.cpp1704 BinaryOperatorKind
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp716 BinaryOperatorKind Op = cast<BinaryOperator>(S)->getOpcode(); in getNextStmt()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp1083 static CompoundFunc getComplexOp(BinaryOperatorKind Op) { in getComplexOp()
DCGStmtOpenMP.cpp2889 BinaryOperatorKind BO, in emitOMPAtomicRMW()
2980 LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart, in EmitOMPAtomicSimpleUpdateExpr()
DCodeGenFunction.h2388 LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart,
DCGExprScalar.cpp934 BinaryOperatorKind Opcode = Info.Opcode; in EmitBinOpCheck()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1660 E->Opcode = (BinaryOperatorKind)Record[Idx++]; in VisitCXXFoldExpr()

12