Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp56 unsigned InDiag; member
66 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope()
68 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
145 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local
149 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()
199 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl()
209 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl()
211 InDiag = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl()
213 InDiag = 0; in GetDiagForGotoScopeDecl()
218 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp720 const StoredDiagnostic &InDiag);
1296 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument
1298 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()
1299 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()
1300 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()
1302 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()
1304 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()
1305 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
1310 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()
1312 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()