Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h166 return Context.getSourceManager().isInSystemHeader(D->getLocation()); in isInSystemHeader()
304 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitVarDecl()
309 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitVarDecl()
377 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitFunctionDecl()
382 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitFunctionDecl()
415 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitEnumDecl()
419 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitEnumDecl()
546 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitNamespaceDecl()
550 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitNamespaceDecl()
592 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitRecordDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp37 : RecursiveSymbolVisitor(Context.getSourceManager(), in NamedDeclOccurrenceFindingVisitor()
63 (Context.getSourceManager().isBeforeInTranslationUnit(Start, in isPointWithin()
65 Context.getSourceManager().isBeforeInTranslationUnit(Point, End)); in isPointWithin()
77 const SourceManager &SM = Context.getSourceManager(); in getNamedDeclAt()
H A DUSRLocFinder.cpp60 : RecursiveSymbolVisitor(Context.getSourceManager(), in USRLocFindingASTVisitor()
71 const SourceManager &SM = Context.getSourceManager(); in visitSymbolOccurrence()
90 BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation()
93 Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation()
201 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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DForwardDeclChecker.cpp109 if (BR->getSourceManager().isInSystemHeader(TD->getBeginLoc())) { in visitTypedef()
159 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in visitRecordDecl()
180 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in visitRecordDecl()
191 if (BR->getSourceManager().isInSystemHeader(V->getBeginLoc())) in visitVarDecl()
209 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in visitCallExpr()
227 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in visitConstructExpr()
245 if (BR->getSourceManager().isInSystemHeader(E->getExprLoc())) in visitObjCMessageExpr()
327 PathDiagnosticLocation BSLoc(SrcLoc, BR->getSourceManager()); in reportBug()
H A DRawPtrRefMemberChecker.cpp129 if (BR->getSourceManager().isInSystemHeader(CD->getLocation())) in visitObjCDecl()
153 if (BR->getSourceManager().isInSystemHeader(Ivar->getLocation())) in visitIvarDecl()
178 if (BR->getSourceManager().isInSystemHeader(PD->getLocation())) in visitObjCPropertyDecl()
199 if (BR->getSourceManager().isInSystemHeader(PID->getLocation())) in visitPropImpl()
260 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl()
306 BR->getSourceManager()); in reportBug()
H A DRawPtrRefCallArgsChecker.cpp176 if (BR->getSourceManager().isInSystemHeader(E->getExprLoc())) in visitObjCMessageExpr()
244 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in shouldSkipCall()
357 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in reportBug()
374 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in reportBugOnThis()
391 PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); in reportBugOnReceiver()
H A DRetainPtrCtorAdoptChecker.cpp133 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in visitCallExpr()
197 if (BR->getSourceManager().isInSystemHeader(ObjCMsgExpr->getExprLoc())) in visitObjCMessageExpr()
295 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in visitConstructExpr()
601 BR->getSourceManager()); in reportUseAfterFree()
622 BR->getSourceManager()); in reportLeak()
637 BR->getSourceManager()); in reportLeak()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp85 AffectedRangeMgr(Env.getSourceManager(), Env.getCharRanges()), in TokenAnalyzer()
88 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
102 FormatTokenLexer Lex(Env.getSourceManager(), Env.getFileID(), in process()
107 UnwrappedLineParser Parser(Env.getSourceManager(), Style, Lex.getKeywords(), in process()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp314 CI.getSourceManager(), std::move(FileStream))); in CreateWrappedASTConsumer()
406 auto &SourceMgr = CI.getSourceManager(); in ReadOriginalFileName()
450 CI.getSourceManager().AddLineNote( in ReadOriginalFileName()
601 auto &SrcMgr = CI.getSourceManager(); in loadModuleMapForModuleBuild()
616 Offset = CI.getSourceManager().getDecomposedLoc(EndOfLineMarker).second; in loadModuleMapForModuleBuild()
686 if (*OriginalModuleMap != CI.getSourceManager().getFileEntryRefForID( in prepareToBuildModule()
687 CI.getSourceManager().getMainFileID())) { in prepareToBuildModule()
690 FileID OriginalModuleMapFID = CI.getSourceManager().getOrCreateFileID( in prepareToBuildModule()
702 SourceManager &SourceMgr = CI.getSourceManager(); in prepareToBuildModule()
792 CI.getSourceManager().initializeForReplay(AST->getSourceManager()); in BeginSourceFile()
[all …]
H A DLogDiagnosticPrinter.cpp115 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
141 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
H A DDependencyGraph.cpp81 SourceManager &SM = PP->getSourceManager(); in InclusionDirective()
99 SourceManager &SM = PP->getSourceManager(); in EmbedDirective()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp26 InitialNumSLocEntries = pp->getSourceManager().local_sloc_entry_size(); in PreprocessorLexer()
50 return PP->getSourceManager().getFileEntryRefForID(getFileID()); in getFileEntry()
H A DTokenConcatenation.cpp53 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix()
136 SourceManager &SM = PP.getSourceManager(); in GetFirstChar()
175 SourceManager &SM = PP.getSourceManager(); in AvoidConcat()
H A DTokenLexer.cpp61 SourceManager &SM = PP.getSourceManager(); in Init()
636 SourceManager &SM = PP.getSourceManager(); in Lex()
820 SourceManager &SourceMgr = PP.getSourceManager(); in pasteTokens()
851 SourceManager &SM = PP.getSourceManager(); in pasteTokens()
902 SourceManager &SM = PP.getSourceManager(); in pasteTokens()
979 SourceManager &SM = PP.getSourceManager(); in getExpansionLocForMacroDefLoc()
1081 SourceManager &SM = PP.getSourceManager(); in updateLocForMacroArgTokens()
/freebsd/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()
152 const SourceManager &SM = getASTContext().getSourceManager(); in isInCodeFile()
/freebsd/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()
/freebsd/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()
157 const SourceManager &SM = S.getSourceManager(); in ParseAST()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp42 : 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/Core/
H A DPlistDiagnostics.cpp185 const SourceManager &SM = PP.getSourceManager(); in EmitRanges()
216 const SourceManager &SM = PP.getSourceManager(); in EmitFixits()
242 const SourceManager &SM = PP.getSourceManager(); in ReportControlFlow()
299 const SourceManager &SM = PP.getSourceManager(); in ReportEvent()
378 const SourceManager &SM = PP.getSourceManager(); in ReportMacroExpansions()
422 const SourceManager &SM = PP.getSourceManager(); in ReportNote()
451 const SourceManager &SM = PP.getSourceManager(); in ReportPopUp()
616 const SourceManager& SM = PP.getSourceManager(); in FlushDiagnosticsImpl()
H A DCheckerContext.cpp133 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
136 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp187 const auto &SM = A.getASTContext().getSourceManager(); in beginAnalysis()
357 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
361 Range, AST.getSourceManager(), AST.getLangOpts(), &Invalid); in writeCode()
429 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
449 AST.getSourceManager().getSpellingLineNumber(Range.getBegin()); in writeCode()
454 AST.getSourceManager().getFilename(Range.getBegin())), in writeCode()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h67 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
H A DObjCUnusedIVarsChecker.cpp148 const SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar()
161 PathDiagnosticLocation::create(Ivar, BR.getSourceManager()); in checkObjCUnusedIvar()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp120 if (PP.getSourceManager().isWrittenInCommandLineFile(Loc)) in FileEntered()
140 if (!PP.getSourceManager().isWrittenInBuiltinFile(Loc)) in FileExited()

12345678910