#include "FormatTestUtils.h"
#include "clang/Format/Format.h"
#include "llvm/Support/Debug.h"
#include "gtest/gtest.h"
#define DEBUG_TYPE …
namespace clang {
namespace format {
namespace {
class FormatTestSelective : public testing::Test { … };
TEST_F(FormatTestSelective, RemovesTrailingWhitespaceOfFormattedLine) { … }
TEST_F(FormatTestSelective, FormatsCorrectRegionForLeadingWhitespace) { … }
TEST_F(FormatTestSelective, FormatLineWhenInvokedOnTrailingNewline) { … }
TEST_F(FormatTestSelective, RemovesWhitespaceWhenTriggeredOnEmptyLine) { … }
TEST_F(FormatTestSelective, ReformatsMovedLines) { … }
TEST_F(FormatTestSelective, FormatsIfWithoutCompoundStatement) { … }
TEST_F(FormatTestSelective, FormatsCommentsLocally) { … }
TEST_F(FormatTestSelective, ContinueReindenting) { … }
TEST_F(FormatTestSelective, ReindentClosingBrace) { … }
TEST_F(FormatTestSelective, IndividualStatementsOfNestedBlocks) { … }
TEST_F(FormatTestSelective, WrongIndent) { … }
TEST_F(FormatTestSelective, AlwaysFormatsEntireMacroDefinitions) { … }
TEST_F(FormatTestSelective, ReformatRegionAdjustsIndent) { … }
TEST_F(FormatTestSelective, UnderstandsTabs) { … }
TEST_F(FormatTestSelective, StopFormattingWhenLeavingScope) { … }
TEST_F(FormatTestSelective, SelectivelyRequoteJavaScript) { … }
TEST_F(FormatTestSelective, KeepsIndentAfterCommentSectionImport) { … }
TEST_F(FormatTestSelective, DontAssert) { … }
TEST_F(FormatTestSelective, FormatMacroRegardlessOfPreviousIndent) { … }
}
}
}