Skip to content

Commit 9ba8d68

Browse files
authored
format code (#41)
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
1 parent bdb3ccf commit 9ba8d68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/slang/slang-ir-clone.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ void cloneDecoration(
311311
{
312312
// If the parent is hoistable and is the same as the original decoration's parent,
313313
// skip cloning to avoid duplicating decorations
314-
if (getIROpInfo(newParent->getOp()).isHoistable() &&
315-
oldDecoration->getParent() == newParent)
314+
if (getIROpInfo(newParent->getOp()).isHoistable() && oldDecoration->getParent() == newParent)
316315
return;
317316

318317
IRBuilder builder(module);

0 commit comments

Comments
 (0)