Lines Matching refs:PLoc
1532 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro() local
1535 OS << (PLoc.isValid()? PLoc.getLine() : 1); in ExpandBuiltinMacro()
1541 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1545 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { in ExpandBuiltinMacro()
1546 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1548 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro()
1549 if (PLoc.isInvalid()) in ExpandBuiltinMacro()
1552 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
1558 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1564 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename()); in ExpandBuiltinMacro()
1568 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1570 FN += PLoc.getFilename(); in ExpandBuiltinMacro()
1602 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local
1603 if (PLoc.isValid()) { in ExpandBuiltinMacro()
1604 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
1605 for (; PLoc.isValid(); ++Depth) in ExpandBuiltinMacro()
1606 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()