diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-03-20 13:55:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-20 13:55:08 -0400 |
| commit | 3435a50f0bb3e9cbb55bde11b90a1b2da295b0f0 (patch) | |
| tree | 76bc76e32fe260a34d73816cee8b7a5747e5a08d /source | |
| parent | a8a23a6c21437086df4499d4d30b8b5b47bcd1ff (diff) | |
Diagnostic compare special case for stdlib line number changes (#1286)
* Added diagnostic compare which ignores line number changes in std library.
* Change stdlib just to make sure it's all working.
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/core.meta.slang | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index 821905375..f669fd770 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -336,6 +336,7 @@ static const struct { {"bool", "b"}, }; + static const int kTypeCount = sizeof(kTypes) / sizeof(kTypes[0]); for (int tt = 0; tt < kTypeCount; ++tt) @@ -1894,4 +1895,4 @@ __attributeTarget(Decl) attribute_syntax [__extern] : ExternAttribute; __attributeTarget(FunctionDeclBase) -attribute_syntax [__unsafeForceInlineEarly] : UnsafeForceInlineEarlyAttribute;
\ No newline at end of file +attribute_syntax [__unsafeForceInlineEarly] : UnsafeForceInlineEarlyAttribute; |
