summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-decl.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-10-27 12:30:15 -0700
committerGitHub <noreply@github.com>2022-10-27 12:30:15 -0700
commit8dc9efd256bd211d8c446971f09a7c79e644b110 (patch)
tree32612cfbd39531c1f21eab0777cf10a197b269d4 /source/slang/slang-check-decl.cpp
parent0cbef6fd6d7924d37ef3ea5ec7c848c80947d13f (diff)
Rename `JVPDerivativeModifier` -> `ForwardDifferentiableAttribute`. (#2472)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
-rw-r--r--source/slang/slang-check-decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp
index f28f46deb..457ae229b 100644
--- a/source/slang/slang-check-decl.cpp
+++ b/source/slang/slang-check-decl.cpp
@@ -5230,7 +5230,7 @@ namespace Slang
void SemanticsDeclHeaderVisitor::checkCallableDeclCommon(CallableDecl* decl)
{
- if (decl->findModifier<JVPDerivativeModifier>())
+ if (decl->findModifier<ForwardDifferentiableAttribute>())
{
this->getShared()->getDiffTypeContext()->requireDifferentiableTypeDictionary();
}