diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-29 14:49:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 14:49:26 +0800 |
| commit | f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch) | |
| tree | ea1d61342cd29368e19135000ec2948813096205 /source/core/slang-string-slice-index-map.cpp | |
| parent | a729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff) | |
format
* format
* Minor test fixes
* enable checking cpp format in ci
Diffstat (limited to 'source/core/slang-string-slice-index-map.cpp')
| -rw-r--r-- | source/core/slang-string-slice-index-map.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/core/slang-string-slice-index-map.cpp b/source/core/slang-string-slice-index-map.cpp index d147556e4..dded10537 100644 --- a/source/core/slang-string-slice-index-map.cpp +++ b/source/core/slang-string-slice-index-map.cpp @@ -5,7 +5,9 @@ namespace Slang // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! StringSliceIndexMap !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -StringSliceIndexMap::CountIndex StringSliceIndexMap::add(const UnownedStringSlice& key, Index valueIndex) +StringSliceIndexMap::CountIndex StringSliceIndexMap::add( + const UnownedStringSlice& key, + Index valueIndex) { StringSlicePool::Handle handle; m_pool.findOrAdd(key, handle); @@ -22,7 +24,9 @@ StringSliceIndexMap::CountIndex StringSliceIndexMap::add(const UnownedStringSlic return countIndex; } -StringSliceIndexMap::CountIndex StringSliceIndexMap::findOrAdd(const UnownedStringSlice& key, Index defaultValueIndex) +StringSliceIndexMap::CountIndex StringSliceIndexMap::findOrAdd( + const UnownedStringSlice& key, + Index defaultValueIndex) { StringSlicePool::Handle handle; m_pool.findOrAdd(key, handle); |
