Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp61 unsigned OutDiag; member
66 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope()
68 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
146 unsigned OutDiag = 0; in GetDiagForGotoScopeDecl() local
174 OutDiag = diag::note_exits_dtor; in GetDiagForGotoScopeDecl()
207 if (OutDiag) in GetDiagForGotoScopeDecl()
217 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()
294 unsigned OutDiag = diag::note_exits_compound_literal_scope; in BuildScopeInformation() local
295 Scopes.push_back(GotoScope(ParentScope, InDiag, OutDiag, CLE->getExprLoc())); in BuildScopeInformation()
853 if (Scopes[Scope].OutDiag) break; in VerifyIndirectJumps()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1298 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic() local
1299 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()
1300 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()
1301 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()
1302 OutDiag.LocOffset = 0; in makeStandaloneDiagnostic()
1304 return OutDiag; in makeStandaloneDiagnostic()
1307 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1308 if (OutDiag.Filename.empty()) in makeStandaloneDiagnostic()
1309 return OutDiag; in makeStandaloneDiagnostic()
1310 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
[all …]