Lines Matching defs:TokenAnnotatorTest
1 //===- unittest/Format/TokenAnnotatorTest.cpp - Formatting unit tests -----===//
27 class TokenAnnotatorTest : public testing::Test {
53 TEST_F(TokenAnnotatorTest, UnderstandsUsesOfStarAndAmp) {
390 TEST_F(TokenAnnotatorTest, UnderstandsUsesOfPlusAndMinus) {
479 TEST_F(TokenAnnotatorTest, UnderstandsClasses) {
501 TEST_F(TokenAnnotatorTest, UnderstandsStructs) {
579 TEST_F(TokenAnnotatorTest, UnderstandsUnions) {
592 TEST_F(TokenAnnotatorTest, UnderstandsEnums) {
599 TEST_F(TokenAnnotatorTest, UnderstandsDefaultedAndDeletedFunctions) {
609 TEST_F(TokenAnnotatorTest, UnderstandsVariables) {
616 TEST_F(TokenAnnotatorTest, UnderstandsVariableTemplates) {
624 TEST_F(TokenAnnotatorTest, UnderstandsTemplatesInMacros) {
635 TEST_F(TokenAnnotatorTest, UnderstandsGreaterAfterTemplateCloser) {
643 TEST_F(TokenAnnotatorTest, UnderstandsTernaryInTemplate) {
669 TEST_F(TokenAnnotatorTest, UnderstandsNonTemplateAngleBrackets) {
706 TEST_F(TokenAnnotatorTest, UnderstandsTemplateTemplateParameters) {
723 TEST_F(TokenAnnotatorTest, UnderstandsWhitespaceSensitiveMacros) {
736 TEST_F(TokenAnnotatorTest, UnderstandsDelete) {
758 TEST_F(TokenAnnotatorTest, UnderstandsCasts) {
857 TEST_F(TokenAnnotatorTest, UnderstandsDynamicExceptionSpecifier) {
863 TEST_F(TokenAnnotatorTest, UnderstandsFunctionRefQualifiers) {
881 TEST_F(TokenAnnotatorTest, UnderstandsOverloadedOperators) {
1043 TEST_F(TokenAnnotatorTest, OverloadedOperatorInTemplate) {
1108 TEST_F(TokenAnnotatorTest, UnderstandsRequiresClausesAndConcepts) {
1360 TEST_F(TokenAnnotatorTest, UnderstandsRequiresExpressions) {
1487 TEST_F(TokenAnnotatorTest, UnderstandsPragmaRegion) {
1503 TEST_F(TokenAnnotatorTest, RequiresDoesNotChangeParsingOfTheRest) {
1695 TEST_F(TokenAnnotatorTest, UnderstandsAsm) {
1775 TEST_F(TokenAnnotatorTest, UnderstandsObjCBlock) {
1798 TEST_F(TokenAnnotatorTest, UnderstandsObjCMethodExpr) {
1808 TEST_F(TokenAnnotatorTest, UnderstandsLambdas) {
2098 TEST_F(TokenAnnotatorTest, UnderstandsFunctionAnnotations) {
2115 TEST_F(TokenAnnotatorTest, UnderstandsFunctionDeclarationNames) {
2158 TEST_F(TokenAnnotatorTest, UnderstandsCtorAndDtorDeclNames) {
2229 TEST_F(TokenAnnotatorTest, UnderstandsC11GenericSelection) {
2237 TEST_F(TokenAnnotatorTest, UnderstandsTrailingReturnArrow) {
2329 TEST_F(TokenAnnotatorTest, UnderstandHashInMacro) {
2351 TEST_F(TokenAnnotatorTest, UnderstandsAttributeMacros) {
2377 TEST_F(TokenAnnotatorTest, UnderstandsAttributeMacrosOnObjCDecl) {
2405 TEST_F(TokenAnnotatorTest, UnderstandsAttributeMacrosOnObjCMethodDecl) {
2433 TEST_F(TokenAnnotatorTest, UnderstandsAttributeMacrosOnObjCProperty) {
2461 TEST_F(TokenAnnotatorTest, UnderstandsVerilogOperators) {
2690 TEST_F(TokenAnnotatorTest, UnderstandTableGenTokens) {
2904 TEST_F(TokenAnnotatorTest, UnderstandConstructors) {
2948 TEST_F(TokenAnnotatorTest, UnderstandsConditionParens) {
2964 TEST_F(TokenAnnotatorTest, CSharpNullableTypes) {
2992 TEST_F(TokenAnnotatorTest, UnderstandsLabels) {
3020 TEST_F(TokenAnnotatorTest, UnderstandsNestedBlocks) {
3036 TEST_F(TokenAnnotatorTest, UnderstandDesignatedInitializers) {
3076 TEST_F(TokenAnnotatorTest, UnderstandsJavaScript) {
3095 TEST_F(TokenAnnotatorTest, UnderstandsAttributes) {
3135 TEST_F(TokenAnnotatorTest, UnderstandsControlStatements) {
3166 TEST_F(TokenAnnotatorTest, UnderstandsDoWhile) {
3176 TEST_F(TokenAnnotatorTest, StartOfName) {
3208 TEST_F(TokenAnnotatorTest, BraceKind) {
3495 TEST_F(TokenAnnotatorTest, UnderstandsElaboratedTypeSpecifier) {
3501 TEST_F(TokenAnnotatorTest, BlockLBrace) {
3534 TEST_F(TokenAnnotatorTest, SwitchExpression) {
3552 TEST_F(TokenAnnotatorTest, CppAltOperatorKeywords) {
3606 TEST_F(TokenAnnotatorTest, FunctionTryBlock) {
3623 TEST_F(TokenAnnotatorTest, TypenameMacro) {
3635 TEST_F(TokenAnnotatorTest, GNULanguageStandard) {
3644 TEST_F(TokenAnnotatorTest, SplitPenalty) {
3658 TEST_F(TokenAnnotatorTest, TemplateName) {
3675 TEST_F(TokenAnnotatorTest, TemplateInstantiation) {
3698 TEST_F(TokenAnnotatorTest, VariableTemplate) {
3711 TEST_F(TokenAnnotatorTest, SwitchInMacroArgument) {
3718 TEST_F(TokenAnnotatorTest, AfterPPDirective) {