Home
last modified time | relevance | path

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

1234567

/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp1410 const SourceManager& source_manager = instance_.getSourceManager(); in GetLocString()
1467 const SourceManager& source_manager = instance_.getSourceManager(); in GetFilename()
1481 SourceManager& manager = instance_.getSourceManager(); in ReportClassMustLeftMostlyDeriveGC()
1489 SourceManager& manager = instance_.getSourceManager(); in ReportClassRequiresTraceMethod()
1513 SourceManager& manager = instance_.getSourceManager(); in ReportBaseRequiresTracing()
1521 SourceManager& manager = instance_.getSourceManager(); in ReportFieldsRequireTracing()
1536 SourceManager& manager = instance_.getSourceManager(); in ReportClassContainsInvalidFields()
1576 SourceManager& manager = instance_.getSourceManager(); in ReportClassContainsGCRoots()
1600 SourceManager& manager = instance_.getSourceManager(); in ReportFinalizerAccessesFinalizedFields()
1610 SourceManager& manager = instance_.getSourceManager(); in ReportClassRequiresFinalization()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp293 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
328 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
368 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
409 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp()
481 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp()
516 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcpy()
543 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcat()
621 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_rand()
646 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_random()
666 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_vfork()
[all …]
DIdenticalExprChecker.cpp71 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in reportIdenticalExpr()
125 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
155 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt()
238 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in checkComparisonOp()
260 C, BR.getSourceManager()); in VisitConditionalOperator()
DObjCUnusedIVarsChecker.cpp152 SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar()
165 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); in checkObjCUnusedIvar()
/external/clang/lib/Lex/
DPreprocessorLexer.cpp27 InitialNumSLocEntries = pp->getSourceManager().local_sloc_entry_size(); in PreprocessorLexer()
57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
DTokenLexer.cpp47 SourceManager &SM = PP.getSourceManager(); in Init()
425 SourceManager &SM = PP.getSourceManager(); in Lex()
574 SourceManager &SourceMgr = PP.getSourceManager(); in PasteTokens()
615 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
652 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
720 SourceManager &SM = PP.getSourceManager(); in getExpansionLocForMacroDefLoc()
804 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()
/external/clang/tools/libclang/
DCXSourceLocation.h43 return translateSourceLocation(Context.getSourceManager(), in translateSourceLocation()
61 return translateSourceRange(Context.getSourceManager(), in translateSourceRange()
DCIndexHigh.cpp189 SourceManager &SM = Ctx.getSourceManager(); in findFileIdRefVisit()
219 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in findIdRefsInFile()
284 SourceManager &SM = Ctx.getSourceManager(); in findFileMacroRefVisit()
317 SourceManager &SM = Unit->getSourceManager(); in findMacroRefsInFile()
362 SourceManager &SM = Ctx.getSourceManager(); in visit()
389 SourceManager &SM = Unit->getSourceManager(); in findIncludesInFile()
/external/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()
DTransGCAttrs.cpp93 SourceManager &SM = Ctx.getSourceManager(); in handleAttr()
177 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager(); in isInMainFile()
291 Loc = MigrateCtx.Pass.Ctx.getSourceManager() in checkAllAtProps()
344 Attr.Loc.dump(Pass.Ctx.getSourceManager()); in dumpGCAttrs()
DTransUnbridgedCasts.cpp110 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) in VisitCastExpr()
256 SourceManager &SM = Pass.Ctx.getSourceManager(); in rewriteToBridgedCast()
283 SourceManager &SM = Pass.Ctx.getSourceManager(); in getBlockMacroRanges()
342 Pass.Ctx.getSourceManager(), in transformObjCToNonObjCCast()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h57 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
/external/clang/lib/AST/
DRawCommentList.cpp120 getRawText(Context.getSourceManager()); in extractBriefText()
147 getRawText(Context.getSourceManager()); in parse()
153 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse()
158 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(), in parse()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp93 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h83 SourceManager &getSourceManager() override { in getSourceManager() function
84 return getASTContext().getSourceManager(); in getSourceManager()
DCheckerContext.h153 SourceManager &getSourceManager() { in getSourceManager() function
154 return getBugReporter().getSourceManager(); in getSourceManager()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h378 virtual SourceManager& getSourceManager() = 0;
445 SourceManager& getSourceManager() { return D.getSourceManager(); }
547 SourceManager& getSourceManager() {
548 return BR.getSourceManager();
/external/clang/lib/Parse/
DParseAST.cpp57 Tok.getLocation().print(OS, PP.getSourceManager()); in print()
64 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print()
/external/clang/lib/Frontend/
DLogDiagnosticPrinter.cpp117 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
140 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
DCompilerInstance.cpp299 getSourceManager(), in createPreprocessor()
304 getSourceManager(), *HeaderInfo, *this, PTHMgr, in createPreprocessor()
320 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor()
380 Context = new ASTContext(getLangOpts(), PP.getSourceManager(), in createASTContext()
695 getFileManager(), getSourceManager(), in InitializeSourceManager()
807 getSourceManager().clearIDTables(); in ExecuteAction()
929 SourceManager &SourceMgr = Instance.getSourceManager(); in compileModuleImpl()
931 ImportingInstance.getSourceManager().getModuleBuildStack()); in compileModuleImpl()
933 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager())); in compileModuleImpl()
1043 SourceManager &SourceMgr = PP.getSourceManager(); in checkConfigMacro()
[all …]
/external/clang/lib/CodeGen/
DCodeGenAction.cpp94 Context->getSourceManager(), in HandleTopLevelDecl()
110 Context->getSourceManager(), in HandleInlineMethodDefinition()
185 Context->getSourceManager(), in HandleTagDeclDefinition()
301 Loc = ConvertBackendLocation(D, Context->getSourceManager()); in InlineAsmDiagHandler2()
424 SourceManager &SourceMgr = Context->getSourceManager(); in EmitOptimizationRemark()
643 SourceManager &SM = CI.getSourceManager(); in ExecuteAction()
/external/clang/lib/Rewrite/Frontend/
DRewriteMacros.cpp64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile()
91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput()
DFrontendActions.cpp97 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction()
123 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation()
DRewriteTest.cpp20 SourceManager &SM = PP.getSourceManager(); in DoRewriteTest()

1234567