| /freebsd/contrib/llvm-project/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() 153 Buffer, SLoc.getFilename(), SLoc.getLine(), SLoc.getColumn(), 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() 518 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow() local 519 if (ignoreReport(SLoc, Opts, ET)) in handleFloatCastOverflow() 521 Loc = SLoc; in handleFloatCastOverflow()
|
| H A D | ubsan_diag.h | 211 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
|
| /freebsd/contrib/llvm-project/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 | 1159 if (const Stmt *SLoc = getLocation().getStmtOrNull()) in dump() local 1160 SLoc->dump(); in dump()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CoreEngine.cpp | 200 auto SLoc = Loc.getSourceLocation(); in timeTraceMetadata() local 201 if (!SLoc) in timeTraceMetadata() 207 auto Line = SM.getPresumedLineNumber(*SLoc); in timeTraceMetadata() 208 auto Fname = SM.getFilename(*SLoc); in timeTraceMetadata()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 112 auto &SLoc = SM.getSLocEntry(SM.getFileID(Loc), &Invalid); in getExpansionForSplitToken() local 115 if (auto &Expansion = SLoc.getExpansion(); in getExpansionForSplitToken()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1635 const SLocEntry &SLoc = getLocalSLocEntry(I); in translateFile() local 1636 if (SLoc.isFile() && in translateFile() 1637 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile() 1643 const SLocEntry &SLoc = getLoadedSLocEntry(I); in translateFile() local 1644 if (SLoc.isFile() && in translateFile() 1645 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1841 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles() local 1842 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc); in WriteInputFiles() 1845 if (!SLoc->isFile()) in WriteInputFiles() 1847 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteInputFiles() 2356 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock() local 2358 assert(&SourceMgr.getSLocEntry(FID) == SLoc); in WriteSourceManagerBlock() 2366 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2367 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock() 2377 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2378 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteSourceManagerBlock() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1613 llvm::Constant *SLoc = EmitCheckSourceLocation(S.getBeginLoc()); in EmitReturnStmt() local 1615 new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false, in EmitReturnStmt() 1616 llvm::GlobalVariable::PrivateLinkage, SLoc); in EmitReturnStmt()
|
| H A D | CGOpenMPRuntime.cpp | 10922 char ISA, unsigned VecRegSize, llvm::Function *Fn, SourceLocation SLoc) { in emitAArch64DeclareSimdFunction() argument 10936 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 10946 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 10959 CGM.getDiags().Report(SLoc, DiagID) << WDS; in emitAArch64DeclareSimdFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 1380 const SrcMgr::SLocEntry &SLoc = SourceMgr.getSLocEntry(ModuleMapFID); in cloneForModuleCompile() local 1381 bool IsSystem = isSystem(SLoc.getFile().getFileCharacteristic()); in cloneForModuleCompile()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 155 SourceLocation SLoc; member 158 : ImplicitBehavior(M), SLoc(Loc) {} in DefaultmapInfo() 742 DMI.SLoc = Loc; in setDefaultDMAAttr()
|