#include "src/tint/lang/wgsl/resolver/resolver.h"
#include "gmock/gmock.h"
#include "src/tint/lang/wgsl/ast/call_statement.h"
#include "src/tint/lang/wgsl/resolver/resolver_helper_test.h"
namespace tint::resolver {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
ResolverCallValidationTest;
TEST_F(ResolverCallValidationTest, TooFewArgs) { … }
TEST_F(ResolverCallValidationTest, TooManyArgs) { … }
TEST_F(ResolverCallValidationTest, MismatchedArgs) { … }
TEST_F(ResolverCallValidationTest, UnusedRetval) { … }
TEST_F(ResolverCallValidationTest, PointerArgument_VariableIdentExpr) { … }
TEST_F(ResolverCallValidationTest, PointerArgument_LetIdentExpr) { … }
TEST_F(ResolverCallValidationTest,
PointerArgument_AddressOfFunctionMember_WithoutUnrestrictedPointerParameters) { … }
TEST_F(ResolverCallValidationTest,
PointerArgument_AddressOfFunctionMember_WithUnrestrictedPointerParameters) { … }
TEST_F(ResolverCallValidationTest, PointerArgument_AddressOfLetMember) { … }
TEST_F(ResolverCallValidationTest, PointerArgument_FunctionParam) { … }
TEST_F(ResolverCallValidationTest, PointerArgument_FunctionParamWithMain) { … }
TEST_F(ResolverCallValidationTest, LetPointer) { … }
TEST_F(ResolverCallValidationTest, LetPointerPrivate) { … }
TEST_F(ResolverCallValidationTest, LetPointer_NotWholeVar_WithoutUnrestrictedPointerParameters) { … }
TEST_F(ResolverCallValidationTest, LetPointer_NotWholeVar_WithUnrestrictedPointerParameters) { … }
TEST_F(ResolverCallValidationTest, ComplexPointerChain) { … }
TEST_F(ResolverCallValidationTest,
ComplexPointerChain_NotWholeVar_WithoutUnrestrictedPointerParameters) { … }
TEST_F(ResolverCallValidationTest,
ComplexPointerChain_NotWholeVar_WithUnrestrictedPointerParameters) { … }
TEST_F(ResolverCallValidationTest, MustUseFunction) { … }
TEST_F(ResolverCallValidationTest, MustUseBuiltin) { … }
TEST_F(ResolverCallValidationTest, UnexpectedFunctionTemplateArgs) { … }
TEST_F(ResolverCallValidationTest, UnexpectedBuiltinTemplateArgs) { … }
}
}