Lines Matching refs:PLoc
1497 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro() local
1500 OS << (PLoc.isValid()? PLoc.getLine() : 1); in ExpandBuiltinMacro()
1506 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1510 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { in ExpandBuiltinMacro()
1511 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1513 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro()
1514 if (PLoc.isInvalid()) in ExpandBuiltinMacro()
1517 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1523 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1529 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename()); in ExpandBuiltinMacro()
1533 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1535 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1567 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1568 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1569 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
1570 for (; PLoc.isValid(); ++Depth) in ExpandBuiltinMacro()
1571 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()