Lines Matching defs:SkipBodyAction
536 struct SkipBodyAction : public clang::ASTFrontendAction {
548 EXPECT_TRUE(runToolOnCode(std::make_unique<SkipBodyAction>(),
550 EXPECT_FALSE(runToolOnCode(std::make_unique<SkipBodyAction>(),
555 std::make_unique<SkipBodyAction>(),
558 std::make_unique<SkipBodyAction>(), "struct skipMe { skipMe(); };"
562 std::make_unique<SkipBodyAction>(), "struct skipMe { skipMe(); };"
566 std::make_unique<SkipBodyAction>(),
571 std::make_unique<SkipBodyAction>(), "struct skipMe { skipMe() : bases()... { error } };",
575 std::make_unique<SkipBodyAction>(), "struct skipMeNot { skipMeNot() : an_error() { } };",
577 EXPECT_FALSE(runToolOnCodeWithArgs(std::make_unique<SkipBodyAction>(),
584 std::make_unique<SkipBodyAction>(),
587 std::make_unique<SkipBodyAction>(),
590 runToolOnCode(std::make_unique<SkipBodyAction>(),
594 std::make_unique<SkipBodyAction>(),
599 std::make_unique<SkipBodyAction>(), "template<typename T> int skipMe() { an_error_here }"
602 std::make_unique<SkipBodyAction>(),
606 std::make_unique<SkipBodyAction>(),
621 EXPECT_TRUE(runToolOnCodeWithArgs(std::make_unique<SkipBodyAction>(), "", Args));