diff options
| author | Yong He <yonghe@outlook.com> | 2022-06-07 14:10:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-07 14:10:49 -0700 |
| commit | 0c64995ea28febcc7d38e1519da8d93391ce2e7d (patch) | |
| tree | 8696ab86b29caf80c3ebbd205c700e24b8c20bf3 /source/slang/slang-check-impl.h | |
| parent | 8c4a15c522861d2f30eacc9cd2b03ad793018639 (diff) | |
Major language server features. (#2264)
* Major language server features.
* Include slangd in binary release.
* Fix compiler issues.
* Fix compiler error.
* Completion resolve.
* Various improvements.
* Update diagnostic test expected output.
* Bug fix for source locations.
* Adjust diagnostic update frequency.
* Update github actions to store artifacts.
* Fix infinite parser loop.
* Fix parser recovery.
* Fix parser recovery.
* Update test.
* Fix test.
* Disable IR gen for language server.
* Allow commit characters in auto completion.
* Fix lookup for invoke exprs.
* More parser robustness fixes.
* update solution file
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-check-impl.h')
| -rw-r--r-- | source/slang/slang-check-impl.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/slang/slang-check-impl.h b/source/slang/slang-check-impl.h index 1e549c7da..6fddbc453 100644 --- a/source/slang/slang-check-impl.h +++ b/source/slang/slang-check-impl.h @@ -492,7 +492,8 @@ namespace Slang Expr* ConstructDeclRefExpr( DeclRef<Decl> declRef, Expr* baseExpr, - SourceLoc loc); + SourceLoc loc, + Expr* originalExpr); Expr* ConstructDerefExpr( Expr* base, @@ -501,13 +502,15 @@ namespace Slang Expr* ConstructLookupResultExpr( LookupResultItem const& item, Expr* baseExpr, - SourceLoc loc); + SourceLoc loc, + Expr* originalExpr); Expr* createLookupResultExpr( Name* name, LookupResult const& lookupResult, Expr* baseExpr, - SourceLoc loc); + SourceLoc loc, + Expr* originalExpr); /// Attempt to "resolve" an overloaded `LookupResult` to only include the "best" results LookupResult resolveOverloadedLookup(LookupResult const& lookupResult); @@ -1649,6 +1652,7 @@ namespace Slang : SemanticsVisitor(outer) {} + Expr* visitIncompleteExpr(IncompleteExpr* expr); Expr* visitBoolLiteralExpr(BoolLiteralExpr* expr); Expr* visitNullPtrLiteralExpr(NullPtrLiteralExpr* expr); Expr* visitIntegerLiteralExpr(IntegerLiteralExpr* expr); |
