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

/external/compiler-rt/lib/ubsan/
H A Dubsan_diag.cc72 SourceLocation SLoc = Loc.getSourceLocation(); local
73 if (SLoc.isInvalid())
76 Printf("%s:%d:", SLoc.getFilename(), SLoc.getLine());
77 if (SLoc.getColumn())
78 Printf("%d:", SLoc.getColumn());
/external/clang/tools/libclang/
H A DCXSourceLocation.cpp132 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); local
133 if (SLoc.isInvalid()) {
141 cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc);
157 SourceLocation SLoc local
160 if (SLoc.isInvalid())
163 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc);
H A DCIndex.cpp3940 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); local
3941 CXCursor Result = cxcursor::getCursor(TU, SLoc);
4202 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { argument
4207 if (SLoc.isInvalid())
4214 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(),
4218 if (SLoc.isValid()) {
4219 GetCursorData ResultData(CXXUnit->getSourceManager(), SLoc, Result);
4223 SourceLocation(SLoc));
/external/clang/lib/Basic/
H A DSourceManager.cpp704 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); local
705 if (!SLoc.isFile() || MyInvalid) {
712 = SLoc.getFile().getContentCache()->getBuffer(Diag, *this, SourceLocation(),
1662 const SLocEntry &SLoc = getLocalSLocEntry(I, &Invalid); local
1666 if (SLoc.isFile() &&
1667 SLoc.getFile().getContentCache() &&
1668 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) {
1676 const SLocEntry &SLoc = getLoadedSLocEntry(I); local
1677 if (SLoc.isFile() &&
1678 SLoc
1698 const SLocEntry &SLoc = getSLocEntry(IFileID, &Invalid); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2218 static void printLocation(raw_ostream &Out, SourceLocation SLoc) { argument
2219 if (SLoc.isFileID()) {
2221 << GraphPrintSourceManager->getExpansionLineNumber(SLoc)
2223 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc)
2318 SourceLocation SLoc = T->getLocStart(); local
2324 if (SLoc.isFileID()) {
2326 << GraphPrintSourceManager->getExpansionLineNumber(SLoc)
2328 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc);
H A DBugReporter.cpp3470 if (const Stmt *SLoc = getLocStmt(getLocation()))
3471 SLoc->dump();
/external/clang/lib/Serialization/
H A DASTWriter.cpp1276 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); local
1277 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc);
1280 if (!SLoc->isFile())
1282 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache();
1656 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); local
1658 assert(&SourceMgr.getSLocEntry(FID) == SLoc);
1665 if (SLoc->isFile()) {
1666 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache();
1677 Record.push_back(SLoc->getOffset() - 2);
1678 if (SLoc
[all...]

Completed in 156 milliseconds