Lines Matching defs:Warnings
1 //=- AnalysisBasedWarnings.cpp - Sema warnings based on libAnalysis -*- C++ -*-=//
11 // Together they are used by Sema to issue warnings based on inexpensive
631 /// as a warning. If a particular use is one we omit warnings for, returns
1054 // Sort by first use so that we emit the warnings in a deterministic order.
1079 // Iterate through the sorted problems and emit warnings for each.
1257 // multiple warnings.
1265 DiagList Warnings;
1275 Warnings.push_back(DelayedDiag(Warning, OptionalNotes()));
1287 Warnings.sort(SortDiagBySourceLocation(S.getSourceManager()));
1288 for (DiagList::iterator I = Warnings.begin(), E = Warnings.end();
1300 Warnings.push_back(DelayedDiag(Warning, OptionalNotes()));
1333 Warnings.push_back(DelayedDiag(Warning, OptionalNotes(1, Note)));
1343 Warnings.push_back(DelayedDiag(Warning, OptionalNotes(1, Note)));
1355 Warnings.push_back(DelayedDiag(Warning, OptionalNotes()));
1378 Warnings.push_back(DelayedDiag(Warning, OptionalNotes(1, Note)));
1393 Warnings.push_back(DelayedDiag(Warning, OptionalNotes()));
1400 Warnings.push_back(DelayedDiag(Warning, OptionalNotes()));
1409 // warnings on a function, method, or block.
1454 // We avoid doing analysis-based warnings when there are errors for
1659 llvm::errs() << "\n*** Analysis Based Warnings Stats:\n";