Searched refs:SLoc (Results 1 - 5 of 5) sorted by relevance
/external/clang/tools/libclang/ |
H A D | CXSourceLocation.cpp | 130 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); local 131 if (SLoc.isInvalid()) { 141 << SLoc.getRawEncoding() << "\n"; 143 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); 154 SourceLocation SLoc local 157 if (SLoc.isInvalid()) 160 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc);
|
H A D | CIndex.cpp | 3762 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); local 3763 CXCursor Result = cxcursor::getCursor(TU, SLoc); 4010 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { argument 4015 if (SLoc.isInvalid()) 4022 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(), 4026 if (SLoc.isValid()) { 4027 GetCursorData ResultData(CXXUnit->getSourceManager(), SLoc, Result); 4031 SourceLocation(SLoc));
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 667 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); local 668 if (!SLoc.isFile() || MyInvalid) { 675 = SLoc.getFile().getContentCache()->getBuffer(Diag, *this, SourceLocation(), 1521 const SLocEntry &SLoc = getLocalSLocEntry(I, &Invalid); local 1525 if (SLoc.isFile() && 1526 SLoc.getFile().getContentCache() && 1527 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) { 1535 const SLocEntry &SLoc = getLoadedSLocEntry(I); local 1536 if (SLoc.isFile() && 1537 SLoc 1558 const SLocEntry &SLoc = getSLocEntry(IFileID, &Invalid); local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 1855 static void printLocation(llvm::raw_ostream &Out, SourceLocation SLoc) { argument 1856 if (SLoc.isFileID()) { 1858 << GraphPrintSourceManager->getExpansionLineNumber(SLoc) 1860 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc) 1982 SourceLocation SLoc = T->getLocStart(); local 1988 if (SLoc.isFileID()) { 1990 << GraphPrintSourceManager->getExpansionLineNumber(SLoc) 1992 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc);
|
/external/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 1437 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); local 1444 if (SLoc->isFile()) { 1445 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); 1457 Record.push_back(SLoc->getOffset() - 2); 1458 if (SLoc->isFile()) { 1459 const SrcMgr::FileInfo &File = SLoc->getFile(); 1478 FileDeclIDsTy::iterator FDI = FileDeclIDs.find(SLoc); 1536 const SrcMgr::ExpansionInfo &Expansion = SLoc->getExpansion(); 1546 Record.push_back(NextOffset - SLoc->getOffset() - 1);
|
Completed in 70 milliseconds