Home
last modified time | relevance | path

Searched refs:SLoc (Results 1 – 19 of 19) sorted by relevance

/netbsd/external/gpl3/gcc/dist/libsanitizer/ubsan/
H A Dubsan_diag.cc78 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() local
79 if (!SLoc.isInvalid()) { in MaybeReportErrorSummary()
81 AI.file = internal_strdup(SLoc.getFilename()); in MaybeReportErrorSummary()
82 AI.line = SLoc.getLine(); in MaybeReportErrorSummary()
83 AI.column = SLoc.getColumn(); in MaybeReportErrorSummary()
141 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation() local
142 if (SLoc.isInvalid()) in RenderLocation()
145 RenderSourceLocation(Buffer, SLoc.getFilename(), SLoc.getLine(), in RenderLocation()
146 SLoc.getColumn(), common_flags()->symbolize_vs_style, in RenderLocation()
H A Dubsan_handlers.cc25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport() argument
35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); in ignoreReport()
394 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow() local
395 if (ignoreReport(SLoc, Opts, ET)) in handleFloatCastOverflow()
397 Loc = SLoc; in handleFloatCastOverflow()
H A Dubsan_diag.h230 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
/netbsd/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_diag.cc80 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() local
81 if (!SLoc.isInvalid()) { in MaybeReportErrorSummary()
83 AI.file = internal_strdup(SLoc.getFilename()); in MaybeReportErrorSummary()
84 AI.line = SLoc.getLine(); in MaybeReportErrorSummary()
85 AI.column = SLoc.getColumn(); in MaybeReportErrorSummary()
143 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation() local
144 if (SLoc.isInvalid()) in RenderLocation()
147 RenderSourceLocation(Buffer, SLoc.getFilename(), SLoc.getLine(), in RenderLocation()
148 SLoc.getColumn(), common_flags()->symbolize_vs_style, in RenderLocation()
H A Dubsan_handlers.cc27 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport() argument
37 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); in ignoreReport()
398 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow() local
399 if (ignoreReport(SLoc, Opts, ET)) in handleFloatCastOverflow()
401 Loc = SLoc; in handleFloatCastOverflow()
H A Dubsan_diag.h232 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_diag.cc78 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() local
79 if (!SLoc.isInvalid()) { in MaybeReportErrorSummary()
81 AI.file = internal_strdup(SLoc.getFilename()); in MaybeReportErrorSummary()
82 AI.line = SLoc.getLine(); in MaybeReportErrorSummary()
83 AI.column = SLoc.getColumn(); in MaybeReportErrorSummary()
141 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation() local
142 if (SLoc.isInvalid()) in RenderLocation()
145 RenderSourceLocation(Buffer, SLoc.getFilename(), SLoc.getLine(), in RenderLocation()
146 SLoc.getColumn(), common_flags()->symbolize_vs_style, in RenderLocation()
H A Dubsan_handlers.cc25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport() argument
35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); in ignoreReport()
394 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow() local
395 if (ignoreReport(SLoc, Opts, ET)) in handleFloatCastOverflow()
397 Loc = SLoc; in handleFloatCastOverflow()
H A Dubsan_diag.h230 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXSourceLocation.cpp132 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); in clang_getLocation() local
133 if (SLoc.isInvalid()) { in clang_getLocation()
141 cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocation()
162 SourceLocation SLoc in clang_getLocationForOffset() local
165 if (SLoc.isInvalid()) in clang_getLocationForOffset()
168 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
H A DCIndex.cpp5835 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); in clang_getCursor() local
5836 CXCursor Result = cxcursor::getCursor(TU, SLoc); in clang_getCursor()
6110 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { in getCursor() argument
6115 if (SLoc.isInvalid()) in getCursor()
6122 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(), in getCursor()
6126 if (SLoc.isValid()) { in getCursor()
6127 GetCursorData ResultData(CXXUnit->getSourceManager(), SLoc, Result); in getCursor()
6131 SourceLocation(SLoc)); in getCursor()
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/
H A DMacroExpansionContext.cpp205 SourceLocation SLoc = Tok.getLocation(); in onTokenLexed() local
206 if (SLoc.isFileID()) in onTokenLexed()
211 SLoc.print(llvm::dbgs(), *SM); llvm::dbgs() << '\n';); in onTokenLexed()
214 SourceLocation CurrExpansionLoc = SM->getExpansionLoc(SLoc); in onTokenLexed()
H A DPathDiagnostic.cpp1162 if (const Stmt *SLoc = getLocation().getStmtOrNull()) in dump() local
1163 SLoc->dump(); in dump()
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp176 SourceLocation SLoc = N->getSourceRange().getBegin(); in isNodeExcluded() local
177 if (SLoc.isValid()) { in isNodeExcluded()
179 if (!SrcMgr.isInMainFile(SLoc)) in isNodeExcluded()
182 if (SLoc != SrcMgr.getSpellingLoc(SLoc)) in isNodeExcluded()
/netbsd/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp1675 const SLocEntry &SLoc = getLocalSLocEntry(I); in translateFile() local
1676 if (SLoc.isFile() && in translateFile()
1677 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
1683 const SLocEntry &SLoc = getLoadedSLocEntry(I); in translateFile() local
1684 if (SLoc.isFile() && in translateFile()
1685 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp1450 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles() local
1451 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc); in WriteInputFiles()
1454 if (!SLoc->isFile()) in WriteInputFiles()
1456 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteInputFiles()
1948 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock() local
1950 assert(&SourceMgr.getSLocEntry(FID) == SLoc); in WriteSourceManagerBlock()
1959 if (SLoc->isFile()) { in WriteSourceManagerBlock()
1971 Record.push_back(SLoc->getOffset() - 2); in WriteSourceManagerBlock()
1972 if (SLoc->isFile()) { in WriteSourceManagerBlock()
1973 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteSourceManagerBlock()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp1181 llvm::Constant *SLoc = EmitCheckSourceLocation(S.getBeginLoc()); in EmitReturnStmt() local
1183 new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false, in EmitReturnStmt()
1184 llvm::GlobalVariable::PrivateLinkage, SLoc); in EmitReturnStmt()
H A DCGOpenMPRuntime.cpp11573 char ISA, unsigned VecRegSize, llvm::Function *Fn, SourceLocation SLoc) { in emitAArch64DeclareSimdFunction() argument
11587 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction()
11597 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction()
11610 CGM.getDiags().Report(SLoc, DiagID) << WDS; in emitAArch64DeclareSimdFunction()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp144 SourceLocation SLoc; member
147 : ImplicitBehavior(M), SLoc(Loc) {} in DefaultmapInfo()
711 DMI.SLoc = Loc; in setDefaultDMAAttr()