#include "clang-pseudo/grammar/Grammar.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <memory>
namespace clang {
namespace pseudo {
namespace {
AllOf;
ElementsAre;
IsEmpty;
Pair;
UnorderedElementsAre;
MATCHER_P(TargetID, SID, "") { … }
template <typename... T> testing::Matcher<const Rule &> Sequence(T... IDs) { … }
class GrammarTest : public ::testing::Test { … };
TEST_F(GrammarTest, Basic) { … }
TEST_F(GrammarTest, EliminatedOptional) { … }
TEST_F(GrammarTest, RuleIDSorted) { … }
TEST_F(GrammarTest, Annotation) { … }
TEST_F(GrammarTest, Diagnostics) { … }
TEST_F(GrammarTest, DuplicatedDiagnostics) { … }
TEST_F(GrammarTest, FirstAndFollowSets) { … }
}
}
}