Home
last modified time | relevance | path

Searched refs:getOperatorLoc (Results 1 – 25 of 25) 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/v8/tools/clang/pass_to_move/
DPassToMove.cpp64 result.SourceManager->getSpellingLoc(callee->getOperatorLoc()), in run()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp487 Record.AddSourceLocation(E->getOperatorLoc()); in VisitUnaryOperator()
495 Record.AddSourceLocation(E->getOperatorLoc()); in VisitOffsetOfExpr()
535 Record.AddSourceLocation(E->getOperatorLoc()); in VisitUnaryExprOrTypeTraitExpr()
600 Record.AddSourceLocation(E->getOperatorLoc()); in VisitMemberExpr()
647 Record.AddSourceLocation(E->getOperatorLoc()); in VisitBinaryOperator()
1279 Record.AddSourceRange(SourceRange(E->getOperatorLoc(), E->getRParenLoc())); in VisitCXXNamedCastExpr()
1422 Record.AddSourceLocation(E->getOperatorLoc()); in VisitCXXPseudoDestructorExpr()
1471 Record.AddSourceLocation(E->getOperatorLoc()); in VisitCXXDependentScopeMemberExpr()
1543 Record.AddSourceLocation(E->getOperatorLoc()); in VisitUnresolvedMemberExpr()
/external/clang/lib/AST/
DExprCXX.cpp440 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
443 return SourceRange(getArg(0)->getLocStart(), getOperatorLoc()); in getSourceRangeImpl()
451 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
455 return getOperatorLoc(); in getSourceRangeImpl()
DASTImporter.cpp5618 … Importer.Import(E->getOperatorLoc())); in VisitUnaryOperator()
5632 Importer.Import(E->getOperatorLoc()), in VisitUnaryExprOrTypeTraitExpr()
5642 Importer.Import(E->getOperatorLoc()), in VisitUnaryExprOrTypeTraitExpr()
5662 Importer.Import(E->getOperatorLoc()), in VisitBinaryOperator()
5762 Importer.Import(E->getOperatorLoc()), in VisitCompoundAssignOperator()
5905 Importer.Import(E->getOperatorLoc()), in VisitMemberExpr()
6014 SourceLocation ToOperatorLoc = Importer.Import(E->getOperatorLoc()); in VisitCXXNamedCastExpr()
DExpr.cpp1951 Loc = UO->getOperatorLoc(); in isUnusedResultAWarning()
1981 Loc = BO->getOperatorLoc(); in isUnusedResultAWarning()
2038 Loc = Op->getOperatorLoc(); in isUnusedResultAWarning()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp135 uop->getOperatorLoc()); in rebuild()
1642 uop->getOperatorLoc()); in recreateSyntacticForm()
1653 cop->getOperatorLoc(), false); in recreateSyntacticForm()
1660 bop->getOperatorLoc(), false); in recreateSyntacticForm()
DSemaOpenMP.cpp4229 BO->getSourceRange(), BO->getOperatorLoc()); in CheckCond()
4234 BO->getSourceRange(), BO->getOperatorLoc()); in CheckCond()
4247 CE->getOperatorLoc()); in CheckCond()
4251 CE->getOperatorLoc()); in CheckCond()
6124 OpLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
6150 NoteLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
6162 NoteLoc = AtomicBinOp->getOperatorLoc(); in checkBinaryOperation()
6197 OpLoc = AtomicCompAssignOp->getOperatorLoc(); in checkStatement()
6212 OpLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
6220 NoteLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
[all …]
DTreeTransform.h8350 return getDerived().RebuildUnaryOperator(E->getOperatorLoc(), in TransformUnaryOperator()
8415 return getDerived().RebuildOffsetOfExpr(E->getOperatorLoc(), Type, in TransformOffsetOfExpr()
8469 return getDerived().RebuildUnaryExprOrTypeTrait(NewT, E->getOperatorLoc(), in TransformUnaryExprOrTypeTraitExpr()
8494 RecoveryTSI, E->getOperatorLoc(), E->getKind(), E->getSourceRange()); in TransformUnaryExprOrTypeTraitExpr()
8502 E->getOperatorLoc(), in TransformUnaryExprOrTypeTraitExpr()
8686 return getDerived().RebuildBinaryOperator(E->getOperatorLoc(), E->getOpcode(), in TransformBinaryOperator()
9140 E->getOperatorLoc(), in TransformCXXOperatorCallExpr()
9202 E->getOperatorLoc(), E->getStmtClass(), E->getAngleBrackets().getBegin(), in TransformCXXNamedCastExpr()
9592 E->getOperatorLoc(), in TransformCXXPseudoDestructorExpr()
9649 E->getOperatorLoc(), in TransformCXXPseudoDestructorExpr()
[all …]
DSemaExpr.cpp566 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
569 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
3686 warnOnSizeofOnArrayDecay(*this, BO->getOperatorLoc(), BO->getType(), in CheckUnaryExprOrTypeTraitOperand()
3688 warnOnSizeofOnArrayDecay(*this, BO->getOperatorLoc(), BO->getType(), in CheckUnaryExprOrTypeTraitOperand()
9003 S.Diag(UO->getOperatorLoc(), diag::warn_logical_not_on_lhs_of_comparison) in diagnoseLogicalNotOnLHSofComparison()
9012 S.Diag(UO->getOperatorLoc(), diag::note_logical_not_fix) in diagnoseLogicalNotOnLHSofComparison()
9022 S.Diag(UO->getOperatorLoc(), diag::note_logical_not_silence_with_parens) in diagnoseLogicalNotOnLHSofComparison()
10011 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands()
10013 Loc.getLocWithOffset(1) == UO->getOperatorLoc() && in CheckAssignmentOperands()
10020 << SourceRange(UO->getOperatorLoc(), UO->getOperatorLoc()); in CheckAssignmentOperands()
[all …]
DSemaChecking.cpp6049 S.Diag(Size->getOperatorLoc(), diag::warn_memsize_comparison) in CheckMemorySizeofForComparison()
7412 S.Diag(E->getOperatorLoc(), diag::warn_lunsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
7416 S.Diag(E->getOperatorLoc(), diag::warn_lunsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
7420 S.Diag(E->getOperatorLoc(), diag::warn_runsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
7424 S.Diag(E->getOperatorLoc(), diag::warn_runsigned_always_true_comparison) in CheckTrivialUnsignedComparison()
7631 E->getOperatorLoc(), E, in DiagnoseOutOfRangeComparison()
7641 AnalyzeImplicitConversions(S, E->getLHS(), E->getOperatorLoc()); in AnalyzeImpConvsInComparison()
7642 AnalyzeImplicitConversions(S, E->getRHS(), E->getOperatorLoc()); in AnalyzeImpConvsInComparison()
7715 AnalyzeImplicitConversions(S, LHS, E->getOperatorLoc()); in AnalyzeComparison()
7716 AnalyzeImplicitConversions(S, RHS, E->getOperatorLoc()); in AnalyzeComparison()
[all …]
DSemaExprObjC.cpp3394 SourceRange range(NCE->getOperatorLoc(), in addFixitForObjCARCConversion()
3445 SourceRange Range(NCE->getOperatorLoc(), in addFixitForObjCARCConversion()
4168 uo->getOperatorLoc()); in stripARCUnbridgedCast()
DSemaStmt.cpp137 Loc = Op->getOperatorLoc(); in DiagnoseUnusedComparison()
156 Loc = Op->getOperatorLoc(); in DiagnoseUnusedComparison()
DAnalysisBasedWarnings.cpp766 BO->getOperatorLoc())); in DiagUninitUse()
DSemaOverload.cpp13025 (void)isCompleteType(UnOp->getOperatorLoc(), MemPtrType); in FixOverloadedFunctionReference()
13029 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
13040 UnOp->getOperatorLoc()); in FixOverloadedFunctionReference()
13116 Context, Base, MemExpr->isArrow(), MemExpr->getOperatorLoc(), in FixOverloadedFunctionReference()
DSemaTemplate.cpp4495 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4555 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
DSemaExprCXX.cpp5823 BO->getObjectKind(), BO->getOperatorLoc(), BO->isFPContractable()); in ActOnDecltypeExpression()
DSemaInit.cpp6185 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
/external/clang/include/clang/AST/
DExprCXX.h84 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc() function
90 : getOperatorLoc(); in getExprLoc()
228 SourceLocation getOperatorLoc() const { return Loc; } in getOperatorLoc() function
2196 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3221 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3454 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
3715 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
DExpr.h1699 SourceLocation getOperatorLoc() const { return Loc; } in getOperatorLoc() function
1909 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() function
2041 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() function
2508 SourceLocation getOperatorLoc() const LLVM_READONLY { return OperatorLoc; } in getOperatorLoc() function
2937 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() function
/external/clang/lib/Index/
DIndexBody.cpp256 if (E->getOperatorLoc().isInvalid()) in TraverseCXXOperatorCallExpr()
/external/clang/unittests/AST/
DSourceLocationTest.cpp115 return Node.getOperatorLoc(); in getRange()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc431 rewriter_.ReplaceText(expansionLoc(E->getOperatorLoc()), 1, pre); in VisitUnaryOperator()
1025 … rewriter_.ReplaceText(expansionRange(SourceRange(GET_BEGINLOC(E), E->getOperatorLoc())), text); in VisitBinaryOperator()
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp606 return PathDiagnosticLocation(BO->getOperatorLoc(), SM, SingleLocK); in createOperatorLoc()