Searched refs:ErrUnit (Results 1 – 3 of 3) sorted by relevance
163 std::unique_ptr<clang::ASTUnit> ErrUnit; in TEST_F() local168 SkipFunctionBodiesScope::None, false, true, false, false, None, &ErrUnit, in TEST_F()172 ASSERT_NE(ErrUnit, nullptr); in TEST_F()174 ASSERT_NE(ErrUnit->stored_diag_size(), 0U); in TEST_F()
3272 std::unique_ptr<ASTUnit> ErrUnit; in clang_parseTranslationUnit_Impl() local3288 &ErrUnit)); in clang_parseTranslationUnit_Impl()3291 if (!Unit && !ErrUnit) in clang_parseTranslationUnit_Impl()3297 printDiagsToStderr(Unit ? Unit.get() : ErrUnit.get()); in clang_parseTranslationUnit_Impl()3300 if (isASTReadError(Unit ? Unit.get() : ErrUnit.get())) in clang_parseTranslationUnit_Impl()
3617 std::unique_ptr<ASTUnit> ErrUnit; in clang_parseTranslationUnit_Impl() local3638 &ErrUnit)); in clang_parseTranslationUnit_Impl()3641 if (!Unit && !ErrUnit) in clang_parseTranslationUnit_Impl()3647 printDiagsToStderr(Unit ? Unit.get() : ErrUnit.get()); in clang_parseTranslationUnit_Impl()3650 if (isASTReadError(Unit ? Unit.get() : ErrUnit.get())) in clang_parseTranslationUnit_Impl()