| /freebsd-src/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | ExtractAPIVisitor.h | 162 return Context.getSourceManager().isInSystemHeader(D->getLocation()); in getTypedefName() 289 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitFunctionDecl() 294 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitFunctionDecl() 362 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitEnumDecl() 367 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitEnumDecl() 400 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in WalkUpFromFunctionDecl() 404 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in WalkUpFromRecordDecl() 531 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitRecordDecl() 535 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitRecordDecl() 564 Context.getSourceManager() in VisitCXXRecordDecl() [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFinder.cpp | 39 : 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 D | USRLocFinder.cpp | 61 : 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() 330 IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitDeclRefExpr() 409 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitTypeLoc() 444 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitTypeLoc() 535 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges()
|
| /freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 335 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat() 375 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcmp() 417 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcopy() 458 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bzero() 496 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets() 536 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw() 577 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp() 649 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp() 696 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcpy() 724 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcat() [all …]
|
| H A D | IdenticalExprChecker.cpp | 70 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 D | ReturnPointerRangeChecker.cpp | 96 {DeclR->getDecl(), C.getSourceManager()}); in checkPreStmt() 116 {RetE, C.getSourceManager(), C.getLocationContext()}); in checkPreStmt()
|
| H A D | CastToStructChecker.cpp | 64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr() 96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | AnalysisManager.h | 86 SourceManager &getSourceManager() override { in getSourceManager() function 87 return getASTContext().getSourceManager(); in getSourceManager() 151 const SourceManager &SM = getASTContext().getSourceManager(); in isInCodeFile()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Format/ |
| H A D | TokenAnalyzer.cpp | 88 AffectedRangeMgr(Env.getSourceManager(), Env.getCharRanges()), in TokenAnalyzer() 91 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer() 105 FormatTokenLexer Lex(Env.getSourceManager(), Env.getFileID(), in process() 110 UnwrappedLineParser Parser(Env.getSourceManager(), Style, Lex.getKeywords(), in process()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PreprocessorLexer.cpp | 27 InitialNumSLocEntries = pp->getSourceManager().local_sloc_entry_size(); in PreprocessorLexer() 51 return PP->getSourceManager().getFileEntryRefForID(getFileID()); in getFileEntry()
|
| H A D | TokenLexer.cpp | 62 SourceManager &SM = PP.getSourceManager(); in Init() 637 SourceManager &SM = PP.getSourceManager(); in Lex() 820 SourceManager &SourceMgr = PP.getSourceManager(); in pasteTokens() 851 SourceManager &SM = PP.getSourceManager(); in pasteTokens() 899 SourceManager &SM = PP.getSourceManager(); in pasteTokens() 969 SourceManager &SM = PP.getSourceManager(); in getExpansionLocForMacroDefLoc() 1071 SourceManager &SM = PP.getSourceManager(); in updateLocForMacroArgTokens()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 255 auto &SourceMgr = CI.getSourceManager(); in ReadOriginalFileName() 299 CI.getSourceManager().AddLineNote( in ReadOriginalFileName() 450 auto &SrcMgr = CI.getSourceManager(); in loadModuleMapForModuleBuild() 465 Offset = CI.getSourceManager().getDecomposedLoc(EndOfLineMarker).second; in loadModuleMapForModuleBuild() 535 if (*OriginalModuleMap != CI.getSourceManager().getFileEntryRefForID( in prepareToBuildModule() 536 CI.getSourceManager().getMainFileID())) { in prepareToBuildModule() 540 FileID OriginalModuleMapFID = CI.getSourceManager().getOrCreateFileID( in prepareToBuildModule() 552 SourceManager &SourceMgr = CI.getSourceManager(); 644 CI.getSourceManager().initializeForReplay(AST->getSourceManager()); in BeginSourceFile() [all...] |
| H A D | LogDiagnosticPrinter.cpp | 118 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic() 143 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
|
| /freebsd-src/contrib/llvm-project/clang/lib/AST/ |
| H A D | DataCollection.cpp | 20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), in printMacroName() 36 SourceManager &SM = Context.getSourceManager(); in getMacroStack()
|
| /freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 387 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 D | TransGCAttrs.cpp | 96 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-src/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | SourceCode.h | 119 return getFileRangeForEdit(EditRange, Context.getSourceManager(), 139 return getFileRange(EditRange, Context.getSourceManager(), in getFileRange()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 42 : LexicallyOrderedRecursiveASTVisitor(Context.getSourceManager()), in ASTSelectionFinder() 86 const SourceManager &SM = Context.getSourceManager(); in TraverseDecl() 142 const SourceManager &SM = Context.getSourceManager(); in selectionKindFor() 190 Context.getSourceManager().getFileID(SelectionRange.getBegin()); in findSelectedASTNodes() 191 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) == in findSelectedASTNodes()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | HTMLLogger.cpp | 188 const auto &SM = A.getASTContext().getSourceManager(); in beginAnalysis() 358 AST.getSourceManager(), AST.getLangOpts()); in writeCode() 362 Range, AST.getSourceManager(), AST.getLangOpts(), &Invalid); in writeCode() 430 AST.getSourceManager(), AST.getLangOpts()); in writeCode() 450 AST.getSourceManager().getSpellingLineNumber(Range.getBegin()); in writeCode() 455 AST.getSourceManager().getFilename(Range.getBegin())), in writeCode()
|
| /freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | PlistDiagnostics.cpp | 188 const SourceManager &SM = PP.getSourceManager(); in EmitRanges() 219 const SourceManager &SM = PP.getSourceManager(); in EmitFixits() 245 const SourceManager &SM = PP.getSourceManager(); in ReportControlFlow() 302 const SourceManager &SM = PP.getSourceManager(); in ReportEvent() 381 const SourceManager &SM = PP.getSourceManager(); in ReportMacroExpansions() 425 const SourceManager &SM = PP.getSourceManager(); in ReportNote() 454 const SourceManager &SM = PP.getSourceManager(); in ReportPopUp() 619 const SourceManager& SM = PP.getSourceManager(); in FlushDiagnosticsImpl()
|
| H A D | CheckerContext.cpp | 133 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in evalComparison() 136 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in evalComparison()
|
| /freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | NoUncountedMembersChecker.cpp | 110 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl() 143 BR->getSourceManager()); in reportBug()
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParserExtension.h | 66 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
|
| /freebsd-src/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 33 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() 414 const SourceManager &SM = Context.getSourceManager(); in getAssociatedRange()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseAST.cpp | 72 Tok.getLocation().print(OS, PP.getSourceManager()); in print() 79 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print() 158 const SourceManager &SM = S.getSourceManager(); in ParseAST()
|