Searched refs:InsertLoc (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseOverrideCheck.cpp | 143 SourceLocation InsertLoc; in check() local 150 InsertLoc = T.getLocation(); in check() 160 if ((!InsertLoc.isValid() || in check() 163 InsertLoc = Loc; in check() 180 InsertLoc = LastTokenIter->getEndLoc(); in check() 183 if (!InsertLoc.isValid()) { in check() 192 InsertLoc = Tokens[Tokens.size() - 2].getLocation(); in check() 197 InsertLoc = Tokens.back().getLocation(); in check() 200 if (!InsertLoc.isValid()) { in check() 201 InsertLoc = FileRange.getEnd(); in check() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | UsingInserter.cpp | 42 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in createUsingDeclaration() local 46 if (SourceMgr.getFileID(InsertLoc) != SourceMgr.getMainFileID()) in createUsingDeclaration() 74 return FixItHint::CreateInsertion(InsertLoc, Declaration); in createUsingDeclaration()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SmartPtrArrayMismatchCheck.cpp | 112 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in check() local 114 D << FixItHint::CreateInsertion(InsertLoc, "[]"); in check()
|
| /llvm-project-15.0.7/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 64 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl() local 67 MyRewriter.InsertTextAfter(InsertLoc, Macro.str()); in VisitCXXMethodDecl()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 251 SourceLocation InsertLoc = WrapE->getBeginLoc(); in rewriteToBridgedCast() local 254 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast() 265 TA.insert(InsertLoc, BridgeCall); in rewriteToBridgedCast() 268 TA.insert(InsertLoc, BridgeCall); in rewriteToBridgedCast()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 331 ArrayRef<unsigned> InsertLoc = IVI->getIndices(); in getNoopInput() local 332 if (ValLoc.size() >= InsertLoc.size() && in getNoopInput() 333 std::equal(InsertLoc.begin(), InsertLoc.end(), ValLoc.rbegin())) { in getNoopInput() 337 ValLoc.resize(ValLoc.size() - InsertLoc.size()); in getNoopInput()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopUnrollAndJam.cpp | 168 Instruction *InsertLoc, in moveHeaderPhiOperandsToForeBlocks() argument 181 BasicBlock *InsertLocBB = InsertLoc->getParent(); in moveHeaderPhiOperandsToForeBlocks() 184 I->moveBefore(InsertLoc); in moveHeaderPhiOperandsToForeBlocks()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 3042 SourceLocation InsertLoc = InitDecl->getInnerLocStart(); in diagnoseMissingConstinit() local 3051 S.PP.getLastMacroWithSpelling(InsertLoc, {tok::kw_constinit})); in diagnoseMissingConstinit() 3054 InsertLoc, {tok::l_square, tok::l_square, in diagnoseMissingConstinit() 3060 InsertLoc, {tok::kw___attribute, tok::l_paren, tok::r_paren, in diagnoseMissingConstinit() 3076 << InitDecl << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling); in diagnoseMissingConstinit() 3087 << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling); in diagnoseMissingConstinit() 9605 SourceLocation InsertLoc; in ActOnFunctionDeclarator() local 9607 InsertLoc = D.getName().getSourceRange().getEnd(); in ActOnFunctionDeclarator() 9608 InsertLoc = getLocForEndOfToken(InsertLoc); in ActOnFunctionDeclarator() 9614 << FixItHint::CreateInsertion(InsertLoc, "<>"); in ActOnFunctionDeclarator()
|
| H A D | SemaDeclCXX.cpp | 8520 SourceLocation InsertLoc; in CheckExplicitlyDefaultedComparison() local 8522 InsertLoc = getLocForEndOfToken(Loc.getRParenLoc()); in CheckExplicitlyDefaultedComparison() 8527 << (int)DCK << FixItHint::CreateInsertion(InsertLoc, " const"); in CheckExplicitlyDefaultedComparison() 10837 SourceLocation InsertLoc = in CheckConversionDeclarator() local 10839 DB << FixItHint::CreateInsertion(InsertLoc, " ") in CheckConversionDeclarator() 10841 InsertLoc, CharSourceRange::getTokenRange(Before)) in CheckConversionDeclarator() 12799 SourceLocation InsertLoc = getLocForEndOfToken(NameInfo.getEndLoc()); in CheckUsingDeclQualifier() local 12800 Diag(InsertLoc, diag::note_using_decl_class_member_workaround) in CheckUsingDeclQualifier() 12804 InsertLoc, " " + NameInfo.getName().getAsString()); in CheckUsingDeclQualifier()
|