80 cols
authorAlexey Samsonov <samsonov@google.com>
Wed, 28 Aug 2013 11:25:12 +0000 (11:25 +0000)
committerAlexey Samsonov <samsonov@google.com>
Wed, 28 Aug 2013 11:25:12 +0000 (11:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189473 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

index 8ee5482ceaf7725cc9686236b91e223abfb8475d..9b9e725cde81bb8f45d429408ff8f2ef591ba898 100644 (file)
@@ -307,10 +307,11 @@ FunctionType *DataFlowSanitizer::getTrampolineFunctionType(FunctionType *T) {
 FunctionType *DataFlowSanitizer::getCustomFunctionType(FunctionType *T) {
   assert(!T->isVarArg());
   llvm::SmallVector<Type *, 4> 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<PointerType>(*i) &&
-        (FT = dyn_cast<FunctionType>(cast<PointerType>(*i)->getElementType()))) {
+    if (isa<PointerType>(*i) && (FT = dyn_cast<FunctionType>(cast<PointerType>(
+                                     *i)->getElementType()))) {
       ArgTypes.push_back(getTrampolineFunctionType(FT)->getPointerTo());
       ArgTypes.push_back(Type::getInt8PtrTy(*Ctx));
     } else {