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.cpp130 if (E->getOperatorLoc().isInvalid()) in TraverseCXXOperatorCallExpr()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp473 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnaryOperator()
481 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitOffsetOfExpr()
521 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnaryExprOrTypeTraitExpr()
586 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitMemberExpr()
633 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitBinaryOperator()
1257 Writer.AddSourceRange(SourceRange(E->getOperatorLoc(), E->getRParenLoc()), in VisitCXXNamedCastExpr()
1408 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitCXXPseudoDestructorExpr()
1454 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitCXXDependentScopeMemberExpr()
1523 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnresolvedMemberExpr()
/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.cpp5110 … Importer.Import(E->getOperatorLoc())); in VisitUnaryOperator()
5124 Importer.Import(E->getOperatorLoc()), in VisitUnaryExprOrTypeTraitExpr()
5134 Importer.Import(E->getOperatorLoc()), in VisitUnaryExprOrTypeTraitExpr()
5154 Importer.Import(E->getOperatorLoc()), in VisitBinaryOperator()
5184 Importer.Import(E->getOperatorLoc()), in VisitCompoundAssignOperator()
5296 Importer.Import(E->getOperatorLoc()), in VisitMemberExpr()
DExpr.cpp2104 Loc = UO->getOperatorLoc(); in isUnusedResultAWarning()
2134 Loc = BO->getOperatorLoc(); in isUnusedResultAWarning()
2191 Loc = Op->getOperatorLoc(); in isUnusedResultAWarning()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp135 uop->getOperatorLoc()); in rebuild()
1641 uop->getOperatorLoc()); in recreateSyntacticForm()
1652 cop->getOperatorLoc(), false); in recreateSyntacticForm()
1659 bop->getOperatorLoc(), false); in recreateSyntacticForm()
DSemaOpenMP.cpp2983 BO->getSourceRange(), BO->getOperatorLoc()); in CheckCond()
2988 BO->getSourceRange(), BO->getOperatorLoc()); in CheckCond()
3001 CE->getOperatorLoc()); in CheckCond()
3005 CE->getOperatorLoc()); in CheckCond()
4733 OpLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
4759 NoteLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
4771 NoteLoc = AtomicBinOp->getOperatorLoc(); in checkBinaryOperation()
4806 OpLoc = AtomicCompAssignOp->getOperatorLoc(); in checkStatement()
4821 OpLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
4829 NoteLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
[all …]
DSemaChecking.cpp5161 S.Diag(Size->getOperatorLoc(), diag::warn_memsize_comparison) in CheckMemorySizeofForComparison()
6518 S.Diag(E->getOperatorLoc(), diag::warn_lunsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6522 S.Diag(E->getOperatorLoc(), diag::warn_lunsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6526 S.Diag(E->getOperatorLoc(), diag::warn_runsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6530 S.Diag(E->getOperatorLoc(), diag::warn_runsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
6738 E->getOperatorLoc(), E, in DiagnoseOutOfRangeComparison()
6748 AnalyzeImplicitConversions(S, E->getLHS(), E->getOperatorLoc()); in AnalyzeImpConvsInComparison()
6749 AnalyzeImplicitConversions(S, E->getRHS(), E->getOperatorLoc()); in AnalyzeImpConvsInComparison()
6822 AnalyzeImplicitConversions(S, LHS, E->getOperatorLoc()); in AnalyzeComparison()
6823 AnalyzeImplicitConversions(S, RHS, E->getOperatorLoc()); in AnalyzeComparison()
[all …]
DTreeTransform.h8040 return getDerived().RebuildUnaryOperator(E->getOperatorLoc(), in TransformUnaryOperator()
8106 return getDerived().RebuildOffsetOfExpr(E->getOperatorLoc(), Type, in TransformOffsetOfExpr()
8160 return getDerived().RebuildUnaryExprOrTypeTrait(NewT, E->getOperatorLoc(), in TransformUnaryExprOrTypeTraitExpr()
8185 RecoveryTSI, E->getOperatorLoc(), E->getKind(), E->getSourceRange()); in TransformUnaryExprOrTypeTraitExpr()
8193 E->getOperatorLoc(), in TransformUnaryExprOrTypeTraitExpr()
8377 return getDerived().RebuildBinaryOperator(E->getOperatorLoc(), E->getOpcode(), in TransformBinaryOperator()
8833 E->getOperatorLoc(), in TransformCXXOperatorCallExpr()
8895 E->getOperatorLoc(), E->getStmtClass(), E->getAngleBrackets().getBegin(), in TransformCXXNamedCastExpr()
9285 E->getOperatorLoc(), in TransformCXXPseudoDestructorExpr()
9342 E->getOperatorLoc(), in TransformCXXPseudoDestructorExpr()
[all …]
DSemaExpr.cpp554 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
557 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
3610 warnOnSizeofOnArrayDecay(*this, BO->getOperatorLoc(), BO->getType(), in CheckUnaryExprOrTypeTraitOperand()
3612 warnOnSizeofOnArrayDecay(*this, BO->getOperatorLoc(), BO->getType(), in CheckUnaryExprOrTypeTraitOperand()
8567 S.Diag(UO->getOperatorLoc(), diag::warn_logical_not_on_lhs_of_comparison) in diagnoseLogicalNotOnLHSofComparison()
8576 S.Diag(UO->getOperatorLoc(), diag::note_logical_not_fix) in diagnoseLogicalNotOnLHSofComparison()
8586 S.Diag(UO->getOperatorLoc(), diag::note_logical_not_silence_with_parens) in diagnoseLogicalNotOnLHSofComparison()
9562 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands()
9564 Loc.getLocWithOffset(1) == UO->getOperatorLoc() && in CheckAssignmentOperands()
9571 << SourceRange(UO->getOperatorLoc(), UO->getOperatorLoc()); in CheckAssignmentOperands()
[all …]
DSemaExprObjC.cpp3365 SourceRange range(NCE->getOperatorLoc(), in addFixitForObjCARCConversion()
3416 SourceRange Range(NCE->getOperatorLoc(), in addFixitForObjCARCConversion()
4119 uo->getOperatorLoc()); in stripARCUnbridgedCast()
DSemaStmt.cpp136 Loc = Op->getOperatorLoc(); in DiagnoseUnusedComparison()
155 Loc = Op->getOperatorLoc(); in DiagnoseUnusedComparison()
DAnalysisBasedWarnings.cpp766 BO->getOperatorLoc())); in DiagUninitUse()
DSemaTemplate.cpp4454 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4514 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
DSemaOverload.cpp12769 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
12780 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
12856 Context, Base, MemExpr->isArrow(), MemExpr->getOperatorLoc(), in FixOverloadedFunctionReference()
DSemaExprCXX.cpp5547 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
2127 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3182 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3422 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3669 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
DExpr.h1741 SourceLocation getOperatorLoc() const { return Loc; } in getOperatorLoc() function
1949 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
2082 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() function
2583 SourceLocation getOperatorLoc() const LLVM_READONLY { return OperatorLoc; } in getOperatorLoc() function
3003 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() function
/external/clang/unittests/AST/
DSourceLocationTest.cpp115 return Node.getOperatorLoc(); in getRange()
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp610 return PathDiagnosticLocation(BO->getOperatorLoc(), SM, SingleLocK); in createOperatorLoc()