Lines Matching defs:PLoc
1674 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
1677 OS << (PLoc.isValid()? PLoc.getLine() : 1);
1683 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1687 if (II == Ident__BASE_FILE__ && PLoc.isValid()) {
1688 SourceLocation NextLoc = PLoc.getIncludeLoc();
1690 PLoc = SourceMgr.getPresumedLoc(NextLoc);
1691 if (PLoc.isInvalid())
1694 NextLoc = PLoc.getIncludeLoc();
1700 if (PLoc.isValid()) {
1704 processPathToFileName(FN, PLoc, getLangOpts(), getTargetInfo());
1706 FN += PLoc.getFilename();
1738 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1739 if (PLoc.isValid()) {
1740 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());
1741 for (; PLoc.isValid(); ++Depth)
1742 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());
2118 const PresumedLoc &PLoc,
2123 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename());
2125 PLFileName = PLoc.getFilename();