Home
last modified time | relevance | path

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

123456789

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp304 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
344 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcmp()
386 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcopy()
427 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bzero()
465 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
505 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
546 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp()
619 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp()
665 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcpy()
692 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcat()
[all …]
H A DIdenticalExprChecker.cpp71 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in reportIdenticalExpr()
120 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt()
143 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
173 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt()
256 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in checkComparisonOp()
281 C, BR.getSourceManager()); in VisitConditionalOperator()
H A DCastToStructChecker.cpp65 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
97 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
/freebsd-12.1/contrib/llvm/tools/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()
311 IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitDeclRefExpr()
390 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitTypeLoc()
425 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitTypeLoc()
518 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendAction.cpp234 auto &SourceMgr = CI.getSourceManager(); in ReadOriginalFileName()
279 CI.getSourceManager().AddLineNote( in ReadOriginalFileName()
419 auto &SrcMgr = CI.getSourceManager(); in loadModuleMapForModuleBuild()
504 SourceManager &SourceMgr = CI.getSourceManager(); in prepareToBuildModule()
581 CI.getSourceManager().initializeForReplay(AST->getSourceManager()); in BeginSourceFile()
609 auto &OldSM = AST->getSourceManager(); in BeginSourceFile()
645 CI.setSourceManager(&AST->getSourceManager()); in BeginSourceFile()
679 CI.getSourceManager().setFileIsTransient(FE); in BeginSourceFile()
684 CI.getSourceManager().setAllFilesAreTransient(true); in BeginSourceFile()
783 auto &SourceMgr = CI.getSourceManager(); in BeginSourceFile()
[all …]
H A DLogDiagnosticPrinter.cpp119 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
144 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h84 SourceManager &getSourceManager() override { in getSourceManager() function
85 return getASTContext().getSourceManager(); in getSourceManager()
153 const SourceManager &SM = getASTContext().getSourceManager(); in isInCodeFile()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransformActions.cpp386 SourceManager &SM = Ctx.getSourceManager(); in canInsert()
399 SourceManager &SM = Ctx.getSourceManager(); in canInsertAfterToken()
421 SourceManager &SM = Ctx.getSourceManager(); in canReplaceText()
442 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken()
466 Ctx.getSourceManager(), PP); in commitReplace()
476 Ctx.getSourceManager(), PP), in commitReplace()
482 SourceManager &SM = Ctx.getSourceManager(); in commitReplaceText()
493 SourceManager &SM = Ctx.getSourceManager(); in commitIncreaseIndentation()
506 SourceManager &SM = Ctx.getSourceManager(); in addInsertion()
519 CharRange newRange(range, Ctx.getSourceManager(), PP); in addRemoval()
H A DTransGCAttrs.cpp94 SourceManager &SM = Ctx.getSourceManager(); in handleAttr()
170 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager(); in isInMainFile()
284 Loc = MigrateCtx.Pass.Ctx.getSourceManager() in checkAllAtProps()
338 Attr.Loc.print(llvm::errs(), Pass.Ctx.getSourceManager()); in dumpGCAttrs()
H A DTransUnbridgedCasts.cpp110 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) in VisitCastExpr()
255 SourceManager &SM = Pass.Ctx.getSourceManager(); in rewriteToBridgedCast()
282 SourceManager &SM = Pass.Ctx.getSourceManager(); in getBlockMacroRanges()
340 Pass.Ctx.getSourceManager(), in transformObjCToNonObjCCast()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessorLexer.cpp28 InitialNumSLocEntries = pp->getSourceManager().local_sloc_entry_size(); in PreprocessorLexer()
58 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
H A DTokenLexer.cpp60 SourceManager &SM = PP.getSourceManager(); in Init()
601 SourceManager &SM = PP.getSourceManager(); in Lex()
782 SourceManager &SourceMgr = PP.getSourceManager(); in pasteTokens()
813 SourceManager &SM = PP.getSourceManager(); in pasteTokens()
861 SourceManager &SM = PP.getSourceManager(); in pasteTokens()
931 SourceManager &SM = PP.getSourceManager(); in getExpansionLocForMacroDefLoc()
1018 SourceManager &SM = PP.getSourceManager(); in updateLocForMacroArgTokens()
H A DTokenConcatenation.cpp54 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix()
137 SourceManager &SM = PP.getSourceManager(); in GetFirstChar()
167 SourceManager &SM = PP.getSourceManager(); in AvoidConcat()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDataCollection.cpp21 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), in printMacroName()
37 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-12.1/contrib/llvm/tools/clang/lib/Format/
H A DTokenAnalyzer.cpp54 AffectedRangeMgr(Env.getSourceManager(), Env.getCharRanges()), in TokenAnalyzer()
57 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
68 FormatTokenLexer Tokens(Env.getSourceManager(), Env.getFileID(), in process()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h403 virtual SourceManager &getSourceManager() = 0;
474 SourceManager &getSourceManager() { return D.getSourceManager(); } in getSourceManager() function
585 SourceManager& getSourceManager() { in getSourceManager() function
586 return BR.getSourceManager(); in getSourceManager()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp43 : LexicallyOrderedRecursiveASTVisitor(Context.getSourceManager()), in ASTSelectionFinder()
87 const SourceManager &SM = Context.getSourceManager(); in TraverseDecl()
143 const SourceManager &SM = Context.getSourceManager(); in selectionKindFor()
191 Context.getSourceManager().getFileID(SelectionRange.getBegin()); in findSelectedASTNodes()
192 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) == in findSelectedASTNodes()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp219 BRC.getSourceManager(), in getMacroName()
301 SM(MmrMgr.getContext().getSourceManager()), in NoStoreFuncVisitor()
684 const SourceManager &SMgr = BRC.getSourceManager(); in VisitNode()
1320 L = PathDiagnosticLocation(InitE, BRC.getSourceManager(), in VisitNode()
1392 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode()
1763 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode()
1961 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx); in VisitTrueTest()
1990 BRC.getSourceManager(), BRC.getASTContext().getLangOpts()); in patternMatch()
1992 BRC.getSourceManager(), BRC.getASTContext().getLangOpts()); in patternMatch()
1998 ParentEx->getBeginLoc(), BRC.getSourceManager(), in patternMatch()
[all …]
H A DCheckerContext.cpp95 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
98 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
H A DPlistDiagnostics.cpp187 const SourceManager &SM = PP.getSourceManager(); in EmitRanges()
217 const SourceManager &SM = PP.getSourceManager(); in ReportControlFlow()
271 const SourceManager &SM = PP.getSourceManager(); in ReportEvent()
343 const SourceManager &SM = PP.getSourceManager(); in ReportMacroExpansions()
377 const SourceManager &SM = PP.getSourceManager(); in ReportNote()
516 const SourceManager& SM = PP.getSourceManager(); in FlushDiagnosticsImpl()
842 const SourceManager &SM = PP.getSourceManager(); in getMacroNameAndPrintExpansion()
918 const SourceManager &SM = PP.getSourceManager(); in getMacroNameAndArgs()
/freebsd-12.1/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h68 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseAST.cpp71 Tok.getLocation().print(OS, PP.getSourceManager()); in print()
78 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp121 if (PP.getSourceManager().isWrittenInCommandLineFile(Loc)) in FileEntered()
141 if (!PP.getSourceManager().isWrittenInBuiltinFile(Loc)) in FileExited()

123456789