Lines Matching refs:PLoc
1504 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
1507 OS << (PLoc.isValid()? PLoc.getLine() : 1);
1513 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1517 if (II == Ident__BASE_FILE__ && PLoc.isValid()) {
1518 SourceLocation NextLoc = PLoc.getIncludeLoc();
1520 PLoc = SourceMgr.getPresumedLoc(NextLoc);
1521 if (PLoc.isInvalid())
1524 NextLoc = PLoc.getIncludeLoc();
1530 if (PLoc.isValid()) {
1536 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename());
1540 FN += PLoc.getFilename();
1542 FN += PLoc.getFilename();
1574 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1575 if (PLoc.isValid()) {
1576 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());
1577 for (; PLoc.isValid(); ++Depth)
1578 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc());