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