Searched refs:SLoc (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/lib/ubsan/ |
D | ubsan_diag.cc | 75 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() local 76 if (!SLoc.isInvalid()) { in MaybeReportErrorSummary() 78 AI.file = internal_strdup(SLoc.getFilename()); in MaybeReportErrorSummary() 79 AI.line = SLoc.getLine(); in MaybeReportErrorSummary() 80 AI.column = SLoc.getColumn(); in MaybeReportErrorSummary() 140 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation() local 141 if (SLoc.isInvalid()) in RenderLocation() 144 RenderSourceLocation(Buffer, SLoc.getFilename(), SLoc.getLine(), in RenderLocation() 145 SLoc.getColumn(), common_flags()->symbolize_vs_style, in RenderLocation()
|
D | ubsan_handlers.cc | 25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport() argument 35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); in ignoreReport() 381 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow() local 382 if (ignoreReport(SLoc, Opts, ET)) in handleFloatCastOverflow() 384 Loc = SLoc; in handleFloatCastOverflow()
|
D | ubsan_diag.h | 228 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
|
/external/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 138 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); in clang_getLocation() local 139 if (SLoc.isInvalid()) { in clang_getLocation() 147 cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocation() 167 SourceLocation SLoc in clang_getLocationForOffset() local 170 if (SLoc.isInvalid()) in clang_getLocationForOffset() 173 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
|
D | CIndex.cpp | 5015 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); in clang_getCursor() local 5016 CXCursor Result = cxcursor::getCursor(TU, SLoc); in clang_getCursor() 5284 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { in getCursor() argument 5289 if (SLoc.isInvalid()) in getCursor() 5296 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(), in getCursor() 5300 if (SLoc.isValid()) { in getCursor() 5301 GetCursorData ResultData(CXXUnit->getSourceManager(), SLoc, Result); in getCursor() 5305 SourceLocation(SLoc)); in getCursor()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 684 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); in getBufferData() local 685 if (!SLoc.isFile() || MyInvalid) { in getBufferData() 691 llvm::MemoryBuffer *Buf = SLoc.getFile().getContentCache()->getBuffer( in getBufferData() 1656 const SLocEntry &SLoc = getLocalSLocEntry(I, &Invalid); in translateFile() local 1660 if (SLoc.isFile() && in translateFile() 1661 SLoc.getFile().getContentCache() && in translateFile() 1662 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) { in translateFile() 1670 const SLocEntry &SLoc = getLoadedSLocEntry(I); in translateFile() local 1671 if (SLoc.isFile() && in translateFile() 1672 SLoc.getFile().getContentCache() && in translateFile() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 2543 static void printLocation(raw_ostream &Out, SourceLocation SLoc) { in printLocation() 2544 if (SLoc.isFileID()) { in printLocation() 2546 << GraphPrintSourceManager->getExpansionLineNumber(SLoc) in printLocation() 2548 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc) in printLocation() 2643 SourceLocation SLoc = T->getLocStart(); in getNodeLabel() local 2649 if (SLoc.isFileID()) { in getNodeLabel() 2651 << GraphPrintSourceManager->getExpansionLineNumber(SLoc) in getNodeLabel() 2653 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc); in getNodeLabel()
|
D | BugReporter.cpp | 3493 if (const Stmt *SLoc = getLocStmt(getLocation())) in dump() local 3494 SLoc->dump(); in dump()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1568 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles() local 1569 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc); in WriteInputFiles() 1572 if (!SLoc->isFile()) in WriteInputFiles() 1574 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteInputFiles() 1923 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock() local 1925 assert(&SourceMgr.getSLocEntry(FID) == SLoc); in WriteSourceManagerBlock() 1932 if (SLoc->isFile()) { in WriteSourceManagerBlock() 1933 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock() 1944 Record.push_back(SLoc->getOffset() - 2); in WriteSourceManagerBlock() 1945 if (SLoc->isFile()) { in WriteSourceManagerBlock() [all …]
|