| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.cpp | 87 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() local 88 if (!SLoc.isInvalid()) { in MaybeReportErrorSummary() 90 AI.file = internal_strdup(SLoc.getFilename()); in MaybeReportErrorSummary() 91 AI.line = SLoc.getLine(); in MaybeReportErrorSummary() 92 AI.column = SLoc.getColumn(); in MaybeReportErrorSummary() 150 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation() local 151 if (SLoc.isInvalid()) in RenderLocation() 154 RenderSourceLocation(Buffer, SLoc.getFilename(), SLoc.getLine(), in RenderLocation() 155 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);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | MacroExpansionContext.cpp | 205 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 D | PathDiagnostic.cpp | 1162 if (const Stmt *SLoc = getLocation().getStmtOrNull()) in dump() local 1163 SLoc->dump(); in dump()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 176 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1677 const SLocEntry &SLoc = getLocalSLocEntry(I); in translateFile() local 1678 if (SLoc.isFile() && in translateFile() 1679 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile() 1685 const SLocEntry &SLoc = getLoadedSLocEntry(I); in translateFile() local 1686 if (SLoc.isFile() && in translateFile() 1687 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1450 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 …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1216 llvm::Constant *SLoc = EmitCheckSourceLocation(S.getBeginLoc()); in EmitReturnStmt() local 1218 new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false, in EmitReturnStmt() 1219 llvm::GlobalVariable::PrivateLinkage, SLoc); in EmitReturnStmt()
|
| H A D | CGOpenMPRuntime.cpp | 11733 char ISA, unsigned VecRegSize, llvm::Function *Fn, SourceLocation SLoc) { in emitAArch64DeclareSimdFunction() argument 11747 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 11757 CGM.getDiags().Report(SLoc, DiagID); in emitAArch64DeclareSimdFunction() 11770 CGM.getDiags().Report(SLoc, DiagID) << WDS; in emitAArch64DeclareSimdFunction()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 144 SourceLocation SLoc; member 147 : ImplicitBehavior(M), SLoc(Loc) {} in DefaultmapInfo() 711 DMI.SLoc = Loc; in setDefaultDMAAttr()
|