Searched refs:getNumWarnings (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | DiagnosticTest.cpp | 80 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 D | RandstructTest.cpp | 234 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 D | ASTImporterVisibilityTest.cpp | 301 EXPECT_EQ(0u, ToTu->getASTContext().getDiagnostics().getNumWarnings()); in TypedTest_ImportAfterWithMerge() 324 .getNumWarnings()); in TypedTest_ImportAfterImportWithMerge()
|
| H A D | ASTImporterTest.cpp | 1894 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 D | Diagnostic.h | 853 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 D | CompilerInvocation.cpp | 690 DummyDiags.getNumWarnings() != 0) { in RoundTrip() 695 unsigned NumWarningsBefore = Diags.getNumWarnings(); in RoundTrip() 697 if (!Success || Diags.getNumWarnings() != NumWarningsBefore) in RoundTrip()
|
| H A D | CompilerInstance.cpp | 1045 unsigned NumWarnings = getDiagnostics().getClient()->getNumWarnings(); in ExecuteAction()
|
| H A D | ASTUnit.cpp | 1400 NumWarningsInPreamble = getDiagnostics().getNumWarnings(); in getMainBufferWithPrecompiledPreamble()
|