#include "src/tint/lang/wgsl/ast/transform/expand_compound_assignment.h"
#include <utility>
#include "src/tint/lang/wgsl/ast/transform/helper_test.h"
namespace tint::ast::transform {
namespace {
ExpandCompoundAssignmentTest;
TEST_F(ExpandCompoundAssignmentTest, ShouldRunEmptyModule) { … }
TEST_F(ExpandCompoundAssignmentTest, ShouldRunHasCompoundAssignment) { … }
TEST_F(ExpandCompoundAssignmentTest, ShouldRunHasIncrementDecrement) { … }
TEST_F(ExpandCompoundAssignmentTest, Basic) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsPointer) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsStructMember) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsArrayElement) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsVectorComponent_ArrayAccessor) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsVectorComponent_MemberAccessor) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsArrayOfVectorComponent_MemberAccessor_ViaArrayIndex) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsVectorComponent_MemberAccessor_ViaDerefPointerDot) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsVectorComponent_MemberAccessor_ViaPointerDot) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsVectorComponent_MemberAccessor_ViaDerefPointerIndex) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsVectorComponent_MemberAccessor_ViaPointerIndex) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsMatrixColumn) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsMatrixElement) { … }
TEST_F(ExpandCompoundAssignmentTest, LhsMultipleSideEffects) { … }
TEST_F(ExpandCompoundAssignmentTest, ForLoopInit) { … }
TEST_F(ExpandCompoundAssignmentTest, ForLoopCont) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_I32) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_U32) { … }
TEST_F(ExpandCompoundAssignmentTest, Decrement_I32) { … }
TEST_F(ExpandCompoundAssignmentTest, Decrement_U32) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_LhsPointer) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_LhsStructMember) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_LhsArrayElement) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_LhsVectorComponent_ArrayAccessor) { … }
TEST_F(ExpandCompoundAssignmentTest,
Increment_LhsVectorComponent_ArrayAccessor_ViaDerefPointerIndex) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_LhsVectorComponent_ArrayAccessor_ViaPointerIndex) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_LhsVectorComponent_MemberAccessor) { … }
TEST_F(ExpandCompoundAssignmentTest,
Increment_LhsVectorComponent_MemberAccessor_ViaDerefPointerDot) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_LhsVectorComponent_MemberAccessor_ViaPointerDot) { … }
TEST_F(ExpandCompoundAssignmentTest, Increment_ForLoopCont) { … }
}
}