Home
last modified time | relevance | path

Searched refs:ArgRange (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp191 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToSubscriptGetCommon() local
194 ArgRange.getBegin()), in rewriteToSubscriptGetCommon()
196 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon()
197 ArgRange); in rewriteToSubscriptGetCommon()
198 commit.insertWrap("[", ArgRange, "]"); in rewriteToSubscriptGetCommon()
402 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToArrayLiteral() local
403 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToArrayLiteral()
404 commit.insertWrap("@[", ArgRange, "]"); in rewriteToArrayLiteral()
423 SourceRange ArgRange(Msg->getArg(0)->getLocStart(), in rewriteToArrayLiteral() local
425 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToArrayLiteral()
[all …]
/external/clang/lib/AST/
DCommentSema.cpp242 SourceRange ArgRange(ArgLocBegin, ArgLocEnd); in actOnParamCommandDirectionArg() local
247 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); in actOnParamCommandDirectionArg()
249 Diag(ArgLocBegin, diag::warn_doc_param_invalid_direction) << ArgRange; in actOnParamCommandDirectionArg()
324 SourceRange ArgRange(ArgLocBegin, ArgLocEnd); in actOnTParamCommandParamNameArg() local
326 << Arg << ArgRange; in actOnTParamCommandParamNameArg()
334 SourceRange ArgRange(ArgLocBegin, ArgLocEnd); in actOnTParamCommandParamNameArg() local
336 << Arg << ArgRange; in actOnTParamCommandParamNameArg()
354 << FixItHint::CreateReplacement(ArgRange, CorrectedName); in actOnTParamCommandParamNameArg()
750 SourceRange ArgRange = PCC->getParamNameRange(); in resolveParamCommandIndexes() local
751 Diag(ArgRange.getBegin(), diag::warn_doc_param_duplicate) in resolveParamCommandIndexes()
[all …]
DDecl.cpp2207 SourceRange ArgRange = getDefaultArgRange(); in getSourceRange() local
2208 if (ArgRange.isValid()) in getSourceRange()
2209 return SourceRange(getOuterLocStart(), ArgRange.getEnd()); in getSourceRange()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp66 bool PreVisitProcessArg(CheckerContext &C, SVal V, SourceRange ArgRange,
85 const SourceRange &ArgRange,
134 const SourceRange &ArgRange, in uninitRefOrPointer() argument
168 R->addRange(ArgRange); in uninitRefOrPointer()
182 SourceRange ArgRange, in PreVisitProcessArg() argument
192 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD)) in PreVisitProcessArg()
203 R->addRange(ArgRange); in PreVisitProcessArg()
285 R->addRange(ArgRange); in PreVisitProcessArg()
/external/llvm/lib/TableGen/
DRecord.cpp1538 ArrayRef<Init *> ArgRange, in ProfileDagInit() argument
1543 ArrayRef<Init *>::iterator Arg = ArgRange.begin(); in ProfileDagInit()
1545 while (Arg != ArgRange.end()) { in ProfileDagInit()
1555 ArrayRef<Init *> ArgRange, in get() argument
1561 ProfileDagInit(ID, V, VN, ArgRange, NameRange); in get()
1567 DagInit *I = new DagInit(V, VN, ArgRange, NameRange); in get()
/external/llvm/include/llvm/TableGen/
DRecord.h1264 ArrayRef<Init *> ArgRange, in DagInit() argument
1267 Args(ArgRange.begin(), ArgRange.end()), in DagInit()
1278 ArrayRef<Init *> ArgRange,
/external/clang/lib/Sema/
DSemaExpr.cpp3319 SourceRange ArgRange) { in CheckVecStepTraitOperandType() argument
3326 << T << ArgRange; in CheckVecStepTraitOperandType()
3337 SourceRange ArgRange, in CheckExtensionTraitOperandType() argument
3348 << TraitKind << ArgRange; in CheckExtensionTraitOperandType()
3357 S.Diag(Loc, DiagID) << TraitKind << ArgRange; in CheckExtensionTraitOperandType()
3366 SourceRange ArgRange, in CheckObjCTraitOperandConstraints() argument
3373 << ArgRange; in CheckObjCTraitOperandConstraints()
3672 void *TyOrEx, const SourceRange &ArgRange) { in ActOnUnaryExprOrTypeTraitExpr() argument
3679 return CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, ArgRange); in ActOnUnaryExprOrTypeTraitExpr()
DSemaChecking.cpp4083 SourceRange ArgRange = Call->getArg(ArgIdx)->getSourceRange(); in CheckMemaccessArguments() local
4204 << FixItHint::CreateInsertion(ArgRange.getBegin(), "(void*)")); in CheckMemaccessArguments()
/external/clang/include/clang/Sema/
DSema.h3491 const SourceRange &ArgRange);