| /freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| D | CheckSecuritySyntaxOnly.cpp | 283 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 …]
|
| D | ObjCUnusedIVarsChecker.cpp | 161 SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar() 174 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); in checkObjCUnusedIvar()
|
| D | UnreachableCodeChecker.cpp | 155 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/ |
| D | TransformActions.cpp | 386 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 …]
|
| D | TransGCAttrs.cpp | 93 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()
|
| D | TransUnbridgedCasts.cpp | 109 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()
|
| D | ObjCMT.cpp | 119 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/ |
| D | PreprocessorLexer.cpp | 27 InitialNumSLocEntries = pp->getSourceManager().local_sloc_entry_size(); in PreprocessorLexer() 57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
|
| D | TokenLexer.cpp | 46 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()
|
| D | TokenConcatenation.cpp | 54 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/ |
| D | RawCommentList.cpp | 121 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/ |
| D | MCAsmParserExtension.h | 57 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
|
| /freebsd-9-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| D | BugReporter.h | 378 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/ |
| D | CheckerContext.cpp | 93 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling() 96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
|
| D | BugReporterVisitors.cpp | 115 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/ |
| D | AnalysisManager.h | 83 virtual SourceManager &getSourceManager() { in getSourceManager() function 84 return getASTContext().getSourceManager(); in getSourceManager()
|
| D | CheckerContext.h | 153 SourceManager &getSourceManager() { in getSourceManager() function 154 return getBugReporter().getSourceManager(); in getSourceManager()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Frontend/ |
| D | CompilerInstance.cpp | 221 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 …]
|
| D | LogDiagnosticPrinter.cpp | 129 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic() 152 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
|
| D | VerifyDiagnosticConsumer.cpp | 38 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/ |
| D | ParseAST.cpp | 57 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/ |
| D | CodeGenAction.cpp | 99 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/ |
| D | FrontendActions.cpp | 97 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction() 123 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation()
|
| D | RewriteMacros.cpp | 64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile() 91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput()
|
| D | InclusionRewriter.cpp | 96 : 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()
|