Home
last modified time | relevance | path

Searched refs:getNumWarnings (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Basic/
H A DDiagnosticTest.cpp80 EXPECT_EQ(Diags.getNumWarnings(), FatalsAsError); in TEST()
99 EXPECT_EQ(Diags.getNumWarnings(), numWarnings); in TEST()
/llvm-project-15.0.7/clang/unittests/AST/
H A DRandstructTest.cpp234 EXPECT_EQ(Diags.getNumWarnings(), 1u); in TEST()
255 EXPECT_EQ(Diags.getNumWarnings(), 0u); in TEST()
276 EXPECT_EQ(Diags.getNumWarnings(), 0u); in TEST()
H A DASTImporterVisibilityTest.cpp301 EXPECT_EQ(0u, ToTu->getASTContext().getDiagnostics().getNumWarnings()); in TypedTest_ImportAfterWithMerge()
324 .getNumWarnings()); in TypedTest_ImportAfterImportWithMerge()
H A DASTImporterTest.cpp1894 EXPECT_EQ(0u, ToTU->getASTContext().getDiagnostics().getNumWarnings()); in TEST_P()
1927 EXPECT_EQ(1u, ToTU->getASTContext().getDiagnostics().getNumWarnings()); in TEST_P()
3509 EXPECT_EQ(1u, ToTU->getASTContext().getDiagnostics().getNumWarnings()); in TEST_P()
4500 EXPECT_EQ(0u, ToTU->getASTContext().getDiagnostics().getNumWarnings()); in TEST_P()
5392 EXPECT_EQ(0u, ToTU->getASTContext().getDiagnostics().getNumWarnings()); in TEST_P()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnostic.h853 unsigned getNumWarnings() const { return NumWarnings; } in getNumWarnings() function
1749 unsigned getNumWarnings() const { return NumWarnings; } in getNumWarnings() function
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInvocation.cpp690 DummyDiags.getNumWarnings() != 0) { in RoundTrip()
695 unsigned NumWarningsBefore = Diags.getNumWarnings(); in RoundTrip()
697 if (!Success || Diags.getNumWarnings() != NumWarningsBefore) in RoundTrip()
H A DCompilerInstance.cpp1045 unsigned NumWarnings = getDiagnostics().getClient()->getNumWarnings(); in ExecuteAction()
H A DASTUnit.cpp1400 NumWarningsInPreamble = getDiagnostics().getNumWarnings(); in getMainBufferWithPrecompiledPreamble()