Home
last modified time | relevance | path

Searched refs:InsertionLoc (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnostic.h97 static FixItHint CreateInsertion(SourceLocation InsertionLoc,
102 CharSourceRange::getCharRange(InsertionLoc, InsertionLoc);
110 static FixItHint CreateInsertionFromRange(SourceLocation InsertionLoc,
115 CharSourceRange::getCharRange(InsertionLoc, InsertionLoc);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseTrailingReturnTypeCheck.cpp446 SourceLocation InsertionLoc = in check() local
448 if (InsertionLoc.isInvalid()) { in check()
493 << FixItHint::CreateInsertion(InsertionLoc, " -> " + ReturnType); in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp205 const SourceLocation InsertionLoc = in insertDeclaration() local
212 return tooling::Replacement(SM, InsertionLoc, 0, ExtractedVarDecl); in insertDeclaration()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp693 SourceLocation InsertionLoc = Start; in moveOldNamespace() local
699 InsertionLoc = LocAfterNs; in moveOldNamespace()
701 MoveNs.InsertionOffset = SM.getFileOffset(SM.getSpellingLoc(InsertionLoc)); in moveOldNamespace()