diff options
| author | Yong He <yonghe@outlook.com> | 2024-12-30 23:38:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-30 23:38:34 -0800 |
| commit | 88e221bad60ce20087fe2f8a85d506be36a6e6ca (patch) | |
| tree | 1a3c546d8a242c96dfe0fb0056ac891bd8394942 /source/slang/slang-syntax.h | |
| parent | 89dd2b1278f9e457d9d343742a51de27502ebca1 (diff) | |
Fix requirement candidate lookup to prefer decls in the same paraent as the inheritance decl. (#5965)
Diffstat (limited to 'source/slang/slang-syntax.h')
| -rw-r--r-- | source/slang/slang-syntax.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-syntax.h b/source/slang/slang-syntax.h index 5e31b5447..accc490f2 100644 --- a/source/slang/slang-syntax.h +++ b/source/slang/slang-syntax.h @@ -370,6 +370,7 @@ Module* getModule(Decl* decl); /// Get the parent decl, skipping any generic decls in between. Decl* getParentDecl(Decl* decl); Decl* getParentAggTypeDecl(Decl* decl); +Decl* getParentAggTypeDeclBase(Decl* decl); Decl* getParentFunc(Decl* decl); } // namespace Slang |
