Skip to content

Commit c1e1343

Browse files
committed
Delete braces around single-statement if expression
1 parent e53cd26 commit c1e1343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/DirectX/DXILShaderFlags.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ void ModuleShaderFlags::updateFunctionFlags(ComputedShaderFlags &CSF,
7676
if (auto *CI = dyn_cast<CallInst>(&I)) {
7777
const Function *CF = CI->getCalledFunction();
7878
// Merge-in shader flags mask of the called function in the current module
79-
if (FunctionFlags.contains(CF)) {
79+
if (FunctionFlags.contains(CF))
8080
CSF.merge(FunctionFlags[CF]);
81-
}
81+
8282
// TODO: Set DX11_1_DoubleExtensions if I is a call to DXIL intrinsic
8383
// DXIL::Opcode::Fma https://github.com/llvm/llvm-project/issues/114554
8484
}

0 commit comments

Comments
 (0)