Remove trailing comma in array initialization list.

llvm-svn: 159843
This commit is contained in:
Bill Wendling 2012-07-06 17:49:19 +00:00
parent 7154c43eff
commit 5ef3159820
1 changed files with 8 additions and 8 deletions

View File

@ -163,7 +163,7 @@ DIType DIBuilder::createNullPtrType(StringRef Name) {
ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align
ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset
ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags; ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags;
ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Encoding ConstantInt::get(Type::getInt32Ty(VMContext), 0) // Encoding
}; };
return DIType(MDNode::get(VMContext, Elts)); return DIType(MDNode::get(VMContext, Elts));
} }
@ -492,7 +492,7 @@ DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name,
NULL, NULL,
Elements, Elements,
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
Constant::getNullValue(Type::getInt32Ty(VMContext)), Constant::getNullValue(Type::getInt32Ty(VMContext))
}; };
return DIType(MDNode::get(VMContext, Elts)); return DIType(MDNode::get(VMContext, Elts));
} }
@ -517,7 +517,7 @@ DIType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name,
NULL, NULL,
Elements, Elements,
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
Constant::getNullValue(Type::getInt32Ty(VMContext)), Constant::getNullValue(Type::getInt32Ty(VMContext))
}; };
return DIType(MDNode::get(VMContext, Elts)); return DIType(MDNode::get(VMContext, Elts));
} }
@ -538,7 +538,7 @@ DIType DIBuilder::createSubroutineType(DIFile File, DIArray ParameterTypes) {
NULL, NULL,
ParameterTypes, ParameterTypes,
ConstantInt::get(Type::getInt32Ty(VMContext), 0), ConstantInt::get(Type::getInt32Ty(VMContext), 0),
Constant::getNullValue(Type::getInt32Ty(VMContext)), Constant::getNullValue(Type::getInt32Ty(VMContext))
}; };
return DIType(MDNode::get(VMContext, Elts)); return DIType(MDNode::get(VMContext, Elts));
} }
@ -565,7 +565,7 @@ DIType DIBuilder::createEnumerationType(DIDescriptor Scope, StringRef Name,
ClassType, ClassType,
Elements, Elements,
ConstantInt::get(Type::getInt32Ty(VMContext), 0), ConstantInt::get(Type::getInt32Ty(VMContext), 0),
Constant::getNullValue(Type::getInt32Ty(VMContext)), Constant::getNullValue(Type::getInt32Ty(VMContext))
}; };
MDNode *Node = MDNode::get(VMContext, Elts); MDNode *Node = MDNode::get(VMContext, Elts);
AllEnumTypes.push_back(Node); AllEnumTypes.push_back(Node);
@ -589,7 +589,7 @@ DIType DIBuilder::createArrayType(uint64_t Size, uint64_t AlignInBits,
Ty, Ty,
Subscripts, Subscripts,
ConstantInt::get(Type::getInt32Ty(VMContext), 0), ConstantInt::get(Type::getInt32Ty(VMContext), 0),
Constant::getNullValue(Type::getInt32Ty(VMContext)), Constant::getNullValue(Type::getInt32Ty(VMContext))
}; };
return DIType(MDNode::get(VMContext, Elts)); return DIType(MDNode::get(VMContext, Elts));
} }
@ -611,7 +611,7 @@ DIType DIBuilder::createVectorType(uint64_t Size, uint64_t AlignInBits,
Ty, Ty,
Subscripts, Subscripts,
ConstantInt::get(Type::getInt32Ty(VMContext), 0), ConstantInt::get(Type::getInt32Ty(VMContext), 0),
Constant::getNullValue(Type::getInt32Ty(VMContext)), Constant::getNullValue(Type::getInt32Ty(VMContext))
}; };
return DIType(MDNode::get(VMContext, Elts)); return DIType(MDNode::get(VMContext, Elts));
} }
@ -787,7 +787,7 @@ DIVariable DIBuilder::createLocalVariable(unsigned Tag, DIDescriptor Scope,
ConstantInt::get(Type::getInt32Ty(VMContext), (LineNo | (ArgNo << 24))), ConstantInt::get(Type::getInt32Ty(VMContext), (LineNo | (ArgNo << 24))),
Ty, Ty,
ConstantInt::get(Type::getInt32Ty(VMContext), Flags), ConstantInt::get(Type::getInt32Ty(VMContext), Flags),
Constant::getNullValue(Type::getInt32Ty(VMContext)), Constant::getNullValue(Type::getInt32Ty(VMContext))
}; };
MDNode *Node = MDNode::get(VMContext, Elts); MDNode *Node = MDNode::get(VMContext, Elts);
if (AlwaysPreserve) { if (AlwaysPreserve) {