Home
last modified time | relevance | path

Searched refs:setBegin (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp329 Range.setBegin(T->getBeginLoc()); in getAssociatedRange()
333 Range.setBegin(T->getBeginLoc()); in getAssociatedRange()
362 Range.setBegin(Comment->getBeginLoc()); in getAssociatedRange()
369 Range.setBegin(Attr->getLocation()); in getAssociatedRange()
388 Range.setBegin(Range.getBegin().getLocWithOffset(static_cast<int>( in getAssociatedRange()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPExpressions.cpp65 void setRange(SourceLocation L) { Range.setBegin(L); Range.setEnd(L); } in setRange()
67 Range.setBegin(B); Range.setEnd(E); in setRange()
69 void setBegin(SourceLocation L) { Range.setBegin(L); } in setBegin() function in __anond84fce450111::PPValue
105 Result.setBegin(beginLoc); in EvaluateDefined()
473 Result.setBegin(Start); in EvaluateValue()
481 Result.setBegin(Loc); in EvaluateValue()
502 Result.setBegin(Start); in EvaluateValue()
515 Result.setBegin(Start); in EvaluateValue()
H A DLexer.cpp906 Range.setBegin(Begin); in makeFileCharRange()
929 Range.setBegin(MacroBegin); in makeFileCharRange()
952 Range.setBegin(SM.getImmediateSpellingLoc(Begin)); in makeFileCharRange()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceLocation.h222 void setBegin(SourceLocation b) { B = b; }
287 void setBegin(SourceLocation b) { Range.setBegin(b); }
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kCollapseMOVEMPass.cpp58 void setBegin(MachineBasicBlock::iterator &MI) { in setBegin() function in __anond2face1f0111::MOVEMState
224 State.setBegin(MI); in ProcessMI()
/llvm-project-15.0.7/clang/lib/Sema/
H A DParsedAttr.cpp310 Result.Range.setBegin(First.Range.getBegin()); in takeAndConcatenateAttrs()
312 Result.Range.setBegin(Second.Range.getBegin()); in takeAndConcatenateAttrs()
H A DDeclSpec.cpp57 Range.setBegin(TL.getBeginLoc()); in Extend()
70 Range.setBegin(IdentifierLoc); in Extend()
83 Range.setBegin(NamespaceLoc); in Extend()
96 Range.setBegin(AliasLoc); in Extend()
118 Range.setBegin(SuperLoc); in MakeSuper()
700 TSWRange.setBegin(Loc); in SetTypeSpecWidth()
H A DSemaCXXScopeSpec.cpp968 R.setBegin(SS.getRange().getBegin()); in ActOnCXXNestedNameSpecifier()
H A DSemaTemplateVariadic.cpp579 R.setBegin(Arg.getScopeSpec().getBeginLoc()); in ActOnPackExpansion()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseUsingCheck.cpp115 ReplaceRange.setBegin(LastReplacementEnd); in check()
H A DUseTrailingReturnTypeCheck.cpp300 ReturnTypeRange.setBegin(expandIfMacroId(ReturnTypeRange.getBegin(), SM)); in findReturnTypeAndCVSourceRange()
313 ReturnTypeRange.setBegin(Tokens[J].T.getLocation()); in findReturnTypeAndCVSourceRange()
H A DMacroToEnumCheck.cpp497 DefineRange.setBegin(DefineBegin); in fixEnumMacro()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientAlgorithmCheck.cpp130 CallRange.setBegin(SM.getSpellingLoc(CallRange.getBegin())); in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineOutline.cpp209 DelRange.setBegin(Tok->location()); in getFunctionSourceCode()
341 DeletionRange.setBegin(Tok->location()); in getDeletionRange()
H A DExtractFunction.cpp265 SR.setBegin(BeginFileRange->getBegin()); in findZoneRange()
/llvm-project-15.0.7/clang/lib/Format/
H A DSortJavaScriptImports.cpp409 Reference.Range.setBegin(Start); in parseModuleReferences()
545 Symbol.Range.setBegin( in parseNamedBindings()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DUppercaseLiteralSuffixCheck.cpp167 Range->setBegin(Range->getBegin().getLocWithOffset(Skip)); in shouldReplaceLiteralSuffix()
H A DQualifiedAutoCheck.cpp80 TypeSpecifier.setBegin(ConstToken.getLocation()); in mergeReplacementRange()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h71 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } in setBeginLoc()
203 Range.setBegin(R.getBegin()); in SetInvalid()
639 void SetRangeStart(SourceLocation Loc) { Range.setBegin(Loc); } in SetRangeStart()
1984 Range.setBegin(Loc); in SetRangeBegin()
1997 Range.setBegin(SR.getBegin()); in ExtendWithDeclSpec()
H A DTypoCorrection.h223 CorrectionRange.setBegin(SS->getBeginLoc()); in setCorrectionRange()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp383 RecRange.setBegin(SM.getImmediateSpellingLoc(RecRange.getBegin())); in checkForGCDOrXPC()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp298 Range.setBegin(CharSourceRange::getTokenRange(Range).getEnd()); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A DMove.cpp322 Full.setBegin(Comment->getBeginLoc()); in getFullRange()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTokens.cpp703 Range.setBegin(SM.getExpansionLoc(Range.getBegin())); in MacroExpands()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseTemplate.cpp1665 R.setBegin(ExternLoc); in getSourceRange()

12