Home
last modified time | relevance | path

Searched refs:SLoc (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Basic/
DSourceManager.cpp593 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); in getBufferData() local
594 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() local
1363 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() local
1374 if (SLoc.isFile() && in getLocation()
1375 SLoc.getFile().getContentCache() && in getLocation()
[all …]
/external/clang/tools/libclang/
DCIndex.cpp2726 SourceLocation SLoc in clang_getLocation() local
2728 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() local
2758 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() local
3460 if (SLoc.isInvalid()) in clang_getCursor()
3464 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(), in clang_getCursor()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp3097 SourceLocation SLoc = S->getLocStart(); in getNodeLabel() local
3103 if (SLoc.isFileID()) { in getNodeLabel()
3105 << GraphPrintSourceManager->getInstantiationLineNumber(SLoc) in getNodeLabel()
3107 << GraphPrintSourceManager->getInstantiationColumnNumber(SLoc) in getNodeLabel()
3150 SourceLocation SLoc = T->getLocStart(); in getNodeLabel() local
3156 if (SLoc.isFileID()) { in getNodeLabel()
3158 << GraphPrintSourceManager->getInstantiationLineNumber(SLoc) in getNodeLabel()
3160 << GraphPrintSourceManager->getInstantiationColumnNumber(SLoc); in getNodeLabel()
/external/clang/lib/Serialization/
DASTWriter.cpp1431 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock() local
1438 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()