Home
last modified time | relevance | path

Searched refs:ArgRange (Results 1 – 11 of 11) 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.cpp2311 SourceRange ArgRange = getDefaultArgRange(); in getSourceRange() local
2312 if (ArgRange.isValid()) in getSourceRange()
2313 return SourceRange(getOuterLocStart(), ArgRange.getEnd()); in getSourceRange()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp73 bool PreVisitProcessArg(CheckerContext &C, SVal V, SourceRange ArgRange,
92 SourceRange ArgRange,
141 SourceRange ArgRange, in uninitRefOrPointer() argument
175 R->addRange(ArgRange); in uninitRefOrPointer()
189 SourceRange ArgRange, in PreVisitProcessArg() argument
199 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD)) in PreVisitProcessArg()
210 R->addRange(ArgRange); in PreVisitProcessArg()
292 R->addRange(ArgRange); in PreVisitProcessArg()
/external/llvm/lib/TableGen/
DRecord.cpp1444 ArrayRef<Init *> ArgRange, in ProfileDagInit() argument
1449 ArrayRef<Init *>::iterator Arg = ArgRange.begin(); in ProfileDagInit()
1451 while (Arg != ArgRange.end()) { in ProfileDagInit()
1461 ArrayRef<Init *> ArgRange, in get() argument
1467 ProfileDagInit(ID, V, VN, ArgRange, NameRange); in get()
1473 DagInit *I = new DagInit(V, VN, ArgRange, NameRange); in get()
/external/llvm/include/llvm/TableGen/
DRecord.h1037 ArrayRef<Init *> ArgRange, in DagInit() argument
1040 Args(ArgRange.begin(), ArgRange.end()), in DagInit()
1051 ArrayRef<Init *> ArgRange,
/external/clang/lib/CodeGen/
DCodeGenFunction.h3116 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange,
3120 CallExpr::const_arg_iterator Arg = ArgRange.begin();
3133 assert(Arg != ArgRange.end() && "Running over edge of argument list!");
3150 assert((Arg == ArgRange.end() || !CallArgTypeInfo ||
3155 for (auto *A : llvm::make_range(Arg, ArgRange.end()))
3158 EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip);
3162 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange,
DCGCall.cpp2832 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange, in EmitCallArgs() argument
2834 assert((int)ArgTypes.size() == (ArgRange.end() - ArgRange.begin())); in EmitCallArgs()
2866 CallExpr::const_arg_iterator Arg = ArgRange.begin() + I; in EmitCallArgs()
2880 CallExpr::const_arg_iterator Arg = ArgRange.begin() + I; in EmitCallArgs()
2881 assert(Arg != ArgRange.end()); in EmitCallArgs()
/external/clang/lib/Sema/
DSemaExpr.cpp3457 SourceRange ArgRange) { in CheckVecStepTraitOperandType() argument
3464 << T << ArgRange; in CheckVecStepTraitOperandType()
3475 SourceRange ArgRange, in CheckExtensionTraitOperandType() argument
3486 << TraitKind << ArgRange; in CheckExtensionTraitOperandType()
3495 S.Diag(Loc, DiagID) << TraitKind << ArgRange; in CheckExtensionTraitOperandType()
3504 SourceRange ArgRange, in CheckObjCTraitOperandConstraints() argument
3511 << ArgRange; in CheckObjCTraitOperandConstraints()
3819 void *TyOrEx, SourceRange ArgRange) { in ActOnUnaryExprOrTypeTraitExpr() argument
3826 return CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, ArgRange); in ActOnUnaryExprOrTypeTraitExpr()
DSemaChecking.cpp5261 SourceRange ArgRange = Call->getArg(ArgIdx)->getSourceRange(); in CheckMemaccessArguments() local
5389 << FixItHint::CreateInsertion(ArgRange.getBegin(), "(void*)")); in CheckMemaccessArguments()
/external/clang/include/clang/Sema/
DSema.h3819 SourceRange ArgRange);