summaryrefslogtreecommitdiffstats
path: root/source/compiler-core
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2022-07-11 23:18:06 -0400
committerGitHub <noreply@github.com>2022-07-11 23:18:06 -0400
commitb513d0deef521318ad943d820dd37029075a33c4 (patch)
treecc6dc625ae381e0461724c5b137e1a034b03e636 /source/compiler-core
parent9261c7a23ddf061fe9f5bfc3376f09f3c0513bff (diff)
Added support for differentiating calls to basic functions, as well as arithmetic on the float3 type (#2313)
* Added support for differentiating calls to basic functions, as well as arithmetic on the float3 type * Added test expected result
Diffstat (limited to 'source/compiler-core')
-rw-r--r--source/compiler-core/slang-diagnostic-sink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler-core/slang-diagnostic-sink.cpp b/source/compiler-core/slang-diagnostic-sink.cpp
index 0110b16d7..34a3c4968 100644
--- a/source/compiler-core/slang-diagnostic-sink.cpp
+++ b/source/compiler-core/slang-diagnostic-sink.cpp
@@ -642,13 +642,13 @@ void DiagnosticSink::diagnoseRaw(
// Did the client supply a callback for us to use?
if(writer)
{
- // If so, pass the error string along to them
+ // If so, pass the error string along to them.
writer->write(message.begin(), message.getLength());
}
else
{
// If the user doesn't have a callback, then just
- // collect our diagnostic messages into a buffer
+ // collect our diagnostic messages into a buffer.
outputBuffer.append(message);
}