Home
last modified time | relevance | path

Searched refs:getSourceManager (Results 1 – 25 of 243) sorted by relevance

12345678910

/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp39 : RecursiveSymbolVisitor(Context.getSourceManager(), in NamedDeclOccurrenceFindingVisitor()
65 (Context.getSourceManager().isBeforeInTranslationUnit(Start, in isPointWithin()
67 Context.getSourceManager().isBeforeInTranslationUnit(Point, End)); in isPointWithin()
79 const SourceManager &SM = Context.getSourceManager(); in getNamedDeclAt()
H A DUSRLocFinder.cpp61 : RecursiveSymbolVisitor(Context.getSourceManager(), in USRLocFindingASTVisitor()
72 const SourceManager &SM = Context.getSourceManager(); in visitSymbolOccurrence()
91 BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation()
94 Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation()
202 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitNamedDecl()
329 IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitDeclRefExpr()
408 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitTypeLoc()
443 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitTypeLoc()
534 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp337 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
377 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcmp()
419 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcopy()
460 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bzero()
498 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
538 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
579 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp()
651 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp()
698 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcpy()
726 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcat()
[all …]
H A DIdenticalExprChecker.cpp70 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in reportIdenticalExpr()
119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt()
142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
172 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt()
255 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in checkComparisonOp()
280 C, BR.getSourceManager()); in VisitConditionalOperator()
H A DCastToStructChecker.cpp64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h86 SourceManager &getSourceManager() override { in getSourceManager() function
87 return getASTContext().getSourceManager(); in getSourceManager()
151 const SourceManager &SM = getASTContext().getSourceManager(); in isInCodeFile()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp27 InitialNumSLocEntries = pp->getSourceManager().local_sloc_entry_size(); in PreprocessorLexer()
51 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
H A DTokenLexer.cpp60 SourceManager &SM = PP.getSourceManager(); in Init()
638 SourceManager &SM = PP.getSourceManager(); in Lex()
821 SourceManager &SourceMgr = PP.getSourceManager(); in pasteTokens()
852 SourceManager &SM = PP.getSourceManager(); in pasteTokens()
900 SourceManager &SM = PP.getSourceManager(); in pasteTokens()
970 SourceManager &SM = PP.getSourceManager(); in getExpansionLocForMacroDefLoc()
1058 SourceManager &SM = PP.getSourceManager(); in updateLocForMacroArgTokens()
H A DTokenConcatenation.cpp53 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix()
136 SourceManager &SM = PP.getSourceManager(); in GetFirstChar()
171 SourceManager &SM = PP.getSourceManager(); in AvoidConcat()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDataCollection.cpp20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), in printMacroName()
36 SourceManager &SM = Context.getSourceManager(); in getMacroStack()
H A DRawCommentList.cpp180 (void)getRawText(Context.getSourceManager()); in extractBriefText()
207 (void)getRawText(Context.getSourceManager()); in parse()
213 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse()
218 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(), in parse()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp233 auto &SourceMgr = CI.getSourceManager(); in ReadOriginalFileName()
277 CI.getSourceManager().AddLineNote( in ReadOriginalFileName()
432 auto &SrcMgr = CI.getSourceManager(); in loadModuleMapForModuleBuild()
517 SourceManager &SourceMgr = CI.getSourceManager(); in prepareToBuildModule()
595 CI.getSourceManager().initializeForReplay(AST->getSourceManager()); in BeginSourceFile()
624 auto &OldSM = AST->getSourceManager(); in BeginSourceFile()
661 CI.setSourceManager(&AST->getSourceManager()); in BeginSourceFile()
695 CI.getSourceManager().setFileIsTransient(*FE); in BeginSourceFile()
700 CI.getSourceManager().setAllFilesAreTransient(true); in BeginSourceFile()
799 auto &SourceMgr = CI.getSourceManager(); in BeginSourceFile()
[all …]
H A DLogDiagnosticPrinter.cpp118 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
144 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransformActions.cpp387 SourceManager &SM = Ctx.getSourceManager(); in canInsert()
400 SourceManager &SM = Ctx.getSourceManager(); in canInsertAfterToken()
422 SourceManager &SM = Ctx.getSourceManager(); in canReplaceText()
443 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken()
467 Ctx.getSourceManager(), PP); in commitReplace()
477 Ctx.getSourceManager(), PP), in commitReplace()
483 SourceManager &SM = Ctx.getSourceManager(); in commitReplaceText()
494 SourceManager &SM = Ctx.getSourceManager(); in commitIncreaseIndentation()
507 SourceManager &SM = Ctx.getSourceManager(); in addInsertion()
520 CharRange newRange(range, Ctx.getSourceManager(), PP); in addRemoval()
H A DTransGCAttrs.cpp96 SourceManager &SM = Ctx.getSourceManager(); in handleAttr()
172 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager(); in isInMainFile()
285 Loc = MigrateCtx.Pass.Ctx.getSourceManager() in checkAllAtProps()
337 Attr.Loc.print(llvm::errs(), Pass.Ctx.getSourceManager()); in dumpGCAttrs()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp53 AffectedRangeMgr(Env.getSourceManager(), Env.getCharRanges()), in TokenAnalyzer()
56 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
69 FormatTokenLexer Lex(Env.getSourceManager(), Env.getFileID(), in process()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp41 : LexicallyOrderedRecursiveASTVisitor(Context.getSourceManager()), in ASTSelectionFinder()
85 const SourceManager &SM = Context.getSourceManager(); in TraverseDecl()
141 const SourceManager &SM = Context.getSourceManager(); in selectionKindFor()
189 Context.getSourceManager().getFileID(SelectionRange.getBegin()); in findSelectedASTNodes()
190 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) == in findSelectedASTNodes()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp187 const SourceManager &SM = PP.getSourceManager(); in EmitRanges()
218 const SourceManager &SM = PP.getSourceManager(); in EmitFixits()
244 const SourceManager &SM = PP.getSourceManager(); in ReportControlFlow()
301 const SourceManager &SM = PP.getSourceManager(); in ReportEvent()
382 const SourceManager &SM = PP.getSourceManager(); in ReportMacroExpansions()
426 const SourceManager &SM = PP.getSourceManager(); in ReportNote()
455 const SourceManager &SM = PP.getSourceManager(); in ReportPopUp()
620 const SourceManager& SM = PP.getSourceManager(); in FlushDiagnosticsImpl()
H A DCheckerContext.cpp98 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
101 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp33 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
40 CharSourceRange R = Lexer::getAsCharRange(Range, Context.getSourceManager(), in maybeExtendRange()
46 Lexer::getRawToken(R.getEnd(), Tok, Context.getSourceManager(), in maybeExtendRange()
321 const SourceManager &SM = Context.getSourceManager(); in getAssociatedRange()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp110 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl()
143 BR->getSourceManager()); in reportBug()
H A DRefCntblBaseVirtualDtorChecker.cpp121 if (BR->getSourceManager().getFileCharacteristic(RDLocation) != in shouldSkipDecl()
148 BR->getSourceManager()); in reportBug()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h67 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DComputeReplacements.cpp68 const auto &SM = A.getSourceManager(); in rangeOfExpanded()
89 const auto &SM = A.getSourceManager(); in computeReplacements()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp71 Tok.getLocation().print(OS, PP.getSourceManager()); in print()
78 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print()

12345678910