eduucaldas updated this revision to Diff 283513. eduucaldas added a comment.
Reflect comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85316/new/ https://reviews.llvm.org/D85316 Files: clang/unittests/Tooling/Syntax/TreeTest.cpp Index: clang/unittests/Tooling/Syntax/TreeTest.cpp =================================================================== --- clang/unittests/Tooling/Syntax/TreeTest.cpp +++ clang/unittests/Tooling/Syntax/TreeTest.cpp @@ -3348,34 +3348,34 @@ HALF_IF HALF_IF_2 else {} })cpp", R"txt( -*: TranslationUnit +TranslationUnit Detached `-SimpleDeclaration - |-void - |-SimpleDeclarator - | |-test + |-'void' + |-SimpleDeclarator SimpleDeclaration_declarator + | |-'test' | `-ParametersAndQualifiers - | |-( - | `-) + | |-'(' OpenParen + | `-')' CloseParen `-CompoundStatement - |-{ - |-IfStatement - | |-I: if - | |-I: ( - | |-I: BinaryOperatorExpression - | | |-I: IntegerLiteralExpression - | | | `-I: 1 - | | |-I: + - | | `-I: IntegerLiteralExpression - | | `-I: 1 - | |-I: ) - | |-I: CompoundStatement - | | |-I: { - | | `-I: } - | |-else - | `-CompoundStatement - | |-{ - | `-} - `-} + |-'{' OpenParen + |-IfStatement CompoundStatement_statement + | |-'if' IntroducerKeyword I + | |-'(' I + | |-BinaryOperatorExpression I + | | |-IntegerLiteralExpression BinaryOperatorExpression_leftHandSide I + | | | `-'1' LiteralToken I + | | |-'+' OperatorExpression_operatorToken I + | | `-IntegerLiteralExpression BinaryOperatorExpression_rightHandSide I + | | `-'1' LiteralToken I + | |-')' I + | |-CompoundStatement IfStatement_thenStatement I + | | |-'{' OpenParen I + | | `-'}' CloseParen I + | |-'else' IfStatement_elseKeyword + | `-CompoundStatement IfStatement_elseStatement + | |-'{' OpenParen + | `-'}' CloseParen + `-'}' CloseParen )txt")); }
Index: clang/unittests/Tooling/Syntax/TreeTest.cpp =================================================================== --- clang/unittests/Tooling/Syntax/TreeTest.cpp +++ clang/unittests/Tooling/Syntax/TreeTest.cpp @@ -3348,34 +3348,34 @@ HALF_IF HALF_IF_2 else {} })cpp", R"txt( -*: TranslationUnit +TranslationUnit Detached `-SimpleDeclaration - |-void - |-SimpleDeclarator - | |-test + |-'void' + |-SimpleDeclarator SimpleDeclaration_declarator + | |-'test' | `-ParametersAndQualifiers - | |-( - | `-) + | |-'(' OpenParen + | `-')' CloseParen `-CompoundStatement - |-{ - |-IfStatement - | |-I: if - | |-I: ( - | |-I: BinaryOperatorExpression - | | |-I: IntegerLiteralExpression - | | | `-I: 1 - | | |-I: + - | | `-I: IntegerLiteralExpression - | | `-I: 1 - | |-I: ) - | |-I: CompoundStatement - | | |-I: { - | | `-I: } - | |-else - | `-CompoundStatement - | |-{ - | `-} - `-} + |-'{' OpenParen + |-IfStatement CompoundStatement_statement + | |-'if' IntroducerKeyword I + | |-'(' I + | |-BinaryOperatorExpression I + | | |-IntegerLiteralExpression BinaryOperatorExpression_leftHandSide I + | | | `-'1' LiteralToken I + | | |-'+' OperatorExpression_operatorToken I + | | `-IntegerLiteralExpression BinaryOperatorExpression_rightHandSide I + | | `-'1' LiteralToken I + | |-')' I + | |-CompoundStatement IfStatement_thenStatement I + | | |-'{' OpenParen I + | | `-'}' CloseParen I + | |-'else' IfStatement_elseKeyword + | `-CompoundStatement IfStatement_elseStatement + | |-'{' OpenParen + | `-'}' CloseParen + `-'}' CloseParen )txt")); }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits