Home
last modified time | relevance | path

Searched refs:ArgRange (Results 1 – 25 of 25) 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/llvm-project/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp190 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToSubscriptGetCommon() local
193 ArgRange.getBegin()), in rewriteToSubscriptGetCommon()
195 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon()
196 ArgRange); in rewriteToSubscriptGetCommon()
197 commit.insertWrap("[", ArgRange, "]"); in rewriteToSubscriptGetCommon()
401 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToArrayLiteral() local
402 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToArrayLiteral()
403 commit.insertWrap("@[", ArgRange, "]"); in rewriteToArrayLiteral()
422 SourceRange ArgRange(Msg->getArg(0)->getBeginLoc(), in rewriteToArrayLiteral() local
424 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()
748 SourceRange ArgRange = PCC->getParamNameRange(); in resolveParamCommandIndexes() local
749 Diag(ArgRange.getBegin(), diag::warn_doc_param_duplicate) in resolveParamCommandIndexes()
[all …]
DDecl.cpp2353 SourceRange ArgRange = getDefaultArgRange(); in getSourceRange() local
2354 if (ArgRange.isValid()) in getSourceRange()
2355 return SourceRange(getOuterLocStart(), ArgRange.getEnd()); in getSourceRange()
/external/llvm-project/clang/lib/AST/
DCommentSema.cpp244 SourceRange ArgRange(ArgLocBegin, ArgLocEnd); in actOnParamCommandDirectionArg() local
249 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); in actOnParamCommandDirectionArg()
251 Diag(ArgLocBegin, diag::warn_doc_param_invalid_direction) << ArgRange; in actOnParamCommandDirectionArg()
326 SourceRange ArgRange(ArgLocBegin, ArgLocEnd); in actOnTParamCommandParamNameArg() local
328 << Arg << ArgRange; in actOnTParamCommandParamNameArg()
336 SourceRange ArgRange(ArgLocBegin, ArgLocEnd); in actOnTParamCommandParamNameArg() local
338 << Arg << ArgRange; in actOnTParamCommandParamNameArg()
356 << FixItHint::CreateReplacement(ArgRange, CorrectedName); in actOnTParamCommandParamNameArg()
769 SourceRange ArgRange = PCC->getParamNameRange(); in resolveParamCommandIndexes() local
770 Diag(ArgRange.getBegin(), diag::warn_doc_param_duplicate) in resolveParamCommandIndexes()
[all …]
DDecl.cpp2728 SourceRange ArgRange = getDefaultArgRange(); in getSourceRange() local
2729 if (ArgRange.isValid()) in getSourceRange()
2730 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-project/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp110 bool PreVisitProcessArg(CheckerContext &C, SVal V, SourceRange ArgRange,
129 SourceRange ArgRange, const Expr *ArgEx,
188 CheckerContext &C, const SVal &V, SourceRange ArgRange, const Expr *ArgEx, in uninitRefOrPointer() argument
226 R->addRange(ArgRange); in uninitRefOrPointer()
281 SourceRange ArgRange, in PreVisitProcessArg() argument
291 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD, in PreVisitProcessArg()
308 R->addRange(ArgRange); in PreVisitProcessArg()
354 R->addRange(ArgRange); in PreVisitProcessArg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp1914 ArrayRef<Init *> ArgRange, in ProfileDagInit() argument
1919 ArrayRef<Init *>::iterator Arg = ArgRange.begin(); in ProfileDagInit()
1921 while (Arg != ArgRange.end()) { in ProfileDagInit()
1930 DagInit::get(Init *V, StringInit *VN, ArrayRef<Init *> ArgRange, in get() argument
1935 ProfileDagInit(ID, V, VN, ArgRange, NameRange); in get()
1941 …void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *, StringInit *>(ArgRange.size(), NameRange.s… in get()
1942 DagInit *I = new(Mem) DagInit(V, VN, ArgRange.size(), NameRange.size()); in get()
1943 std::uninitialized_copy(ArgRange.begin(), ArgRange.end(), in get()
/external/llvm-project/clang/unittests/Tooling/
DSourceCodeTest.cpp542 auto ArgRange = CharSourceRange::getTokenRange(ArgLoc); in TEST() local
543 EXPECT_THAT_ERROR(validateEditRange(ArgRange, Context->getSourceManager()), in TEST()
/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp2000 ArrayRef<Init *> ArgRange, in ProfileDagInit() argument
2005 ArrayRef<Init *>::iterator Arg = ArgRange.begin(); in ProfileDagInit()
2007 while (Arg != ArgRange.end()) { in ProfileDagInit()
2016 DagInit::get(Init *V, StringInit *VN, ArrayRef<Init *> ArgRange, in get() argument
2021 ProfileDagInit(ID, V, VN, ArgRange, NameRange); in get()
2027 …void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *, StringInit *>(ArgRange.size(), NameRange.s… in get()
2028 DagInit *I = new(Mem) DagInit(V, VN, ArgRange.size(), NameRange.size()); in get()
2029 std::uninitialized_copy(ArgRange.begin(), ArgRange.end(), in get()
/external/llvm/lib/TableGen/
DRecord.cpp1502 ArrayRef<Init *> ArgRange, in ProfileDagInit() argument
1507 ArrayRef<Init *>::iterator Arg = ArgRange.begin(); in ProfileDagInit()
1509 while (Arg != ArgRange.end()) { in ProfileDagInit()
1519 ArrayRef<Init *> ArgRange, in get() argument
1525 ProfileDagInit(ID, V, VN, ArgRange, NameRange); in get()
1531 DagInit *I = new DagInit(V, VN, ArgRange, NameRange); in get()
/external/llvm/include/llvm/TableGen/
DRecord.h1114 ArrayRef<Init *> ArgRange, in DagInit() argument
1117 Args(ArgRange.begin(), ArgRange.end()), in DagInit()
1128 ArrayRef<Init *> ArgRange,
/external/clang/lib/CodeGen/
DCodeGenFunction.h3314 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange,
3318 CallExpr::const_arg_iterator Arg = ArgRange.begin();
3331 assert(Arg != ArgRange.end() && "Running over edge of argument list!");
3348 assert((Arg == ArgRange.end() || !CallArgTypeInfo ||
3353 for (auto *A : llvm::make_range(Arg, ArgRange.end()))
3356 EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip);
3360 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange,
DCGCall.cpp3175 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange, in EmitCallArgs() argument
3177 assert((int)ArgTypes.size() == (ArgRange.end() - ArgRange.begin())); in EmitCallArgs()
3209 CallExpr::const_arg_iterator Arg = ArgRange.begin() + I; in EmitCallArgs()
3223 CallExpr::const_arg_iterator Arg = ArgRange.begin() + I; in EmitCallArgs()
3224 assert(Arg != ArgRange.end()); in EmitCallArgs()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.h4595 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange,
4600 CallExpr::const_arg_iterator Arg = ArgRange.begin();
4613 assert(Arg != ArgRange.end() && "Running over edge of argument list!");
4630 assert((Arg == ArgRange.end() || !CallArgTypeInfo ||
4635 for (auto *A : llvm::make_range(Arg, ArgRange.end()))
4638 EmitCallArgs(Args, ArgTypes, ArgRange, AC, ParamsToSkip, Order);
4642 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange,
DCGCall.cpp3823 llvm::iterator_range<CallExpr::const_arg_iterator> ArgRange, in EmitCallArgs() argument
3825 assert((int)ArgTypes.size() == (ArgRange.end() - ArgRange.begin())); in EmitCallArgs()
3875 CallExpr::const_arg_iterator Arg = ArgRange.begin() + Idx; in EmitCallArgs()
/external/clang/lib/Sema/
DSemaExpr.cpp3533 SourceRange ArgRange) { in CheckVecStepTraitOperandType() argument
3540 << T << ArgRange; in CheckVecStepTraitOperandType()
3551 SourceRange ArgRange, in CheckExtensionTraitOperandType() argument
3562 << TraitKind << ArgRange; in CheckExtensionTraitOperandType()
3571 S.Diag(Loc, DiagID) << TraitKind << ArgRange; in CheckExtensionTraitOperandType()
3580 SourceRange ArgRange, in CheckObjCTraitOperandConstraints() argument
3587 << ArgRange; in CheckObjCTraitOperandConstraints()
4041 void *TyOrEx, SourceRange ArgRange) { in ActOnUnaryExprOrTypeTraitExpr() argument
4048 return CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, ArgRange); in ActOnUnaryExprOrTypeTraitExpr()
DSemaChecking.cpp6149 SourceRange ArgRange = Call->getArg(ArgIdx)->getSourceRange(); in CheckMemaccessArguments() local
6277 << FixItHint::CreateInsertion(ArgRange.getBegin(), "(void*)")); in CheckMemaccessArguments()
/external/llvm-project/llvm/include/llvm/TableGen/
DRecord.h1297 static DagInit *get(Init *V, StringInit *VN, ArrayRef<Init *> ArgRange,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h1325 static DagInit *get(Init *V, StringInit *VN, ArrayRef<Init *> ArgRange,
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp3998 SourceRange ArgRange) { in CheckVecStepTraitOperandType() argument
4005 << T << ArgRange; in CheckVecStepTraitOperandType()
4016 SourceRange ArgRange, in CheckExtensionTraitOperandType() argument
4028 << getTraitSpelling(TraitKind) << ArgRange; in CheckExtensionTraitOperandType()
4037 S.Diag(Loc, DiagID) << getTraitSpelling(TraitKind) << ArgRange; in CheckExtensionTraitOperandType()
4046 SourceRange ArgRange, in CheckObjCTraitOperandConstraints() argument
4053 << ArgRange; in CheckObjCTraitOperandConstraints()
4501 void *TyOrEx, SourceRange ArgRange) { in ActOnUnaryExprOrTypeTraitExpr() argument
4508 return CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, ArgRange); in ActOnUnaryExprOrTypeTraitExpr()
DSemaChecking.cpp9887 SourceRange ArgRange = Call->getArg(ArgIdx)->getSourceRange(); in CheckMemaccessArguments() local
10031 << FixItHint::CreateInsertion(ArgRange.getBegin(), "(void*)")); in CheckMemaccessArguments()
/external/clang/include/clang/Sema/
DSema.h3910 SourceRange ArgRange);
/external/llvm-project/clang/include/clang/Sema/
DSema.h5095 SourceRange ArgRange);