Lines Matching defs:PLoc
1669 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
1672 OS << (PLoc.isValid()? PLoc.getLine() : 1);
1678 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1682 if (II == Ident__BASE_FILE__ && PLoc.isValid()) {
1683 SourceLocation NextLoc = PLoc.getIncludeLoc();
1685 PLoc = SourceMgr.getPresumedLoc(NextLoc);
1686 if (PLoc.isInvalid())
1689 NextLoc = PLoc.getIncludeLoc();
1695 if (PLoc.isValid()) {
1699 processPathToFileName(FN, PLoc, getLangOpts(), getTargetInfo());
1701 FN += PLoc.getFilename();
1733 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1734 if (PLoc.isValid()) {
1735 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());
1736 for (; PLoc.isValid(); ++Depth)
1737 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());
2116 const PresumedLoc &PLoc,
2121 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename());
2123 PLFileName = PLoc.getFilename();