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 /examples/example-base/test-base.h | |
| parent | a729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff) | |
format
* format
* Minor test fixes
* enable checking cpp format in ci
Diffstat (limited to 'examples/example-base/test-base.h')
| -rw-r--r-- | examples/example-base/test-base.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/examples/example-base/test-base.h b/examples/example-base/test-base.h index cdd72c580..3f600eae7 100644 --- a/examples/example-base/test-base.h +++ b/examples/example-base/test-base.h @@ -1,22 +1,26 @@ #pragma once -#include "slang.h" #include "slang-com-ptr.h" +#include "slang.h" #include "source/core/slang-string-util.h" using Slang::ComPtr; -class TestBase { +class TestBase +{ public: // Parses command line options. This example only has one option for testing purpose. int parseOption(int argc, char** argv); - void printEntrypointHashes(int entryPointCount, int targetCount, ComPtr<slang::IComponentType>& composedProgram); + void printEntrypointHashes( + int entryPointCount, + int targetCount, + ComPtr<slang::IComponentType>& composedProgram); bool isTestMode() const { return m_isTestMode; } private: - bool m_isTestMode = false; - uint64_t m_globalCounter = 0; + bool m_isTestMode = false; + uint64_t m_globalCounter = 0; }; |
