Home
last modified time | relevance | path

Searched refs:getExpansionLoc (Results 1 – 25 of 37) sorted by relevance

12

/external/clang/lib/Basic/
DSourceLocation.cpp57 SM.getExpansionLoc(*this).print(OS, SM); in print()
86 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() function in FullSourceLoc
88 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc()
DDiagnosticIDs.cpp480 Diag.getSourceManager().getExpansionLoc(Loc))) in getDiagnosticSeverity()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp129 path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag()
147 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag()
149 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getLocStart()), SMgr); in ReportDiag()
241 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in ReportDiag()
371 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
488 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
605 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); in HighlightRange()
608 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd()); in HighlightRange()
DPlistDiagnostics.cpp110 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow()
115 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow()
396 FullSourceLoc L(SM->getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl()
445 FullSourceLoc UFunL(SM->getExpansionLoc( in FlushDiagnosticsImpl()
453 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM); in FlushDiagnosticsImpl()
DBugReporter.cpp1068 SourceLocation ContainerRBeg = SM.getExpansionLoc(ContainerR.getBegin()); in containsLocation()
1069 SourceLocation ContainerREnd = SM.getExpansionLoc(ContainerR.getEnd()); in containsLocation()
1070 SourceLocation ContaineeRBeg = SM.getExpansionLoc(ContaineeR.getBegin()); in containsLocation()
1071 SourceLocation ContaineeREnd = SM.getExpansionLoc(ContaineeR.getEnd()); in containsLocation()
1109 if (NewLocClean.asLocation().getExpansionLoc() == in rawAddEdge()
1110 PrevLocClean.asLocation().getExpansionLoc()) in rawAddEdge()
2117 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine()
2987 SM.getExpansionLoc(Loc) : in CompactPathDiagnostic()
3009 SM.getExpansionLoc(Loc) : in CompactPathDiagnostic()
DPathDiagnostic.cpp221 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic()
232 SourceLocation L = SMgr.getExpansionLoc(I->getBegin()); in HandlePathDiagnostic()
235 L = SMgr.getExpansionLoc(I->getEnd()); in HandlePathDiagnostic()
/external/clang/include/clang/Basic/
DPlistSupport.h23 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID()
33 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
94 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
DSourceLocation.h285 FullSourceLoc getExpansionLoc() const;
/external/clang/lib/ARCMigrate/
DTransformActions.cpp72 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
75 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange()
76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange()
387 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsert()
400 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsertAfterToken()
422 loc = SM.getExpansionLoc(loc); in canReplaceText()
483 loc = SM.getExpansionLoc(loc); in commitReplaceText()
497 SM.getExpansionLoc(parentIndent))); in commitIncreaseIndentation()
507 loc = SM.getExpansionLoc(loc); in addInsertion()
DTransBlockObjCVariable.cpp143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
DTransGCAttrs.cpp176 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
200 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp35 B = SM.getExpansionLoc(B); in HighlightRange()
36 E = SM.getExpansionLoc(E); in HighlightRange()
546 SM.getExpansionLoc(Tok.getLocation()) == LLoc.first) { in HighlightMacros()
/external/clang/lib/Frontend/
DDependencyFile.cpp50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
284 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
DDependencyGraph.cpp82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
DTextDiagnostic.cpp835 SM.getFileID(SM.getExpansionLoc(Loc)); in emitDiagnosticLoc()
844 SourceLocation B = SM.getExpansionLoc(RI->getBegin()); in emitDiagnosticLoc()
845 SourceLocation E = SM.getExpansionLoc(RI->getEnd()); in emitDiagnosticLoc()
DVerifyDiagnosticConsumer.cpp128 Loc = SrcManager->getExpansionLoc(Loc); in HandleDiagnostic()
/external/clang/tools/libclang/
DCXSourceLocation.cpp250 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in clang_getExpansionLocation()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp162 source_location = result.SourceManager->getExpansionLoc(source_location); in GetInstanceLocation()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h213 SourceManager.getExpansionLoc(Node.getLocStart())); in AST_POLYMORPHIC_MATCHER()
233 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getLocStart()); in AST_POLYMORPHIC_MATCHER()
259 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getLocStart()); in AST_POLYMORPHIC_MATCHER_P()
/external/clang/lib/Sema/
DSema.cpp846 SourceMgr.getExpansionLoc(FD->getLocation()))) in ActOnEndOfTranslationUnit()
1079 loc = getSourceManager().getExpansionLoc(loc); in findMacroSpelling()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp511 source_manager.getExpansionLoc(Node.getLocStart()); in AST_MATCHER()
1299 result.SourceManager->getExpansionLoc(target_loc); in GetTargetLoc()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp597 SL = SM.getExpansionLoc(SL); in getModeForDecl()
/external/clang/lib/Lex/
DTokenLexer.cpp60 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
/external/clang/lib/Index/
DUSRGeneration.cpp32 Loc = SM.getExpansionLoc(Loc); in printLoc()

12