commit | 03e205031b08669f05c41eed5b896fc94c4a12bb | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu Jul 30 23:11:26 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu Jul 30 23:11:26 2009 +0000 |
tree | d808fa7cc70a38ffaf1fef006c510c0321b08173 | |
parent | 754431107b61a0523df5271c2876a73dd5a051e9 [diff] [blame] |
Update for LLVM API changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77638 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 6aba6c2..2cc0aab 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp
@@ -808,7 +808,7 @@ if (!Init) { ErrorUnsupported(D, "static initializer"); QualType T = D->getInit()->getType(); - Init = VMContext.getUndef(getTypes().ConvertType(T)); + Init = llvm::UndefValue::get(getTypes().ConvertType(T)); } }