#include "FormatTestBase.h"
#define DEBUG_TYPE …
namespace clang {
namespace format {
namespace test {
namespace {
class FormatTestObjC : public FormatTestBase { … };
#define verifyIncompleteFormat(...) …
#define verifyFormat(...) …
TEST(FormatTestObjCStyle, DetectsObjCInStdin) { … }
TEST(FormatTestObjCStyle, DetectsObjCInHeaders) { … }
TEST(FormatTestObjCStyle, AvoidDetectingDesignatedInitializersAsObjCInHeaders) { … }
TEST_F(FormatTestObjC, FormatObjCTryCatch) { … }
TEST_F(FormatTestObjC, FormatObjCAutoreleasepool) { … }
TEST_F(FormatTestObjC, FormatObjCGenerics) { … }
TEST_F(FormatTestObjC, FormatObjCSynchronized) { … }
TEST_F(FormatTestObjC, FormatObjCInterface) { … }
TEST_F(FormatTestObjC, FormatObjCImplementation) { … }
TEST_F(FormatTestObjC, FormatObjCProtocol) { … }
TEST_F(FormatTestObjC, FormatObjCMethodDeclarations) { … }
TEST_F(FormatTestObjC, FormatObjCMethodExpr) { … }
TEST_F(FormatTestObjC, ObjCAt) { … }
TEST_F(FormatTestObjC, ObjCBlockTypesAndVariables) { … }
TEST_F(FormatTestObjC, ObjCSnippets) { … }
TEST_F(FormatTestObjC, ObjCForIn) { … }
TEST_F(FormatTestObjC, ObjCCxxKeywords) { … }
TEST_F(FormatTestObjC, ObjCLiterals) { … }
TEST_F(FormatTestObjC, ObjCDictLiterals) { … }
TEST_F(FormatTestObjC, ObjCArrayLiterals) { … }
TEST_F(FormatTestObjC, BreaksCallStatementWhereSemiJustOverTheLimit) { … }
TEST_F(FormatTestObjC, AlwaysBreakBeforeMultilineStrings) { … }
TEST_F(FormatTestObjC, DisambiguatesCallsFromCppLambdas) { … }
TEST_F(FormatTestObjC, DisambiguatesCallsFromStructuredBindings) { … }
TEST_F(FormatTestObjC, BreakLineBeforeNestedBlockParam) { … }
TEST_F(FormatTestObjC, IfNotUnlikely) { … }
TEST_F(FormatTestObjC, AttributesOnObjCDecl) { … }
TEST_F(FormatTestObjC, AttributesOnObjCMethodDecl) { … }
TEST_F(FormatTestObjC, AttributesOnObjCProperty) { … }
}
}
}
}