Add explicit discards to all value returning expressions
このコミットが含まれているのは:
1 親
38adbe6087
コミット
9343ac7f7b
47ファイル変更
+144
-144
検索条件に一致するファイルはありません
@@ -570,31 +570,31 @@ partial class IShaderGenerator
|
||||
|
||||
void AppendLF()
|
||||
{
|
||||
hlslBuilder.Append('\n');
|
||||
_ = hlslBuilder.Append('\n');
|
||||
}
|
||||
|
||||
void AppendLine(string text)
|
||||
{
|
||||
hlslBuilder.Append(text);
|
||||
_ = hlslBuilder.Append(text);
|
||||
}
|
||||
|
||||
void AppendLineAndLF(string text)
|
||||
{
|
||||
hlslBuilder.Append(text);
|
||||
hlslBuilder.Append('\n');
|
||||
_ = hlslBuilder.Append(text);
|
||||
_ = hlslBuilder.Append('\n');
|
||||
}
|
||||
|
||||
void AppendCharacterAndLF(char c)
|
||||
{
|
||||
hlslBuilder.Append(c);
|
||||
hlslBuilder.Append('\n');
|
||||
_ = hlslBuilder.Append(c);
|
||||
_ = hlslBuilder.Append('\n');
|
||||
}
|
||||
|
||||
string FlushText()
|
||||
{
|
||||
string text = hlslBuilder.ToString();
|
||||
|
||||
hlslBuilder.Clear();
|
||||
_ = hlslBuilder.Clear();
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする