Home
last modified time | relevance | path

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

123456

/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp283 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
318 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
358 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
399 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp()
471 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp()
506 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcpy()
533 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcat()
612 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_rand()
636 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_random()
656 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_vfork()
[all …]
DObjCUnusedIVarsChecker.cpp161 SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar()
174 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); in checkObjCUnusedIvar()
DUnreachableCodeChecker.cpp155 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC); in checkEndAnalysis()
164 const SourceManager &SM = B.getSourceManager(); in checkEndAnalysis()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
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()
520 CharRange newRange(range, Ctx.getSourceManager(), PP); in addRemoval()
[all …]
DTransGCAttrs.cpp93 SourceManager &SM = Ctx.getSourceManager(); in handleAttr()
179 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager(); in isInMainFile()
293 Loc = MigrateCtx.Pass.Ctx.getSourceManager() in checkAllAtProps()
346 Attr.Loc.dump(Pass.Ctx.getSourceManager()); in dumpGCAttrs()
DTransUnbridgedCasts.cpp109 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()
341 Pass.Ctx.getSourceManager(), in transformObjCToNonObjCCast()
DObjCMT.cpp119 Editor.reset(new edit::EditedSource(Context.getSourceManager(), in Initialize()
161 PPRec = new PPConditionalDirectiveRecord(CompInst->getSourceManager()); in CreateASTConsumer()
786 PP.getSourceManager().getFileID(TypedefDcl->getLocation()); in migrateNSEnumDecl()
788 PP.getSourceManager().getFileID(EnumDcl->getLocation()); in migrateNSEnumDecl()
1316 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation()
1322 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation()
1589 Ctx.getSourceManager().getSLocEntry(FID, &Invalid); in IsReallyASystemHeader()
1619 FileID FID = PP.getSourceManager().getFileID((*D)->getLocation()); in HandleTranslationUnit()
1693 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts()); in HandleTranslationUnit()
1701 const FileEntry *file = Ctx.getSourceManager().getFileEntryForID(FID); in HandleTranslationUnit()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Lex/
DPreprocessorLexer.cpp27 InitialNumSLocEntries = pp->getSourceManager().local_sloc_entry_size(); in PreprocessorLexer()
57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
DTokenLexer.cpp46 SourceManager &SM = PP.getSourceManager(); in Init()
434 SourceManager &SM = PP.getSourceManager(); in Lex()
578 SourceManager &SourceMgr = PP.getSourceManager(); in PasteTokens()
619 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
657 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
725 SourceManager &SM = PP.getSourceManager(); in getExpansionLocForMacroDefLoc()
809 SourceManager &SM = PP.getSourceManager(); in updateLocForMacroArgTokens()
DTokenConcatenation.cpp54 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix()
129 SourceManager &SM = PP.getSourceManager(); in GetFirstChar()
159 SourceManager &SM = PP.getSourceManager(); in AvoidConcat()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DRawCommentList.cpp121 getRawText(Context.getSourceManager()); in extractBriefText()
148 getRawText(Context.getSourceManager()); in parse()
154 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse()
159 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(), in parse()
/freebsd-9-stable/contrib/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h57 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h378 virtual SourceManager& getSourceManager() = 0;
445 SourceManager& getSourceManager() { return D.getSourceManager(); }
542 SourceManager& getSourceManager() {
543 return BR.getSourceManager();
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp93 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
DBugReporterVisitors.cpp115 PathDiagnosticLocation::createEndOfPath(EndPathNode,BRC.getSourceManager()); in getDefaultEndPath()
329 PathDiagnosticLocation L(Ret, BRC.getSourceManager(), StackFrame); in visitNodeInitial()
699 L = PathDiagnosticLocation(InitE, BRC.getSourceManager(), in VisitNode()
703 L = PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode()
773 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode()
1103 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode()
1405 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx); in VisitTrueTest()
1441 PathDiagnosticLocation Loc(CondVarExpr, BRC.getSourceManager(), LCtx); in VisitConditionVariable()
1487 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx); in VisitTrueTest()
1583 SourceManager &SM = BRC.getSourceManager(); in getEndPath()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h83 virtual SourceManager &getSourceManager() { in getSourceManager() function
84 return getASTContext().getSourceManager(); in getSourceManager()
DCheckerContext.h153 SourceManager &getSourceManager() { in getSourceManager() function
154 return getBugReporter().getSourceManager(); in getSourceManager()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Frontend/
DCompilerInstance.cpp221 getSourceManager(), in createPreprocessor()
227 getSourceManager(), *HeaderInfo, *this, PTHMgr, in createPreprocessor()
284 Context = new ASTContext(getLangOpts(), PP.getSourceManager(), in createASTContext()
598 getFileManager(), getSourceManager(), in InitializeSourceManager()
704 getSourceManager().clearIDTables(); in ExecuteAction()
874 SourceManager &SourceMgr = Instance.getSourceManager(); in compileModule()
876 ImportingInstance.getSourceManager().getModuleBuildStack()); in compileModule()
878 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager())); in compileModule()
930 SourceManager &SourceMgr = PP.getSourceManager(); in checkConfigMacro()
1149 if (getSourceManager().getModuleBuildStack().empty() && in loadModule()
[all …]
DLogDiagnosticPrinter.cpp129 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
152 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
DVerifyDiagnosticConsumer.cpp38 setSourceManager(Diags.getSourceManager()); in VerifyDiagnosticConsumer()
82 setSourceManager(PP->getSourceManager()); in BeginSourceFile()
116 if (SrcManager && &Info.getSourceManager() != SrcManager) in HandleDiagnostic()
119 setSourceManager(Info.getSourceManager()); in HandleDiagnostic()
483 SourceManager &SM = PP.getSourceManager(); in HandleComment()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/
DParseAST.cpp57 Tok.getLocation().print(OS, PP.getSourceManager()); in print()
64 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCodeGenAction.cpp99 Context->getSourceManager(), in HandleTopLevelDecl()
169 Context->getSourceManager(), in HandleTagDeclDefinition()
256 Loc = ConvertBackendLocation(D, Context->getSourceManager()); in InlineAsmDiagHandler2()
392 SourceManager &SM = CI.getSourceManager(); in ExecuteAction()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
DFrontendActions.cpp97 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction()
123 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation()
DRewriteMacros.cpp64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile()
91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput()
DInclusionRewriter.cpp96 : PP(PP), SM(PP.getSourceManager()), OS(OS), PredefinesBuffer(0), in InclusionRewriter()
339 PP.getSourceManager().getFileEntryForID(FileId), 0, 0, 0, false); in HandleHasInclude()
355 Lexer RawLex(FileId, &FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process()
521 SourceManager &SM = PP.getSourceManager(); in RewriteIncludesInInput()

123456