Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp151 OperatorKind operationKindFromOverloadedOperator(OverloadedOperatorKind OOK, in operationKindFromOverloadedOperator() argument
162 switch (OOK) { in operationKindFromOverloadedOperator()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h110 OperatorKind operationKindFromOverloadedOperator(OverloadedOperatorKind OOK,
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp238 OOK = OO_Plus; in parseOpenMPReductionId()
241 OOK = OO_Minus; in parseOpenMPReductionId()
244 OOK = OO_Star; in parseOpenMPReductionId()
247 OOK = OO_Amp; in parseOpenMPReductionId()
250 OOK = OO_Pipe; in parseOpenMPReductionId()
253 OOK = OO_Caret; in parseOpenMPReductionId()
256 OOK = OO_AmpAmp; in parseOpenMPReductionId()
259 OOK = OO_PipePipe; in parseOpenMPReductionId()
4109 OOK = OO_Plus; in ParseReductionId()
4115 OOK = OO_Star; in ParseReductionId()
[all …]
H A DParseExpr.cpp2670 auto OOK = Sema::OffsetOfKind::OOK_Builtin; in ParseBuiltinPrimaryExpression() local
2675 OOK = Sema::OffsetOfKind::OOK_Macro; in ParseBuiltinPrimaryExpression()
2679 OffsetOfStateRAIIObject InOffsetof(*this, OOK); in ParseBuiltinPrimaryExpression()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2159 OverloadedOperatorKind OOK = in VisitOMPReductionClause() local
2161 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPReductionClause()
2163 OS << getOperatorSpelling(OOK); in VisitOMPReductionClause()
2182 OverloadedOperatorKind OOK = in VisitOMPTaskReductionClause() local
2184 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPTaskReductionClause()
2186 OS << getOperatorSpelling(OOK); in VisitOMPTaskReductionClause()
2204 OverloadedOperatorKind OOK = in VisitOMPInReductionClause() local
2206 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPInReductionClause()
2208 OS << getOperatorSpelling(OOK); in VisitOMPInReductionClause()
H A DDeclCXX.cpp2189 OverloadedOperatorKind OOK = getDeclName().getCXXOverloadedOperator(); in isStatic() local
2190 return isStaticOverloadedOperator(OOK); in isStatic()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2095 static bool isStaticOverloadedOperator(OverloadedOperatorKind OOK) { in isStaticOverloadedOperator() argument
2101 return OOK == OO_New || OOK == OO_Array_New || OOK == OO_Delete || in isStaticOverloadedOperator()
2102 OOK == OO_Array_Delete; in isStaticOverloadedOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp8064 OverloadedOperatorKind OOK = OO_Amp);
9214 Expr *Inc, OverloadedOperatorKind OOK) { in buildOrderedLoopData() argument
9219 assert((OOK == OO_Plus || OOK == OO_Minus) && in buildOrderedLoopData()
19416 OverloadedOperatorKind OOK = DN.getCXXOverloadedOperator(); in actOnOMPReductionKindClause() local
19427 switch (OOK) { in actOnOMPReductionKindClause()
19509 if (OOK == OO_Minus && S.LangOpts.OpenMP == 52) in actOnOMPReductionKindClause()
20913 OverloadedOperatorKind OOK = OO_None; in ProcessOpenMPDoacrossClauseCommon() local
20923 OOK = OCE->getOperator(); in ProcessOpenMPDoacrossClauseCommon()
20928 OOK = MCE->getMethodDecl() in ProcessOpenMPDoacrossClauseCommon()
20947 if (OOK != OO_Plus && OOK != OO_Minus && (RHS || OOK != OO_None)) { in ProcessOpenMPDoacrossClauseCommon()
[all …]
H A DSemaDecl.cpp17225 OffsetOfKind OOK, SkipBodyInfo *SkipBody) { in ActOnTag() argument
18002 if (OOK != OOK_Outside && TUK == TUK_Definition && !getLangOpts().CPlusPlus) in ActOnTag()
18004 << (OOK == OOK_Macro) << New->getSourceRange(); in ActOnTag()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3400 OffsetOfKind OOK, SkipBodyInfo *SkipBody = nullptr);