summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-impl.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-08-27 18:48:41 -0700
committerGitHub <noreply@github.com>2024-08-27 18:48:41 -0700
commit4f6f827e26ffcb9b850ef8a8b7f7b4beb5addb7a (patch)
treee8f20e798866df7e10067ce5b7ae22f9dc57ff84 /source/slang/slang-check-impl.h
parentfbaa444d890f58fabc5933b0c28048d2c5d862c0 (diff)
Add functor syntax support. (#4926)
Diffstat (limited to 'source/slang/slang-check-impl.h')
-rw-r--r--source/slang/slang-check-impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-check-impl.h b/source/slang/slang-check-impl.h
index f997abc57..96b467b0c 100644
--- a/source/slang/slang-check-impl.h
+++ b/source/slang/slang-check-impl.h
@@ -2669,6 +2669,10 @@ namespace Slang
/// Perform checking operations required for the "base" expression of a member-reference like `base.someField`
Expr* checkBaseForMemberExpr(Expr* baseExpr, bool& outNeedDeref);
+ /// Prepare baseExpr for use as the base of a member expr.
+ /// This include inserting implicit open-existential operations as needed.
+ Expr* maybeInsertImplicitOpForMemberBase(Expr* baseExpr, bool& outNeedDeref);
+
Expr* lookupMemberResultFailure(
DeclRefExpr* expr,
QualType const& baseType,