llvm.org GIT mirror llvm / d01347e
Add braces to fix dangling else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111896 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 9 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
286286 // MDNodes and all function-local values they reference.
287287 for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i)
288288 if (Value *V = N->getOperand(i)) {
289 if (MDNode *O = dyn_cast(V))
289 if (MDNode *O = dyn_cast(V)) {
290290 if (O->isFunctionLocal() && O->getFunction())
291291 EnumerateFunctionLocalMetadata(O);
292 else if (isa(V) || isa(V))
292 } else if (isa(V) || isa(V))
293293 EnumerateValue(V);
294294 }
295295