#include "FormatTestBase.h"
#define DEBUG_TYPE …
namespace clang {
namespace format {
namespace test {
namespace {
class FormatTestMacroExpansion : public FormatTestBase { … };
TEST_F(FormatTestMacroExpansion, UnexpandConfiguredMacros) { … }
TEST_F(FormatTestMacroExpansion, KeepParensWhenExpandingObjectLikeMacros) { … }
TEST_F(FormatTestMacroExpansion, DoesNotExpandFunctionLikeMacrosWithoutParens) { … }
TEST_F(FormatTestMacroExpansion,
ContinueFormattingAfterUnclosedParensAfterObjectLikeMacro) { … }
TEST_F(FormatTestMacroExpansion, CommaAsOperator) { … }
TEST_F(FormatTestMacroExpansion, ForcedBreakDiffers) { … }
TEST_F(FormatTestMacroExpansion,
PreferNotBreakingBetweenReturnTypeAndFunction) { … }
TEST_F(FormatTestMacroExpansion, IndentChildrenWithinMacroCall) { … }
}
}
}
}