Home
last modified time | relevance | path

Searched refs:OOK (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DSmartPtrChecker.cpp72 OverloadedOperatorKind OOK = OC->getOverloadedOperator(); in checkPreCall() local
73 if (OOK == OO_Star || OOK == OO_Arrow) { in checkPreCall()
H A DSmartPtrModeling.cpp262 const OverloadedOperatorKind OOK = FD->getOverloadedOperator(); in isStdOstreamOperatorCall() local
263 if (OOK != clang::OO_LessLess) in isStdOstreamOperatorCall()
459 const OverloadedOperatorKind OOK = FD->getOverloadedOperator(); in handleComparisionOp() local
460 if (!(OOK == OO_EqualEqual || OOK == OO_ExclaimEqual || OOK == OO_Less || in handleComparisionOp()
461 OOK == OO_LessEqual || OOK == OO_Greater || OOK == OO_GreaterEqual || in handleComparisionOp()
462 OOK == OO_Spaceship)) in handleComparisionOp()
497 operationKindFromOverloadedOperator(OOK, true).GetBinaryOpUnsafe(); in handleComparisionOp()
501 if (OOK != OO_Spaceship) { in handleComparisionOp()
738 OverloadedOperatorKind OOK = OC->getOverloadedOperator(); in handleAssignOp() local
739 if (OOK != OO_Equal) in handleAssignOp()
H A DMoveChecker.cpp654 OverloadedOperatorKind OOK = MethodDecl->getOverloadedOperator(); in checkPreCall() local
656 if (OOK == OO_Equal) { in checkPreCall()
673 if (OOK == OO_Star || OOK == OO_Arrow) { in checkPreCall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp152 OperatorKind operationKindFromOverloadedOperator(OverloadedOperatorKind OOK, in operationKindFromOverloadedOperator() argument
163 switch (OOK) { in operationKindFromOverloadedOperator()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h112 OperatorKind operationKindFromOverloadedOperator(OverloadedOperatorKind OOK,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp230 OverloadedOperatorKind OOK = OO_None; in parseOpenMPReductionId() local
240 OOK = OO_Plus; in parseOpenMPReductionId()
243 OOK = OO_Minus; in parseOpenMPReductionId()
246 OOK = OO_Star; in parseOpenMPReductionId()
249 OOK = OO_Amp; in parseOpenMPReductionId()
252 OOK = OO_Pipe; in parseOpenMPReductionId()
255 OOK = OO_Caret; in parseOpenMPReductionId()
258 OOK = OO_AmpAmp; in parseOpenMPReductionId()
261 OOK = OO_PipePipe; in parseOpenMPReductionId()
275 return OOK == OO_None ? DeclNames.getIdentifier(Tok.getIdentifierInfo()) in parseOpenMPReductionId()
[all …]
H A DParseExpr.cpp2744 auto OOK = Sema::OffsetOfKind::OOK_Builtin; in ParseBuiltinPrimaryExpression() local
2749 OOK = Sema::OffsetOfKind::OOK_Macro; in ParseBuiltinPrimaryExpression()
2753 OffsetOfStateRAIIObject InOffsetof(*this, OOK); in ParseBuiltinPrimaryExpression()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2161 OverloadedOperatorKind OOK = in VisitOMPReductionClause() local
2163 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPReductionClause()
2165 OS << getOperatorSpelling(OOK); in VisitOMPReductionClause()
2184 OverloadedOperatorKind OOK = in VisitOMPTaskReductionClause() local
2186 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPTaskReductionClause()
2188 OS << getOperatorSpelling(OOK); in VisitOMPTaskReductionClause()
2206 OverloadedOperatorKind OOK = in VisitOMPInReductionClause() local
2208 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPInReductionClause()
2210 OS << getOperatorSpelling(OOK); in VisitOMPInReductionClause()
H A DDeclCXX.cpp2230 OverloadedOperatorKind OOK = getDeclName().getCXXOverloadedOperator(); in isStatic() local
2231 return isStaticOverloadedOperator(OOK); in isStatic()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2109 static bool isStaticOverloadedOperator(OverloadedOperatorKind OOK) { in isStaticOverloadedOperator() argument
2115 return OOK == OO_New || OOK == OO_Array_New || OOK == OO_Delete || in isStaticOverloadedOperator()
2116 OOK == OO_Array_Delete; in isStaticOverloadedOperator()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp7870 OverloadedOperatorKind OOK = OO_Amp);
9020 Expr *Inc, OverloadedOperatorKind OOK) { in buildOrderedLoopData() argument
9025 assert((OOK == OO_Plus || OOK == OO_Minus) && in buildOrderedLoopData()
9027 BinaryOperatorKind BOK = (OOK == OO_Plus) ? BO_Add : BO_Sub; in buildOrderedLoopData()
18218 OverloadedOperatorKind OOK = DN.getCXXOverloadedOperator(); in actOnOMPReductionKindClause() local
18229 switch (OOK) { in actOnOMPReductionKindClause()
18311 if (OOK == OO_Minus && S.LangOpts.OpenMP == 52) in actOnOMPReductionKindClause()
19728 OverloadedOperatorKind OOK = OO_None; in ProcessOpenMPDoacrossClauseCommon() local
19733 OOK = BinaryOperator::getOverloadedOperator(BO->getOpcode()); in ProcessOpenMPDoacrossClauseCommon()
19738 OOK = OCE->getOperator(); in ProcessOpenMPDoacrossClauseCommon()
[all …]
H A DSemaDecl.cpp16987 OffsetOfKind OOK, SkipBodyInfo *SkipBody) { in ActOnTag() argument
17808 if (OOK != OOK_Outside && TUK == TagUseKind::Definition && in ActOnTag()
17811 << (OOK == OOK_Macro) << New->getSourceRange(); in ActOnTag()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3893 OffsetOfKind OOK, SkipBodyInfo *SkipBody = nullptr);