Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp55 unsigned InDiag; member
67 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
146 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local
150 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()
213 InDiag = 0; in GetDiagForGotoScopeDecl()
218 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()
795 if (Scopes[Min].InDiag) break; in VerifyIndirectOrAsmJumps()
873 if (Scopes[ToScopes[I]].InDiag) in NoteJumpIntoScopes()
900 else if (Scopes[I].InDiag) { in DiagnoseIndirectOrAsmJump()
902 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectOrAsmJump()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTUnit.cpp677 const StoredDiagnostic &InDiag);
1248 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument
1250 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()
1251 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()
1252 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()
1254 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()
1256 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()
1257 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
1262 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()
1264 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()