| /openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.cpp | 85 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() local 86 if (!SLoc.isInvalid()) { in MaybeReportErrorSummary() 88 AI.file = internal_strdup(SLoc.getFilename()); in MaybeReportErrorSummary() 89 AI.line = SLoc.getLine(); in MaybeReportErrorSummary() 90 AI.column = SLoc.getColumn(); in MaybeReportErrorSummary() 148 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation() local 149 if (SLoc.isInvalid()) in RenderLocation() 152 RenderSourceLocation(Buffer, SLoc.getFilename(), SLoc.getLine(), in RenderLocation() 153 SLoc.getColumn(), common_flags()->symbolize_vs_style, in RenderLocation()
|
| H A D | ubsan_handlers.cpp | 27 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport() argument 37 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); in ignoreReport() 496 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow() local 497 if (ignoreReport(SLoc, Opts, ET)) in handleFloatCastOverflow() 499 Loc = SLoc; in handleFloatCastOverflow()
|
| H A D | ubsan_diag.h | 231 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 132 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 D | CIndex.cpp | 6095 SourceLocation SLoc = cxloc::translateSourceLocation(Loc); in clang_getCursor() local 6096 CXCursor Result = cxcursor::getCursor(TU, SLoc); in clang_getCursor() 6370 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { in getCursor() argument 6375 if (SLoc.isInvalid()) in getCursor() 6382 SLoc = Lexer::GetBeginningOfToken(SLoc, CXXUnit->getSourceManager(), in getCursor() 6386 if (SLoc.isValid()) { in getCursor() 6387 GetCursorData ResultData(CXXUnit->getSourceManager(), SLoc, Result); in getCursor() 6391 SourceLocation(SLoc)); in getCursor()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | MacroExpansionContext.cpp | 206 SourceLocation SLoc = Tok.getLocation(); in onTokenLexed() local 207 if (SLoc.isFileID()) in onTokenLexed() 212 SLoc.print(llvm::dbgs(), *SM); llvm::dbgs() << '\n';); in onTokenLexed() 215 SourceLocation CurrExpansionLoc = SM->getExpansionLoc(SLoc); in onTokenLexed()
|
| H A D | PathDiagnostic.cpp | 1162 if (const Stmt *SLoc = getLocation().getStmtOrNull()) in dump() local 1163 SLoc->dump(); in dump()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 175 SourceLocation SLoc = N->getSourceRange().getBegin(); in isNodeExcluded() local 176 if (SLoc.isValid()) { in isNodeExcluded() 178 if (!SrcMgr.isInMainFile(SLoc)) in isNodeExcluded() 181 if (SLoc != SrcMgr.getSpellingLoc(SLoc)) in isNodeExcluded()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1681 const SLocEntry &SLoc = getLocalSLocEntry(I); in translateFile() local 1682 if (SLoc.isFile() && in translateFile() 1683 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile() 1689 const SLocEntry &SLoc = getLoadedSLocEntry(I); in translateFile() local 1690 if (SLoc.isFile() && in translateFile() 1691 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1554 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles() local 1555 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc); in WriteInputFiles() 1558 if (!SLoc->isFile()) in WriteInputFiles() 1560 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteInputFiles() 2059 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock() local 2061 assert(&SourceMgr.getSLocEntry(FID) == SLoc); in WriteSourceManagerBlock() 2069 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2070 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock() 2080 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2081 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteSourceManagerBlock() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1288 llvm::Constant *SLoc = EmitCheckSourceLocation(S.getBeginLoc()); in EmitReturnStmt() local 1290 new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false, in EmitReturnStmt() 1291 llvm::GlobalVariable::PrivateLinkage, SLoc); in EmitReturnStmt()
|
| H A D | CGOpenMPRuntime.cpp | 11304 char ISA, unsigned VecRegSize, llvm::Function *Fn, SourceLocation SLoc) { in emitAArch64DeclareSimdFunction() argument 11318 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 11328 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 11341 CGM.getDiags().Report(SLoc, DiagID) << WDS; in emitAArch64DeclareSimdFunction()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 148 SourceLocation SLoc; member 151 : ImplicitBehavior(M), SLoc(Loc) {} in DefaultmapInfo() 735 DMI.SLoc = Loc; in setDefaultDMAAttr()
|