Home
last modified time | relevance | path

Searched refs:RecRange (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp143 SourceRange RecRange = rec->getSourceRange(); in VisitObjCMessageExpr() local
144 checkForGCDOrXPC(Msg, RecContainer, rec, RecRange); in VisitObjCMessageExpr()
150 Pass.TA.replace(RecContainer->getSourceRange(), RecRange); in VisitObjCMessageExpr()
153 Pass.TA.insertAfterToken(RecRange.getEnd(), str); in VisitObjCMessageExpr()
158 Pass.TA.replace(RecContainer->getSourceRange(), RecRange); in VisitObjCMessageExpr()
326 Expr *&Rec, SourceRange &RecRange) { in checkForGCDOrXPC() argument
381 RecRange = Rec->getSourceRange(); in checkForGCDOrXPC()
382 if (SM.isMacroArgExpansion(RecRange.getBegin())) in checkForGCDOrXPC()
383 RecRange.setBegin(SM.getImmediateSpellingLoc(RecRange.getBegin())); in checkForGCDOrXPC()
384 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC()
[all …]
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp139 SourceRange RecRange = rec->getSourceRange(); in VisitObjCMessageExpr() local
140 checkForGCDOrXPC(Msg, RecContainer, rec, RecRange); in VisitObjCMessageExpr()
146 Pass.TA.replace(RecContainer->getSourceRange(), RecRange); in VisitObjCMessageExpr()
149 Pass.TA.insertAfterToken(RecRange.getEnd(), str); in VisitObjCMessageExpr()
154 Pass.TA.replace(RecContainer->getSourceRange(), RecRange); in VisitObjCMessageExpr()
322 Expr *&Rec, SourceRange &RecRange) { in checkForGCDOrXPC() argument
377 RecRange = Rec->getSourceRange(); in checkForGCDOrXPC()
378 if (SM.isMacroArgExpansion(RecRange.getBegin())) in checkForGCDOrXPC()
379 RecRange.setBegin(SM.getImmediateSpellingLoc(RecRange.getBegin())); in checkForGCDOrXPC()
380 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC()
[all …]
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp176 SourceRange RecRange = Receiver->getSourceRange(); in maybePutParensOnReceiver() local
177 commit.insertWrap("(", RecRange, ")"); in maybePutParensOnReceiver()
190 SourceRange RecRange = Rec->getSourceRange(); in rewriteToSubscriptGetCommon() local
195 CharSourceRange::getTokenRange(RecRange)); in rewriteToSubscriptGetCommon()
238 SourceRange RecRange = Rec->getSourceRange(); in rewriteToArraySubscriptSet() local
244 CharSourceRange::getTokenRange(RecRange)); in rewriteToArraySubscriptSet()
272 SourceRange RecRange = Rec->getSourceRange(); in rewriteToDictionarySubscriptSet() local
283 CharSourceRange::getTokenRange(RecRange)); in rewriteToDictionarySubscriptSet()
/external/llvm-project/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp175 SourceRange RecRange = Receiver->getSourceRange(); in maybePutParensOnReceiver() local
176 commit.insertWrap("(", RecRange, ")"); in maybePutParensOnReceiver()
189 SourceRange RecRange = Rec->getSourceRange(); in rewriteToSubscriptGetCommon() local
194 CharSourceRange::getTokenRange(RecRange)); in rewriteToSubscriptGetCommon()
237 SourceRange RecRange = Rec->getSourceRange(); in rewriteToArraySubscriptSet() local
243 CharSourceRange::getTokenRange(RecRange)); in rewriteToArraySubscriptSet()
271 SourceRange RecRange = Rec->getSourceRange(); in rewriteToDictionarySubscriptSet() local
282 CharSourceRange::getTokenRange(RecRange)); in rewriteToDictionarySubscriptSet()
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp1716 SourceLocation rbrac, SourceRange RecRange, QualType &ReturnType, in CheckMessageArgumentTypes() argument
1773 if (!RecRange.isInvalid()) in CheckMessageArgumentTypes()
1775 Diag(RecRange.getBegin(), diag::note_receiver_expr_here) in CheckMessageArgumentTypes()
1776 << FixItHint::CreateReplacement(RecRange, in CheckMessageArgumentTypes()
2854 SourceRange RecRange = in BuildInstanceMessage() local
2913 Diag(Loc, diag::warn_bad_receiver_type) << ReceiverType << RecRange; in BuildInstanceMessage()
3067 RecRange)) { in BuildInstanceMessage()
3089 << OCIType->getPointeeType() << Sel << RecRange in BuildInstanceMessage()
3121 << Sel << RecRange; in BuildInstanceMessage()
3129 Diag(Loc, diag::err_bad_receiver_type) << ReceiverType << RecRange; in BuildInstanceMessage()
[all …]
/external/clang/lib/Sema/
DSemaExprObjC.cpp1501 SourceRange RecRange, in CheckMessageArgumentTypes() argument
1559 if (!RecRange.isInvalid()) in CheckMessageArgumentTypes()
1561 Diag(RecRange.getBegin(),diag::note_receiver_expr_here) in CheckMessageArgumentTypes()
1562 << FixItHint::CreateReplacement(RecRange, in CheckMessageArgumentTypes()
2544 SourceRange RecRange = in BuildInstanceMessage() local
2777 << OCIType->getPointeeType() << Sel << RecRange in BuildInstanceMessage()
2809 << Sel << RecRange; in BuildInstanceMessage()
2880 LBracLoc, RBracLoc, RecRange, ReturnType, VK)) in BuildInstanceMessage()
2914 << Sel << RecRange; in BuildInstanceMessage()
/external/clang/include/clang/Sema/
DSema.h8952 SourceRange RecRange,
/external/llvm-project/clang/include/clang/Sema/
DSema.h11571 SourceLocation rbrac, SourceRange RecRange,