summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-conformance.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-05-22 14:21:37 -0400
committerGitHub <noreply@github.com>2020-05-22 11:21:37 -0700
commit076a4c06767cca12c5205d950e9cd37451f91488 (patch)
treedc3bcc376e18e5233f61b2cedfa3419717798a01 /source/slang/slang-check-conformance.cpp
parentdaf53bb2708982a2bcc6d6cc08fe88790ccf0bc2 (diff)
Tidy up around AST nodes (#1353)
* Fields from upper to lower case in slang-ast-decl.h * Lower camel field names in slang-ast-stmt.h * Fix fields in slang-ast-expr.h * slang-ast-type.h make fields lowerCamel. * slang-ast-base.h members functions lowerCamel. * Method names in slang-ast-type.h to lowerCamel. * GetCanonicalType -> getCanonicalType * Substitute -> substitute * Equals -> equals ToString -> toString * ParentDecl -> parentDecl Members -> members
Diffstat (limited to 'source/slang/slang-check-conformance.cpp')
-rw-r--r--source/slang/slang-check-conformance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-check-conformance.cpp b/source/slang/slang-check-conformance.cpp
index ce41df521..639716ee5 100644
--- a/source/slang/slang-check-conformance.cpp
+++ b/source/slang/slang-check-conformance.cpp
@@ -126,7 +126,7 @@ namespace Slang
// A `static` method requirement can't be satisfied by a
// tagged union, because there is no tag to dispatch on.
//
- if(requirementDeclRef.getDecl()->HasModifier<HLSLStaticModifier>())
+ if(requirementDeclRef.getDecl()->hasModifier<HLSLStaticModifier>())
return false;
// TODO: We will eventually want to check that any callable
@@ -356,7 +356,7 @@ namespace Slang
RefPtr<Type> sub,
RefPtr<Type> sup)
{
- if(sub->Equals(sup))
+ if(sub->equals(sup))
{
// They are the same type, so we just need a witness
// for type equality.