#include "../../lib/Format/Macros.h"
#include "TestLexer.h"
#include "clang/Basic/FileManager.h"
#include "gtest/gtest.h"
namespace clang {
namespace format {
namespace {
class MacroExpanderTest : public testing::Test { … };
#define EXPECT_ATTRIBUTES(Tokens, Attributes) …
TEST_F(MacroExpanderTest, SkipsDefinitionOnError) { … }
TEST_F(MacroExpanderTest, ExpandsWithoutArguments) { … }
TEST_F(MacroExpanderTest, ExpandsWithArguments) { … }
TEST_F(MacroExpanderTest, AttributizesTokens) { … }
TEST_F(MacroExpanderTest, RecursiveExpansion) { … }
TEST_F(MacroExpanderTest, SingleExpansion) { … }
TEST_F(MacroExpanderTest, UnderstandsCppTokens) { … }
TEST_F(MacroExpanderTest, Overloads) { … }
}
}
}