Searched refs:SLoc (Results 1 - 7 of 7) sorted by relevance

/external/compiler-rt/lib/ubsan/
H A Dubsan_diag.cc112 SourceLocation SLoc = Loc.getSourceLocation(); local
113 if (SLoc.isInvalid())
116 PrintSourceLocation(&LocBuffer, SLoc.getFilename(), SLoc.getLine(),
117 SLoc.getColumn());
/external/clang/tools/libclang/
H A DCXSourceLocation.cpp138 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); local
139 if (SLoc.isInvalid()) {
147 cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc);
167 SourceLocation SLoc local
170 if (SLoc.isInvalid())
173 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc);
H A DCIndex.cpp4138 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); local
4139 CXCursor Result = cxcursor::getCursor(TU, SLoc);
4407 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { argument
4412 if (SLoc.isInvalid())
4419 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(),
4423 if (SLoc.isValid()) {
4424 GetCursorData ResultData(CXXUnit->getSourceManager(), SLoc, Result);
4428 SourceLocation(SLoc));
/external/clang/lib/Basic/
H A DSourceManager.cpp690 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); local
691 if (!SLoc.isFile() || MyInvalid) {
697 llvm::MemoryBuffer *Buf = SLoc.getFile().getContentCache()->getBuffer(
1650 const SLocEntry &SLoc = getLocalSLocEntry(I, &Invalid); local
1654 if (SLoc.isFile() &&
1655 SLoc.getFile().getContentCache() &&
1656 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) {
1664 const SLocEntry &SLoc = getLoadedSLocEntry(I); local
1665 if (SLoc.isFile() &&
1666 SLoc
1686 const SLocEntry &SLoc = getSLocEntry(IFileID, &Invalid); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2317 static void printLocation(raw_ostream &Out, SourceLocation SLoc) { argument
2318 if (SLoc.isFileID()) {
2320 << GraphPrintSourceManager->getExpansionLineNumber(SLoc)
2322 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc)
2417 SourceLocation SLoc = T->getLocStart(); local
2423 if (SLoc.isFileID()) {
2425 << GraphPrintSourceManager->getExpansionLineNumber(SLoc)
2427 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc);
H A DBugReporter.cpp3522 if (const Stmt *SLoc = getLocStmt(getLocation()))
3523 SLoc->dump();
/external/clang/lib/Serialization/
H A DASTWriter.cpp1318 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); local
1319 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc);
1322 if (!SLoc->isFile())
1324 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache();
1679 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); local
1681 assert(&SourceMgr.getSLocEntry(FID) == SLoc);
1688 if (SLoc->isFile()) {
1689 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache();
1700 Record.push_back(SLoc->getOffset() - 2);
1701 if (SLoc
[all...]

Completed in 3353 milliseconds