Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp60 unsigned OutDiag; member
67 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
147 unsigned OutDiag = 0; in GetDiagForGotoScopeDecl() local
175 OutDiag = diag::note_exits_dtor; in GetDiagForGotoScopeDecl()
208 if (OutDiag) in GetDiagForGotoScopeDecl()
218 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()
827 if (Scopes[Scope].OutDiag) break; in VerifyIndirectOrAsmJumps()
889 if (Scopes[I].OutDiag) { in DiagnoseIndirectOrAsmJump()
891 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag); in DiagnoseIndirectOrAsmJump()
1003 if (Scopes[I].OutDiag) { in VerifyMustTailStmts()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTUnit.cpp1249 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic() local
1250 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()
1251 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()
1252 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()
1253 OutDiag.LocOffset = 0; in makeStandaloneDiagnostic()
1255 return OutDiag; in makeStandaloneDiagnostic()
1258 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1259 if (OutDiag.Filename.empty()) in makeStandaloneDiagnostic()
1260 return OutDiag; in makeStandaloneDiagnostic()
1261 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
[all …]