Home
last modified time | relevance | path

Searched refs:OutDiag (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp60 unsigned OutDiag; member
67 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
145 unsigned OutDiag = 0; in GetDiagForGotoScopeDecl() local
173 OutDiag = diag::note_exits_dtor; in GetDiagForGotoScopeDecl()
206 if (OutDiag) in GetDiagForGotoScopeDecl()
216 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()
828 if (Scopes[Scope].OutDiag) break; in VerifyIndirectJumps()
890 if (Scopes[I].OutDiag) { in DiagnoseIndirectOrAsmJump()
892 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag); in DiagnoseIndirectOrAsmJump()
1004 if (Scopes[I].OutDiag) { in VerifyMustTailStmts()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1285 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic() local
1286 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()
1287 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()
1288 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()
1289 OutDiag.LocOffset = 0; in makeStandaloneDiagnostic()
1291 return OutDiag; in makeStandaloneDiagnostic()
1294 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1295 if (OutDiag.Filename.empty()) in makeStandaloneDiagnostic()
1296 return OutDiag; in makeStandaloneDiagnostic()
1297 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
[all …]