From 5ef31598208fd09628ed2ce180e12e8f4495aa2c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 6 Jul 2012 17:49:19 +0000 Subject: [PATCH] Remove trailing comma in array initialization list. llvm-svn: 159843 --- llvm/lib/VMCore/DIBuilder.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/llvm/lib/VMCore/DIBuilder.cpp b/llvm/lib/VMCore/DIBuilder.cpp index 801f1859f46d..f5894e9a32ea 100644 --- a/llvm/lib/VMCore/DIBuilder.cpp +++ b/llvm/lib/VMCore/DIBuilder.cpp @@ -163,7 +163,7 @@ DIType DIBuilder::createNullPtrType(StringRef Name) { ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset 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)); } @@ -492,7 +492,7 @@ DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name, NULL, Elements, ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), - Constant::getNullValue(Type::getInt32Ty(VMContext)), + Constant::getNullValue(Type::getInt32Ty(VMContext)) }; return DIType(MDNode::get(VMContext, Elts)); } @@ -517,7 +517,7 @@ DIType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name, NULL, Elements, ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), - Constant::getNullValue(Type::getInt32Ty(VMContext)), + Constant::getNullValue(Type::getInt32Ty(VMContext)) }; return DIType(MDNode::get(VMContext, Elts)); } @@ -538,7 +538,7 @@ DIType DIBuilder::createSubroutineType(DIFile File, DIArray ParameterTypes) { NULL, ParameterTypes, ConstantInt::get(Type::getInt32Ty(VMContext), 0), - Constant::getNullValue(Type::getInt32Ty(VMContext)), + Constant::getNullValue(Type::getInt32Ty(VMContext)) }; return DIType(MDNode::get(VMContext, Elts)); } @@ -565,7 +565,7 @@ DIType DIBuilder::createEnumerationType(DIDescriptor Scope, StringRef Name, ClassType, Elements, ConstantInt::get(Type::getInt32Ty(VMContext), 0), - Constant::getNullValue(Type::getInt32Ty(VMContext)), + Constant::getNullValue(Type::getInt32Ty(VMContext)) }; MDNode *Node = MDNode::get(VMContext, Elts); AllEnumTypes.push_back(Node); @@ -589,7 +589,7 @@ DIType DIBuilder::createArrayType(uint64_t Size, uint64_t AlignInBits, Ty, Subscripts, ConstantInt::get(Type::getInt32Ty(VMContext), 0), - Constant::getNullValue(Type::getInt32Ty(VMContext)), + Constant::getNullValue(Type::getInt32Ty(VMContext)) }; return DIType(MDNode::get(VMContext, Elts)); } @@ -611,7 +611,7 @@ DIType DIBuilder::createVectorType(uint64_t Size, uint64_t AlignInBits, Ty, Subscripts, ConstantInt::get(Type::getInt32Ty(VMContext), 0), - Constant::getNullValue(Type::getInt32Ty(VMContext)), + Constant::getNullValue(Type::getInt32Ty(VMContext)) }; 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))), Ty, ConstantInt::get(Type::getInt32Ty(VMContext), Flags), - Constant::getNullValue(Type::getInt32Ty(VMContext)), + Constant::getNullValue(Type::getInt32Ty(VMContext)) }; MDNode *Node = MDNode::get(VMContext, Elts); if (AlwaysPreserve) {