Home
last modified time | relevance | path

Searched refs:StoredDiags (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/lib/ARCMigrate/
DTransProtectedScope.cpp115 SmallVector<StoredDiagnostic, 16> StoredDiags; in ProtectedScopeFixer() local
116 StoredDiags.append(DiagList.begin(), DiagList.end()); in ProtectedScopeFixer()
118 I = StoredDiags.begin(), E = StoredDiags.end(); in ProtectedScopeFixer()
/external/clang/lib/ARCMigrate/
DTransProtectedScope.cpp114 SmallVector<StoredDiagnostic, 16> StoredDiags; in ProtectedScopeFixer() local
115 StoredDiags.append(DiagList.begin(), DiagList.end()); in ProtectedScopeFixer()
117 I = StoredDiags.begin(), E = StoredDiags.end(); in ProtectedScopeFixer()
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp614 SmallVectorImpl<StoredDiagnostic> *StoredDiags; member in __anon2736a9610211::FilterAndStoreDiagnosticConsumer
622 SmallVectorImpl<StoredDiagnostic> *StoredDiags, in FilterAndStoreDiagnosticConsumer() argument
625 : StoredDiags(StoredDiags), StandaloneDiags(StandaloneDiags), in FilterAndStoreDiagnosticConsumer()
627 assert((StoredDiags || StandaloneDiags) && in FilterAndStoreDiagnosticConsumer()
653 SmallVectorImpl<StoredDiagnostic> *StoredDiags, in CaptureDroppedDiagnostics() argument
656 Client(StoredDiags, StandaloneDiags, in CaptureDroppedDiagnostics()
702 if (StoredDiags) { in HandleDiagnostic()
703 StoredDiags->emplace_back(Level, Info); in HandleDiagnostic()
704 ResultDiag = &StoredDiags->back(); in HandleDiagnostic()
1071 checkAndRemoveNonDriverDiags(SmallVectorImpl<StoredDiagnostic> &StoredDiags) { in checkAndRemoveNonDriverDiags() argument
[all …]
/external/clang/lib/Frontend/
DASTUnit.cpp563 SmallVectorImpl<StoredDiagnostic> &StoredDiags; member in __anon5a88eb930211::StoredDiagnosticConsumer
568 SmallVectorImpl<StoredDiagnostic> &StoredDiags) in StoredDiagnosticConsumer() argument
569 : StoredDiags(StoredDiags), SourceMgr(nullptr) {} in StoredDiagnosticConsumer()
591 SmallVectorImpl<StoredDiagnostic> &StoredDiags) in CaptureDroppedDiagnostics() argument
592 : Diags(Diags), Client(StoredDiags), PreviousClient(nullptr) in CaptureDroppedDiagnostics()
618 StoredDiags.emplace_back(Level, Info); in HandleDiagnostic()
1005 checkAndRemoveNonDriverDiags(SmallVectorImpl<StoredDiagnostic> &StoredDiags) { in checkAndRemoveNonDriverDiags() argument
1008 StoredDiags.erase( in checkAndRemoveNonDriverDiags()
1009 std::remove_if(StoredDiags.begin(), StoredDiags.end(), isNonDriverDiag), in checkAndRemoveNonDriverDiags()
1010 StoredDiags.end()); in checkAndRemoveNonDriverDiags()
/external/clang/lib/Serialization/
DASTReader.cpp345 static bool checkDiagnosticGroupMappings(DiagnosticsEngine &StoredDiags, in checkDiagnosticGroupMappings() argument
353 DiagnosticsEngine *MappingSources[] = { &Diags, &StoredDiags }; in checkDiagnosticGroupMappings()
362 StoredDiags.getDiagnosticLevel(DiagID, SourceLocation()); in checkDiagnosticGroupMappings()
382 static bool checkDiagnosticMappings(DiagnosticsEngine &StoredDiags, in checkDiagnosticMappings() argument
390 if (StoredDiags.getSuppressSystemWarnings()) { in checkDiagnosticMappings()
397 if (Diags.getWarningsAsErrors() && !StoredDiags.getWarningsAsErrors()) { in checkDiagnosticMappings()
404 !StoredDiags.getEnableAllWarnings()) { in checkDiagnosticMappings()
411 !isExtHandlingFromDiagsError(StoredDiags)) { in checkDiagnosticMappings()
417 return checkDiagnosticGroupMappings(StoredDiags, Diags, Complain); in checkDiagnosticMappings()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp463 static bool checkDiagnosticGroupMappings(DiagnosticsEngine &StoredDiags, in checkDiagnosticGroupMappings() argument
471 DiagnosticsEngine *MappingSources[] = { &Diags, &StoredDiags }; in checkDiagnosticGroupMappings()
480 StoredDiags.getDiagnosticLevel(DiagID, SourceLocation()); in checkDiagnosticGroupMappings()
500 static bool checkDiagnosticMappings(DiagnosticsEngine &StoredDiags, in checkDiagnosticMappings() argument
508 if (StoredDiags.getSuppressSystemWarnings()) { in checkDiagnosticMappings()
515 if (Diags.getWarningsAsErrors() && !StoredDiags.getWarningsAsErrors()) { in checkDiagnosticMappings()
522 !StoredDiags.getEnableAllWarnings()) { in checkDiagnosticMappings()
529 !isExtHandlingFromDiagsError(StoredDiags)) { in checkDiagnosticMappings()
535 return checkDiagnosticGroupMappings(StoredDiags, Diags, Complain); in checkDiagnosticMappings()