Searched refs:InDiag (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 50 unsigned InDiag; member 60 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope() 62 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope() 133 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local 137 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl() 182 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl() 192 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl() 194 InDiag = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl() 196 InDiag = 0; in GetDiagForGotoScopeDecl() 201 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 50 unsigned InDiag; member 60 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope() 62 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope() 137 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local 141 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl() 190 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl() 200 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl() 202 InDiag = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl() 204 InDiag = 0; in GetDiagForGotoScopeDecl() 209 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl() [all …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTUnit.cpp | 677 const StoredDiagnostic &InDiag); 1261 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument 1263 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic() 1264 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic() 1265 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic() 1267 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic() 1269 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic() 1270 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() 1275 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic() 1277 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 1297 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument 1299 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic() 1300 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic() 1301 OutDiag.Message = InDiag.getMessage(); in makeStandaloneDiagnostic() 1303 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic() 1305 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic() 1306 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() 1311 for (const CharSourceRange &Range : InDiag.getRanges()) in makeStandaloneDiagnostic() 1313 for (const FixItHint &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()
|