summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-decl.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-10-24 22:19:38 -0700
committerGitHub <noreply@github.com>2022-10-24 22:19:38 -0700
commit41cb7c13e37ec32ffb6557d21da079d77151e136 (patch)
tree38d2c44938e2679c42c5c0e73f5411e59015df93 /source/slang/slang-ast-decl.h
parent1093218d6f0e114eb9fa52d60ca525bf9dd9f98a (diff)
Rework differentiation of member access through `[DerivativeMember(DiffType.field)]` (#2460)
* wip: remove auto-diff for member access, add diff through property accessors. * Fix getter-setter test. * Fix getter-setter-multi test. * Fix nested-jvp test. * Use [DerivativeMember] attribute to differentiate through member access. * Clean up. * More cleanup. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ast-decl.h')
-rw-r--r--source/slang/slang-ast-decl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/slang/slang-ast-decl.h b/source/slang/slang-ast-decl.h
index 07cfe6a0c..b1b20dc93 100644
--- a/source/slang/slang-ast-decl.h
+++ b/source/slang/slang-ast-decl.h
@@ -337,7 +337,6 @@ class RefAccessorDecl : public AccessorDecl
{
SLANG_AST_CLASS(RefAccessorDecl)
};
-
class FuncDecl : public FunctionDeclBase
{
SLANG_AST_CLASS(FuncDecl)