diff --git a/source/slang/slang-ir-legalize-global-values.cpp b/source/slang/slang-ir-legalize-global-values.cpp index 220bd48883..c50159275b 100644 --- a/source/slang/slang-ir-legalize-global-values.cpp +++ b/source/slang/slang-ir-legalize-global-values.cpp @@ -39,7 +39,7 @@ void GlobalInstInliningContextGeneric::inlineGlobalValuesAndRemoveIfUnused(IRMod // Since certain globals that appear in the IR are considered illegal for all targets, // e.g. calls to functions, we delete globals which no longer have uses after inlining. - for (auto& globalInst: globalInstsToConsiderDeleting) + for (auto& globalInst : globalInstsToConsiderDeleting) { // TODO: Explain why tests/spirv/global-compute.slang fails if we don't exclude // kIROp_SPIRVAsm