diff options
author | Eric Christopher <echristo@gmail.com> | 2013-04-02 22:55:56 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-04-02 22:55:56 +0000 |
commit | c656fda3aeba9fd8b09d98ed72e75b6c25a1ad49 (patch) | |
tree | 27878bfe9c7b5906b7ab73c62fdb5ca9eb28d802 /lib/IR/DIBuilder.cpp | |
parent | cf0623bba4abb8612a61229e672ac8ea8ed20c4e (diff) | |
download | external_llvm-c656fda3aeba9fd8b09d98ed72e75b6c25a1ad49.zip external_llvm-c656fda3aeba9fd8b09d98ed72e75b6c25a1ad49.tar.gz external_llvm-c656fda3aeba9fd8b09d98ed72e75b6c25a1ad49.tar.bz2 |
Support and test template arguments for unions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 7890b7f..9d6e840 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -568,7 +568,8 @@ DICompositeType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name, NULL, Elements, ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), - Constant::getNullValue(Type::getInt32Ty(VMContext)) + Constant::getNullValue(Type::getInt32Ty(VMContext)), + NULL }; return DICompositeType(MDNode::get(VMContext, Elts)); } |