Lines Matching refs:PLoc
1506 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
1509 OS << (PLoc.isValid()? PLoc.getLine() : 1);
1515 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1519 if (II == Ident__BASE_FILE__ && PLoc.isValid()) {
1520 SourceLocation NextLoc = PLoc.getIncludeLoc();
1522 PLoc = SourceMgr.getPresumedLoc(NextLoc);
1523 if (PLoc.isInvalid())
1526 NextLoc = PLoc.getIncludeLoc();
1532 if (PLoc.isValid()) {
1538 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename());
1542 FN += PLoc.getFilename();
1544 FN += PLoc.getFilename();
1576 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1577 if (PLoc.isValid()) {
1578 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());
1579 for (; PLoc.isValid(); ++Depth)
1580 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());