Searched refs:SLoc (Results 1 – 4 of 4) sorted by relevance
593 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); in getBufferData() local594 if (!SLoc.isFile() || MyInvalid) { in getBufferData()601 = SLoc.getFile().getContentCache()->getBuffer(Diag, *this, SourceLocation(), in getBufferData()1359 const SLocEntry &SLoc = getLocalSLocEntry(I, &Invalid); in getLocation() local1363 if (SLoc.isFile() && in getLocation()1364 SLoc.getFile().getContentCache() && in getLocation()1365 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) { in getLocation()1373 const SLocEntry &SLoc = getLoadedSLocEntry(I); in getLocation() local1374 if (SLoc.isFile() && in getLocation()1375 SLoc.getFile().getContentCache() && in getLocation()[all …]
2726 SourceLocation SLoc in clang_getLocation() local2728 if (SLoc.isInvalid()) { in clang_getLocation()2738 << SLoc.getRawEncoding() << "\n"; in clang_getLocation()2740 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocation()2756 SourceLocation SLoc = Start.getFileLocWithOffset(offset); in clang_getLocationForOffset() local2758 if (SLoc.isInvalid()) return clang_getNullLocation(); in clang_getLocationForOffset()2760 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()3456 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); in clang_getCursor() local3460 if (SLoc.isInvalid()) in clang_getCursor()3464 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(), in clang_getCursor()[all …]
3097 SourceLocation SLoc = S->getLocStart(); in getNodeLabel() local3103 if (SLoc.isFileID()) { in getNodeLabel()3105 << GraphPrintSourceManager->getInstantiationLineNumber(SLoc) in getNodeLabel()3107 << GraphPrintSourceManager->getInstantiationColumnNumber(SLoc) in getNodeLabel()3150 SourceLocation SLoc = T->getLocStart(); in getNodeLabel() local3156 if (SLoc.isFileID()) { in getNodeLabel()3158 << GraphPrintSourceManager->getInstantiationLineNumber(SLoc) in getNodeLabel()3160 << GraphPrintSourceManager->getInstantiationColumnNumber(SLoc); in getNodeLabel()
1431 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock() local1438 if (SLoc->isFile()) { in WriteSourceManagerBlock()1439 if (SLoc->getFile().getContentCache()->OrigEntry) { in WriteSourceManagerBlock()1450 Record.push_back(SLoc->getOffset() - 2); in WriteSourceManagerBlock()1451 if (SLoc->isFile()) { in WriteSourceManagerBlock()1452 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteSourceManagerBlock()1508 const SrcMgr::InstantiationInfo &Inst = SLoc->getInstantiation(); in WriteSourceManagerBlock()1517 Record.push_back(NextOffset - SLoc->getOffset() - 1); in WriteSourceManagerBlock()