diff options
| author | Yong He <yonghe@outlook.com> | 2022-07-01 15:09:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-01 15:09:24 -0700 |
| commit | 0bf899a5f8110fbea97272bdda03b68b91745e51 (patch) | |
| tree | 6e6a0e0210c84e911e563fe3ca6ca4ec4c2dbf4d /source/core/slang-string.h | |
| parent | b0ea5ed4da709312910898fa03b4dafc7a27e358 (diff) | |
Language server: auto completion of `import` file and directories. (#2312)
* Language server: auto completion of `import` file and directories.
* Completion of include path.
* Improvements.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/core/slang-string.h')
| -rw-r--r-- | source/core/slang-string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/slang-string.h b/source/core/slang-string.h index 59d441b76..69ca7e2c3 100644 --- a/source/core/slang-string.h +++ b/source/core/slang-string.h @@ -154,6 +154,7 @@ namespace Slang /// True if contents is a single char of c SLANG_FORCE_INLINE bool isChar(char c) const { return getLength() == 1 && m_begin[0] == c; } + bool startsWithCaseInsensitive(UnownedStringSlice const& other) const; bool startsWith(UnownedStringSlice const& other) const; bool startsWith(char const* str) const; |
