Lines Matching refs:PLoc
1512 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro() local
1515 OS << (PLoc.isValid()? PLoc.getLine() : 1); in ExpandBuiltinMacro()
1521 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1525 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { in ExpandBuiltinMacro()
1526 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1528 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro()
1529 if (PLoc.isInvalid()) in ExpandBuiltinMacro()
1532 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1538 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1544 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename()); in ExpandBuiltinMacro()
1548 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1550 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1582 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1583 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1584 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
1585 for (; PLoc.isValid(); ++Depth) in ExpandBuiltinMacro()
1586 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()