Lines Matching refs:PLoc
1577 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro() local
1580 OS << (PLoc.isValid()? PLoc.getLine() : 1); in ExpandBuiltinMacro()
1585 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1589 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { in ExpandBuiltinMacro()
1590 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1592 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro()
1593 if (PLoc.isInvalid()) in ExpandBuiltinMacro()
1596 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1602 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1603 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1633 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1634 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1635 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
1636 for (; PLoc.isValid(); ++Depth) in ExpandBuiltinMacro()
1637 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()