Home
last modified time | relevance | path

Searched refs:getOperatorLoc (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp59 Exp->getOperatorLoc())) { in VisitBinaryOperator()
/external/clang/lib/Analysis/
DReachableCode.cpp515 return BO->getOperatorLoc(); in GetUnreachableLoc()
520 return UO->getOperatorLoc(); in GetUnreachableLoc()
526 return CAO->getOperatorLoc(); in GetUnreachableLoc()
/external/clang/tools/libclang/
DIndexBody.cpp129 if (E->getOperatorLoc().isInvalid()) in TraverseCXXOperatorCallExpr()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp453 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnaryOperator()
461 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitOffsetOfExpr()
501 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnaryExprOrTypeTraitExpr()
556 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitMemberExpr()
603 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitBinaryOperator()
1213 Writer.AddSourceRange(SourceRange(E->getOperatorLoc(), E->getRParenLoc()), in VisitCXXNamedCastExpr()
1364 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitCXXPseudoDestructorExpr()
1410 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitCXXDependentScopeMemberExpr()
1479 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnresolvedMemberExpr()
/external/clang/lib/Sema/
DSemaOpenMP.cpp2178 BO->getSourceRange(), BO->getOperatorLoc()); in CheckCond()
2183 BO->getSourceRange(), BO->getOperatorLoc()); in CheckCond()
2196 CE->getOperatorLoc()); in CheckCond()
2200 CE->getOperatorLoc()); in CheckCond()
3390 OpLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
3416 NoteLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
3428 NoteLoc = AtomicBinOp->getOperatorLoc(); in checkBinaryOperation()
3463 OpLoc = AtomicCompAssignOp->getOperatorLoc(); in checkStatement()
3478 OpLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
3486 NoteLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
[all …]
DSemaPseudoObject.cpp76 uop->getOperatorLoc()); in rebuild()
1614 uop->getOperatorLoc()); in recreateSyntacticForm()
1625 cop->getOperatorLoc(), false); in recreateSyntacticForm()
1632 bop->getOperatorLoc(), false); in recreateSyntacticForm()
DSemaChecking.cpp4673 S.Diag(Size->getOperatorLoc(), diag::warn_memsize_comparison) in CheckMemorySizeofForComparison()
6026 S.Diag(E->getOperatorLoc(), diag::warn_lunsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6030 S.Diag(E->getOperatorLoc(), diag::warn_lunsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6034 S.Diag(E->getOperatorLoc(), diag::warn_runsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6038 S.Diag(E->getOperatorLoc(), diag::warn_runsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6246 E->getOperatorLoc(), E, in DiagnoseOutOfRangeComparison()
6256 AnalyzeImplicitConversions(S, E->getLHS(), E->getOperatorLoc()); in AnalyzeImpConvsInComparison()
6257 AnalyzeImplicitConversions(S, E->getRHS(), E->getOperatorLoc()); in AnalyzeImpConvsInComparison()
6330 AnalyzeImplicitConversions(S, LHS, E->getOperatorLoc()); in AnalyzeComparison()
6331 AnalyzeImplicitConversions(S, RHS, E->getOperatorLoc()); in AnalyzeComparison()
[all …]
DTreeTransform.h7417 return getDerived().RebuildUnaryOperator(E->getOperatorLoc(), in TransformUnaryOperator()
7483 return getDerived().RebuildOffsetOfExpr(E->getOperatorLoc(), Type, in TransformOffsetOfExpr()
7538 return getDerived().RebuildUnaryExprOrTypeTrait(NewT, E->getOperatorLoc(), in TransformUnaryExprOrTypeTraitExpr()
7563 RecoveryTSI, E->getOperatorLoc(), E->getKind(), E->getSourceRange()); in TransformUnaryExprOrTypeTraitExpr()
7571 E->getOperatorLoc(), in TransformUnaryExprOrTypeTraitExpr()
7725 return getDerived().RebuildBinaryOperator(E->getOperatorLoc(), E->getOpcode(), in TransformBinaryOperator()
8162 E->getOperatorLoc(), in TransformCXXOperatorCallExpr()
8224 E->getOperatorLoc(), E->getStmtClass(), E->getAngleBrackets().getBegin(), in TransformCXXNamedCastExpr()
8614 E->getOperatorLoc(), in TransformCXXPseudoDestructorExpr()
8671 E->getOperatorLoc(), in TransformCXXPseudoDestructorExpr()
[all …]
DSemaExpr.cpp531 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
534 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
3612 warnOnSizeofOnArrayDecay(*this, BO->getOperatorLoc(), BO->getType(), in CheckUnaryExprOrTypeTraitOperand()
3614 warnOnSizeofOnArrayDecay(*this, BO->getOperatorLoc(), BO->getType(), in CheckUnaryExprOrTypeTraitOperand()
8310 S.Diag(UO->getOperatorLoc(), diag::warn_logical_not_on_lhs_of_comparison) in diagnoseLogicalNotOnLHSofComparison()
8319 S.Diag(UO->getOperatorLoc(), diag::note_logical_not_fix) in diagnoseLogicalNotOnLHSofComparison()
8329 S.Diag(UO->getOperatorLoc(), diag::note_logical_not_silence_with_parens) in diagnoseLogicalNotOnLHSofComparison()
9298 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands()
9300 Loc.getLocWithOffset(1) == UO->getOperatorLoc() && in CheckAssignmentOperands()
9307 << SourceRange(UO->getOperatorLoc(), UO->getOperatorLoc()); in CheckAssignmentOperands()
[all …]
DSemaExprObjC.cpp3114 SourceRange range(NCE->getOperatorLoc(), in addFixitForObjCARCConversion()
3165 SourceRange Range(NCE->getOperatorLoc(), in addFixitForObjCARCConversion()
3868 uo->getOperatorLoc()); in stripARCUnbridgedCast()
DSemaStmt.cpp135 Loc = Op->getOperatorLoc(); in DiagnoseUnusedComparison()
154 Loc = Op->getOperatorLoc(); in DiagnoseUnusedComparison()
DAnalysisBasedWarnings.cpp754 BO->getOperatorLoc())); in DiagUninitUse()
DSemaOverload.cpp12408 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
12419 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
12495 Context, Base, MemExpr->isArrow(), MemExpr->getOperatorLoc(), in FixOverloadedFunctionReference()
DSemaTemplate.cpp4372 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4432 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
DSemaExprCXX.cpp5221 BO->getObjectKind(), BO->getOperatorLoc(), BO->isFPContractable()); in ActOnDecltypeExpression()
/external/clang/include/clang/AST/
DExprCXX.h87 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc() function
93 : getOperatorLoc(); in getExprLoc()
212 SourceLocation getOperatorLoc() const { return Loc; } in getOperatorLoc() function
2004 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3047 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3285 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3521 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
DExpr.h1701 SourceLocation getOperatorLoc() const { return Loc; } in getOperatorLoc() function
1909 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
2042 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() function
2544 SourceLocation getOperatorLoc() const LLVM_READONLY { return OperatorLoc; } in getOperatorLoc() function
2956 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() function
/external/clang/lib/AST/
DExprCXX.cpp511 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
514 return SourceRange(getArg(0)->getLocStart(), getOperatorLoc()); in getSourceRangeImpl()
522 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
526 return getOperatorLoc(); in getSourceRangeImpl()
DASTImporter.cpp4484 … Importer.Import(E->getOperatorLoc())); in VisitUnaryOperator()
4498 Importer.Import(E->getOperatorLoc()), in VisitUnaryExprOrTypeTraitExpr()
4508 Importer.Import(E->getOperatorLoc()), in VisitUnaryExprOrTypeTraitExpr()
4528 Importer.Import(E->getOperatorLoc()), in VisitBinaryOperator()
4558 Importer.Import(E->getOperatorLoc()), in VisitCompoundAssignOperator()
DExpr.cpp2064 Loc = UO->getOperatorLoc(); in isUnusedResultAWarning()
2094 Loc = BO->getOperatorLoc(); in isUnusedResultAWarning()
2151 Loc = Op->getOperatorLoc(); in isUnusedResultAWarning()
/external/clang/unittests/AST/
DSourceLocationTest.cpp115 return Node.getOperatorLoc(); in getRange()
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp612 return PathDiagnosticLocation(BO->getOperatorLoc(), SM, SingleLocK); in createOperatorLoc()