Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp191 FileID ReportFile = path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag()
204 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag()
206 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getBeginLoc()), SMgr); in ReportDiag()
276 FileID FID = I->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML()
332 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML()
541 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in FinalizeHTML()
673 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
797 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
908 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); in HighlightRange()
911 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd()); in HighlightRange()
H A DPlistDiagnostics.cpp240 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow()
245 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow()
598 FullSourceLoc L(SM.getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl()
648 SM.getExpansionLoc( in FlushDiagnosticsImpl()
657 FullSourceLoc FunL(SM.getExpansionLoc(Body->getBeginLoc()), SM); in FlushDiagnosticsImpl()
844 MacroNameAndArgs Info = getMacroNameAndArgs(SM.getExpansionLoc(MacroLoc), PP); in getMacroNameAndPrintExpansion()
H A DBugReporter.cpp1491 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine()
1888 FullSourceLoc Loc = P->getLocation().asLocation().getExpansionLoc(); in updateExecutedLinesWithDiagnosticPieces()
2470 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces()
2492 SM.getExpansionLoc(Loc) : in CompactMacroExpandedPieces()
3017 FileID FID = SM.getFileID(SM.getExpansionLoc(Start)); in populateExecutedLinesWithFunctionSignature()
3028 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in populateExecutedLinesWithStmt()
H A DPathDiagnostic.cpp245 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic()
257 SourceLocation L = SMgr.getExpansionLoc(I.getBegin()); in HandlePathDiagnostic()
262 L = SMgr.getExpansionLoc(I.getEnd()); in HandlePathDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceLocation.cpp63 SM.getExpansionLoc(*this).print(OS, SM); in print()
110 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous); in PrintDifference()
146 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() function in FullSourceLoc
148 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc()
H A DDiagnosticIDs.cpp489 Diag.getSourceManager().getExpansionLoc(Loc))) in getDiagnosticSeverity()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DPlistSupport.h41 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID()
53 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
H A DSourceLocation.h364 FullSourceLoc getExpansionLoc() const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A 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()
H A DTransBlockObjCVariable.cpp143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()), in traverseBody()
H A DTransGCAttrs.cpp171 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
200 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
H A DRewriteObjC.cpp653 Loc = SM->getExpansionLoc(Loc); in HandleTopLevelSingleDecl()
2207 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl()
2213 X = SM->getExpansionLoc(X); in RewriteTypeOfDecl()
4181 X = SM->getExpansionLoc(X); in RewriteByRefVar()
4276 startLoc = SM->getExpansionLoc(startLoc); in RewriteByRefVar()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DHTMLRewrite.cpp36 B = SM.getExpansionLoc(B); in HighlightRange()
37 E = SM.getExpansionLoc(E); in HighlightRange()
616 SM.getExpansionLoc(Tok.getLocation()) == LLoc.getBegin()) { in HighlightMacros()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DDependencyFile.cpp49 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
296 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
H A DDependencyGraph.cpp85 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
H A DTextDiagnostic.cpp846 FileID CaretFileID = Loc.getExpansionLoc().getFileID(); in emitDiagnosticLoc()
856 SourceLocation B = SM.getExpansionLoc(RI->getBegin()); in emitDiagnosticLoc()
H A DVerifyDiagnosticConsumer.cpp155 Loc = SrcManager->getExpansionLoc(Loc); in HandleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp1006 unsigned Begin = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(BeginLoc)); in getSourceRangeOffsets()
1007 unsigned End = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(EndLoc)); in getSourceRangeOffsets()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h248 SourceManager.getExpansionLoc(Node.getBeginLoc())); in AST_POLYMORPHIC_MATCHER()
268 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER()
294 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_P()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp680 SL = SM.getExpansionLoc(SL); in getModeForDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DTokenLexer.cpp73 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
H A DPPDirectives.cpp586 FileID IDOfIncl = SourceMgr.getFileID(SourceMgr.getExpansionLoc(Loc)); in getModuleForLocation()
622 auto ID = SM.getFileID(SM.getExpansionLoc(Loc)); in getModuleHeaderToIncludeForDiagnostics()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSema.cpp1096 SourceMgr.getExpansionLoc(FD->getLocation()))) in ActOnEndOfTranslationUnit()
1339 loc = getSourceManager().getExpansionLoc(loc); in findMacroSpelling()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp31 Loc = SM.getExpansionLoc(Loc); in printLoc()

12