[llvm] r189473 - 80 cols
Alexey Samsonov
samsonov at google.com
Wed Aug 28 04:25:12 PDT 2013
Author: samsonov
Date: Wed Aug 28 06:25:12 2013
New Revision: 189473
URL: http://llvm.org/viewvc/llvm-project?rev=189473&view=rev
Log:
80 cols
Modified:
llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp?rev=189473&r1=189472&r2=189473&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp Wed Aug 28 06:25:12 2013
@@ -307,10 +307,11 @@ FunctionType *DataFlowSanitizer::getTram
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 {
More information about the llvm-commits
mailing list