Home
last modified time | relevance | path

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

1234

/external/clang/tools/libclang/
DCXSourceLocation.h43 return translateSourceLocation(Context.getSourceManager(), in translateSourceLocation()
61 return translateSourceRange(Context.getSourceManager(), in translateSourceRange()
DCIndexInclusionStack.cpp29 SourceManager &SM = CXXUnit->getSourceManager(); in clang_getInclusions()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h57 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager() function
DMCAsmParser.h54 virtual SourceMgr &getSourceManager() = 0;
/external/clang/lib/Lex/
DTokenLexer.cpp45 SourceManager &SM = PP.getSourceManager(); in Init()
124 SourceManager &SM = PP.getSourceManager(); in ExpandFunctionArguments()
391 SourceManager &SM = PP.getSourceManager(); in Lex()
534 SourceManager &SourceMgr = PP.getSourceManager(); in PasteTokens()
575 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
613 SourceManager &SM = PP.getSourceManager(); in PasteTokens()
677 SourceManager &SM = PP.getSourceManager(); in getMacroExpansionLocation()
DTokenConcatenation.cpp23 SourceManager &SM = PP.getSourceManager(); in StartsWithL()
43 SourceManager &SM = PP.getSourceManager(); in IsIdentifierL()
104 SourceManager &SM = PP.getSourceManager(); in GetFirstChar()
DPreprocessorLexer.cpp44 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
/external/clang/lib/ARCMigrate/
DTransformActions.cpp385 SourceManager &SM = Ctx.getSourceManager(); in canInsert()
398 SourceManager &SM = Ctx.getSourceManager(); in canInsertAfterToken()
420 SourceManager &SM = Ctx.getSourceManager(); in canReplaceText()
441 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken()
465 Ctx.getSourceManager(), PP); in commitReplace()
475 Ctx.getSourceManager(), PP), in commitReplace()
481 SourceManager &SM = Ctx.getSourceManager(); in commitReplaceText()
492 SourceManager &SM = Ctx.getSourceManager(); in commitIncreaseIndentation()
505 SourceManager &SM = Ctx.getSourceManager(); in addInsertion()
519 CharRange newRange(range, Ctx.getSourceManager(), PP); in addRemoval()
DARCMT.cpp205 Diags->setSourceManager(&PP.getSourceManager()); in emitPremigrationErrors()
270 Ctx.getSourceManager(), Ctx.getLangOptions()); in checkForManualIssues()
532 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOptions()); in applyTransform()
552 const FileEntry *file = Ctx.getSourceManager().getFileEntryForID(FID); in applyTransform()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp84 Context->getSourceManager(), in HandleTopLevelDecl()
141 Context->getSourceManager(), in HandleTagDeclDefinition()
209 Loc = ConvertBackendLocation(D, Context->getSourceManager()); in InlineAsmDiagHandler2()
308 SourceManager &SM = CI.getSourceManager(); in ExecuteAction()
/external/clang/lib/Frontend/
DLogDiagnosticPrinter.cpp103 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
126 const SourceManager &SM = Info.getSourceManager(); in HandleDiagnostic()
DFrontendAction.cpp156 CI.setSourceManager(&AST->getSourceManager()); in BeginSourceFile()
288 CI.getSourceManager().createMainFileIDForMemBuffer(SB); in Execute()
337 CI.getSourceManager().PrintStats(); in EndSourceFile()
DCompilerInstance.cpp197 getFrontendOpts(), getSourceManager(), in createPreprocessor()
258 Context = new ASTContext(getLangOpts(), PP.getSourceManager(), in createASTContext()
523 getSourceManager(), getFrontendOpts()); in InitializeSourceManager()
599 getSourceManager().clearIDTables(); in ExecuteAction()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h276 virtual SourceManager& getSourceManager() = 0;
326 SourceManager& getSourceManager() { return D.getSourceManager(); } in getSourceManager() function
457 SourceManager& getSourceManager() { in getSourceManager() function
458 return BR.getSourceManager(); in getSourceManager()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp198 return PathDiagnosticLocation(S, getSourceManager()); in ExecutionContinues()
201 getSourceManager()); in ExecutionContinues()
216 << getSourceManager().getInstantiationLineNumber(Loc.asLocation()) in ExecutionContinues()
258 SourceManager &SMgr = getSourceManager(); in getEnclosingStmtLocation()
449 FullSourceLoc L(S->getLocStart(), BR.getSourceManager()); in HandleBinding()
528 SourceManager& SMgr = PDB.getSourceManager(); in GenerateMinimalPathDiagnostic()
801 CompactPathDiagnostic(PD, PDB.getSourceManager()); in GenerateMinimalPathDiagnostic()
926 rawAddEdge(PathDiagnosticLocation(Loc, PDB.getSourceManager())); in ~EdgeBuilder()
976 SourceManager &SM = PDB.getSourceManager(); in containsLocation()
1102 PathDiagnosticLocation L(S, PDB.getSourceManager()); in addContext()
[all …]
DBugReporterVisitors.cpp219 PathDiagnosticLocation L(S, BRC.getSourceManager()); in VisitNode()
292 PathDiagnosticLocation L(S, BRC.getSourceManager()); in VisitNode()
411 PathDiagnosticLocation L(Receiver, BRC.getSourceManager()); in VisitNode()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h126 virtual SourceManager &getSourceManager() { in getSourceManager() function
127 return getASTContext().getSourceManager(); in getSourceManager()
DCheckerContext.h85 SourceManager &getSourceManager() { in getSourceManager() function
86 return getBugReporter().getSourceManager(); in getSourceManager()
/external/clang/lib/Rewrite/
DRewriteMacros.cpp64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile()
91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput()
DRewriteTest.cpp20 SourceManager &SM = PP.getSourceManager(); in DoRewriteTest()
DHTMLPrint.cpp58 R.setSourceMgr(context.getSourceManager(), context.getLangOptions()); in Initialize()
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp100 SourceRange range = GenName(os, R, C.getSourceManager()); in EmitStackError()
202 Eng.getContext().getSourceManager()); in checkEndPath()
DDebugCheckers.cpp32 L->dumpBlockLiveness(mgr.getSourceManager()); in checkASTCodeBody()
/external/clang/lib/Sema/
DSema.cpp143 Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()), in Sema()
223 if (!Context.getSourceManager().isInSystemHeader(loc)) in makeUnavailableInSystemHeader()
382 FullSourceLoc loc(i->second, S.Context.getSourceManager()); in checkUndefinedInternals()
690 loc = getSourceManager().getInstantiationLoc(loc); in findMacroSpelling()
800 Loc.print(OS, S.getSourceManager()); in print()
/external/clang/lib/Index/
DASTLocation.cpp112 SourceManager &SourceMgr = Ctx.getSourceManager(); in print()

1234