Home
last modified time | relevance | path

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

123456789

/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()
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()
278 C, BR.getSourceManager()); in VisitConditionalOperator()
DPaddingChecker.cpp123 BR->getSourceManager().getFileCharacteristic(Location); in shouldSkipDecl()
293 << ILoc.printToString(BR->getSourceManager()); in reportRecord()
301 PathDiagnosticLocation::create(RD, BR->getSourceManager()); in reportRecord()
DObjCUnusedIVarsChecker.cpp152 SourceManager &SM = BR.getSourceManager(); in checkObjCUnusedIvar()
165 PathDiagnosticLocation::create(I->first, BR.getSourceManager()); in checkObjCUnusedIvar()
/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()
519 CharRange newRange(range, Ctx.getSourceManager(), PP); in addRemoval()
DTransGCAttrs.cpp93 SourceManager &SM = Ctx.getSourceManager(); in handleAttr()
175 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager(); in isInMainFile()
289 Loc = MigrateCtx.Pass.Ctx.getSourceManager() in checkAllAtProps()
342 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/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()
434 SourceManager &SM = PP.getSourceManager(); in Lex()
598 SourceManager &SourceMgr = PP.getSourceManager(); in PasteTokens()
629 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
677 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
747 SourceManager &SM = PP.getSourceManager(); in getExpansionLocForMacroDefLoc()
835 SourceManager &SM = PP.getSourceManager(); in updateLocForMacroArgTokens()
DTokenConcatenation.cpp54 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix()
133 SourceManager &SM = PP.getSourceManager(); in GetFirstChar()
163 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()
DCIndexInclusionStack.cpp29 SourceManager &SM = CXXUnit->getSourceManager(); in getInclusions()
81 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in clang_getInclusions()
/external/clang/lib/Format/
DTokenAnalyzer.cpp79 AffectedRangeMgr(Env.getSourceManager(), Env.getCharRanges()), in TokenAnalyzer()
82 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer()
93 FormatTokenLexer Tokens(Env.getSourceManager(), Env.getFileID(), Style, in process()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h66 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp96 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
99 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
DBugReporterVisitors.cpp113 PathDiagnosticLocation::createEndOfPath(EndPathNode,BRC.getSourceManager()); in getDefaultEndPath()
326 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()
873 const SourceManager &SMgr = BRC.getSourceManager(); in VisitNode()
1155 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode()
1456 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx); in VisitTrueTest()
1492 PathDiagnosticLocation Loc(CondVarExpr, BRC.getSourceManager(), LCtx); in VisitConditionVariable()
1538 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx); in VisitTrueTest()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h381 virtual SourceManager& getSourceManager() = 0;
448 SourceManager& getSourceManager() { return D.getSourceManager(); }
550 SourceManager& getSourceManager() {
551 return BR.getSourceManager();
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h86 SourceManager &getSourceManager() override { in getSourceManager() function
87 return getASTContext().getSourceManager(); in getSourceManager()
/external/clang/lib/AST/
DRawCommentList.cpp179 getRawText(Context.getSourceManager()); in extractBriefText()
206 getRawText(Context.getSourceManager()); in parse()
212 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse()
217 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(), in parse()
/external/cronet/buildtools/third_party/libc++/trunk/test/tools/clang_tidy_checks/
Dproper_version_checks.cpp37 preprocessor_.getSourceManager(), in check_condition()
39 if (preprocessor_.getSourceManager().isInMainFile(location)) in check_condition()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h67 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
/external/clang/lib/Parse/
DParseAST.cpp70 Tok.getLocation().print(OS, PP.getSourceManager()); in print()
77 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print()
/external/clang/lib/Frontend/
DLogDiagnosticPrinter.cpp119 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
144 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
DCompilerInstance.cpp308 getSourceManager(), in createPreprocessor()
313 getSourceManager(), *HeaderInfo, *this, PTHMgr, in createPreprocessor()
329 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor()
400 auto *Context = new ASTContext(getLangOpts(), PP.getSourceManager(), in createASTContext()
722 Input, getDiagnostics(), getFileManager(), getSourceManager(), in InitializeSourceManager()
873 getSourceManager().clearIDTables(); in ExecuteAction()
998 SourceManager &SourceMgr = Instance.getSourceManager(); in compileModuleImpl()
1000 ImportingInstance.getSourceManager().getModuleBuildStack()); in compileModuleImpl()
1002 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager())); in compileModuleImpl()
1148 SourceManager &SourceMgr = PP.getSourceManager(); in checkConfigMacro()
[all …]

123456789