diff --git a/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp index 8ee5482ceaf..9b9e725cde8 100644 --- a/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp +++ b/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp @@ -307,10 +307,11 @@ FunctionType *DataFlowSanitizer::getTrampolineFunctionType(FunctionType *T) { FunctionType *DataFlowSanitizer::getCustomFunctionType(FunctionType *T) { assert(!T->isVarArg()); llvm::SmallVector ArgTypes; - for (FunctionType::param_iterator i = T->param_begin(), e = T->param_end(); i != e; ++i) { + for (FunctionType::param_iterator i = T->param_begin(), e = T->param_end(); + i != e; ++i) { FunctionType *FT; - if (isa(*i) && - (FT = dyn_cast(cast(*i)->getElementType()))) { + if (isa(*i) && (FT = dyn_cast(cast( + *i)->getElementType()))) { ArgTypes.push_back(getTrampolineFunctionType(FT)->getPointerTo()); ArgTypes.push_back(Type::getInt8PtrTy(*Ctx)); } else {