Lines Matching refs:PLoc
1495 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro() local
1498 OS << (PLoc.isValid()? PLoc.getLine() : 1); in ExpandBuiltinMacro()
1503 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1507 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { in ExpandBuiltinMacro()
1508 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1510 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro()
1511 if (PLoc.isInvalid()) in ExpandBuiltinMacro()
1514 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1520 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1521 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1551 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1552 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1553 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
1554 for (; PLoc.isValid(); ++Depth) in ExpandBuiltinMacro()
1555 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()