| /freebsd-14.2/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-14.2/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 | 1161 if (const Stmt *SLoc = getLocation().getStmtOrNull()) in dump() local 1162 SLoc->dump(); in dump()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1615 const SLocEntry &SLoc = getLocalSLocEntry(I); in translateFile() local 1616 if (SLoc.isFile() && in translateFile() 1617 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile() 1623 const SLocEntry &SLoc = getLoadedSLocEntry(I); in translateFile() local 1624 if (SLoc.isFile() && in translateFile() 1625 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1633 assert(&SourceMgr.getSLocEntry(FileID::get(I)) == SLoc); in WriteInputFiles() 1636 if (!SLoc->isFile()) in WriteInputFiles() 1638 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteInputFiles() 2153 assert(&SourceMgr.getSLocEntry(FID) == SLoc); in WriteSourceManagerBlock() 2161 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2172 if (SLoc->isFile()) { in WriteSourceManagerBlock() 2173 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteSourceManagerBlock() 2180 Record.push_back(getAdjustedOffset(SLoc->getOffset()) - 2); in WriteSourceManagerBlock() 4693 assert(&SrcMgr.getSLocEntry(FID) == SLoc); in collectNonAffectingInputFiles() 4695 if (!SLoc->isFile()) in collectNonAffectingInputFiles() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1307 llvm::Constant *SLoc = EmitCheckSourceLocation(S.getBeginLoc()); in EmitReturnStmt() local 1309 new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false, in EmitReturnStmt() 1310 llvm::GlobalVariable::PrivateLinkage, SLoc); in EmitReturnStmt()
|
| H A D | CGOpenMPRuntime.cpp | 10827 char ISA, unsigned VecRegSize, llvm::Function *Fn, SourceLocation SLoc) { in emitAArch64DeclareSimdFunction() argument 10841 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 10851 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 10864 CGM.getDiags().Report(SLoc, DiagID) << WDS; in emitAArch64DeclareSimdFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 149 SourceLocation SLoc; member 152 : ImplicitBehavior(M), SLoc(Loc) {} in DefaultmapInfo() 758 DMI.SLoc = Loc; in setDefaultDMAAttr()
|