| /freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | ExtractAPIVisitor.h | 162 return Context.getSourceManager().isInSystemHeader(D->getLocation()); in isInSystemHeader() 289 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitVarDecl() 294 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitVarDecl() 362 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitFunctionDecl() 367 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitFunctionDecl() 400 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitEnumDecl() 404 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitEnumDecl() 531 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitNamespaceDecl() 535 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitNamespaceDecl() 564 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitRecordDecl() [all …]
|
| /freebsd/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()
|
| /freebsd/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(); in prepareToBuildModule() 644 CI.getSourceManager().initializeForReplay(AST->getSourceManager()); in BeginSourceFile() 673 auto &OldSM = AST->getSourceManager(); in BeginSourceFile() [all …]
|
| H A D | DependencyGraph.cpp | 81 SourceManager &SM = PP->getSourceManager(); in InclusionDirective() 99 SourceManager &SM = PP->getSourceManager(); in EmbedDirective()
|
| /freebsd/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/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/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/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()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| 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 | CastToStructChecker.cpp | 64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr() 96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
|
| H A D | ObjCUnusedIVarsChecker.cpp | 149 const SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar() 162 PathDiagnosticLocation::create(Ivar, BR.getSourceManager()); in checkObjCUnusedIvar()
|
| H A D | PaddingChecker.cpp | 142 BR->getSourceManager().getFileCharacteristic(Location); in shouldSkipDecl() 327 << ILoc.printToString(BR->getSourceManager()); in reportRecord() 339 PathDiagnosticLocation::create(RD, BR->getSourceManager()); in reportRecord()
|
| /freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 249 return BR->getSourceManager().isInSystemHeader(V->getLocation()); in shouldSkipVarDecl() 262 PathDiagnosticLocation BSLoc(Value->getExprLoc(), BR->getSourceManager()); in reportBug() 278 PathDiagnosticLocation BSLoc(V->getLocation(), BR->getSourceManager()); in reportBug()
|
| H A D | UncountedCallArgsChecker.cpp | 151 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in shouldSkipCall() 262 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in reportBug() 273 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in reportBugOnThis()
|
| H A D | NoUncountedMembersChecker.cpp | 110 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl() 143 BR->getSourceManager()); in reportBug()
|
| /freebsd/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/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParserExtension.h | 66 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| 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()
|
| H A D | TokenConcatenation.cpp | 53 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix() 136 SourceManager &SM = PP.getSourceManager(); in GetFirstChar() 171 SourceManager &SM = PP.getSourceManager(); in AvoidConcat()
|
| /freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
| 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()
|
| H A D | TransUnbridgedCasts.cpp | 109 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) in VisitCastExpr() 253 SourceManager &SM = Pass.Ctx.getSourceManager(); in rewriteToBridgedCast() 281 SourceManager &SM = Pass.Ctx.getSourceManager(); in getBlockMacroRanges() 339 Pass.Ctx.getSourceManager(), in transformObjCToNonObjCCast()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporter.h | 575 virtual SourceManager &getSourceManager() = 0; 623 const SourceManager &getSourceManager() { return D.getSourceManager(); } in getSourceManager() function 737 const SourceManager& getSourceManager() const { in getSourceManager() function 738 return BR.getSourceManager(); in getSourceManager()
|
| /freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerContext.cpp | 133 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling() 136 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
|