/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() 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 | 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 | 1164 if (const Stmt *SLoc = getLocation().getStmtOrNull()) in dump() local 1165 SLoc->dump(); in dump()
|
/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 | 1630 const SLocEntry &SLoc = getLocalSLocEntry(I); in translateFile() local 1631 if (SLoc.isFile() && in translateFile() 1632 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile() 1638 const SLocEntry &SLoc = getLoadedSLocEntry(I); in translateFile() local 1639 if (SLoc.isFile() && in translateFile() 1640 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 1757 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteInputFiles() local 1758 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc); in WriteInputFiles() 1761 if (!SLoc->isFile()) in WriteInputFiles() 1763 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteInputFiles() 2279 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); in WriteSourceManagerBlock() local 2281 assert(&SourceMgr.getSLocEntry(FID) == SLoc); in WriteSourceManagerBlock() 2289 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2290 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock() 2300 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2301 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteSourceManagerBlock() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 1469 llvm::Constant *SLoc = EmitCheckSourceLocation(S.getBeginLoc()); in EmitReturnStmt() local 1471 new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false, in EmitReturnStmt() 1472 llvm::GlobalVariable::PrivateLinkage, SLoc); in EmitReturnStmt()
|
H A D | CGOpenMPRuntime.cpp | 10855 char ISA, unsigned VecRegSize, llvm::Function *Fn, SourceLocation SLoc) { in emitAArch64DeclareSimdFunction() argument 10869 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 10879 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 10892 CGM.getDiags().Report(SLoc, DiagID) << WDS; in emitAArch64DeclareSimdFunction()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 154 SourceLocation SLoc; member 157 : ImplicitBehavior(M), SLoc(Loc) {} in DefaultmapInfo() 763 DMI.SLoc = Loc; in setDefaultDMAAttr()
|