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

/external/compiler-rt/lib/ubsan/
H A Dubsan_diag.cc75 SourceLocation SLoc = Loc.getSourceLocation(); local
76 if (!SLoc.isInvalid()) {
78 AI.file = internal_strdup(SLoc.getFilename());
79 AI.line = SLoc.getLine();
80 AI.column = SLoc.getColumn();
140 SourceLocation SLoc = Loc.getSourceLocation(); local
141 if (SLoc.isInvalid())
144 RenderSourceLocation(Buffer, SLoc.getFilename(), SLoc.getLine(),
145 SLoc
[all...]
H A Dubsan_handlers.cc25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { argument
35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename());
381 SourceLocation SLoc = Data->Loc.acquire(); local
382 if (ignoreReport(SLoc, Opts, ET))
384 Loc = SLoc;
H A Dubsan_diag.h228 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
/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.cpp5015 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); local
5016 CXCursor Result = cxcursor::getCursor(TU, SLoc);
5284 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { argument
5289 if (SLoc.isInvalid())
5296 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(),
5300 if (SLoc.isValid()) {
5301 GetCursorData ResultData(CXXUnit->getSourceManager(), SLoc, Result);
5305 SourceLocation(SLoc));
/external/clang/lib/Basic/
H A DSourceManager.cpp684 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); local
685 if (!SLoc.isFile() || MyInvalid) {
691 llvm::MemoryBuffer *Buf = SLoc.getFile().getContentCache()->getBuffer(
1656 const SLocEntry &SLoc = getLocalSLocEntry(I, &Invalid); local
1660 if (SLoc.isFile() &&
1661 SLoc.getFile().getContentCache() &&
1662 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) {
1670 const SLocEntry &SLoc = getLoadedSLocEntry(I); local
1671 if (SLoc.isFile() &&
1672 SLoc
1692 const SLocEntry &SLoc = getSLocEntry(IFileID, &Invalid); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2543 static void printLocation(raw_ostream &Out, SourceLocation SLoc) { argument
2544 if (SLoc.isFileID()) {
2546 << GraphPrintSourceManager->getExpansionLineNumber(SLoc)
2548 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc)
2643 SourceLocation SLoc = T->getLocStart(); local
2649 if (SLoc.isFileID()) {
2651 << GraphPrintSourceManager->getExpansionLineNumber(SLoc)
2653 << GraphPrintSourceManager->getExpansionColumnNumber(SLoc);
H A DBugReporter.cpp3493 if (const Stmt *SLoc = getLocStmt(getLocation()))
3494 SLoc->dump();
/external/clang/lib/Serialization/
H A DASTWriter.cpp1568 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); local
1569 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc);
1572 if (!SLoc->isFile())
1574 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache();
1923 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); local
1925 assert(&SourceMgr.getSLocEntry(FID) == SLoc);
1932 if (SLoc->isFile()) {
1933 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache();
1944 Record.push_back(SLoc->getOffset() - 2);
1945 if (SLoc
[all...]

Completed in 265 milliseconds