Lines Matching refs:PLoc
2865 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in EmitAnnotationUnit() local
2866 if (PLoc.isValid()) in EmitAnnotationUnit()
2867 return EmitAnnotationString(PLoc.getFilename()); in EmitAnnotationUnit()
2873 PresumedLoc PLoc = SM.getPresumedLoc(L); in EmitAnnotationLineNo() local
2874 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() : in EmitAnnotationLineNo()
7162 PresumedLoc PLoc = SM.getPresumedLoc(D->getLocation()); in printPostfixForExternalizedDecl() local
7163 assert(PLoc.isValid() && "Source location is expected to be valid."); in printPostfixForExternalizedDecl()
7174 if (auto EC = llvm::sys::fs::getUniqueID(PLoc.getFilename(), ID)) { in printPostfixForExternalizedDecl()
7175 PLoc = SM.getPresumedLoc(D->getLocation(), /*UseLineDirectives=*/false); in printPostfixForExternalizedDecl()
7176 assert(PLoc.isValid() && "Source location is expected to be valid."); in printPostfixForExternalizedDecl()
7177 if (auto EC = llvm::sys::fs::getUniqueID(PLoc.getFilename(), ID)) in printPostfixForExternalizedDecl()
7179 << PLoc.getFilename() << EC.message(); in printPostfixForExternalizedDecl()