diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-04-29 21:22:47 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-04-29 21:22:47 +0000 |
commit | 881b23402e4feb709a117119803042f400e8712c (patch) | |
tree | acb159c967a7c6d49eebbebfa0a63f9dcfaf7f9e /clang/lib/CodeGen/ItaniumCXXABI.cpp | |
parent | f64246be723d3acae52227e7ed612595c6a84d46 (diff) | |
download | bcm5719-llvm-881b23402e4feb709a117119803042f400e8712c.tar.gz bcm5719-llvm-881b23402e4feb709a117119803042f400e8712c.zip |
[opaque pointer type] update for LLVM API change
llvm-svn: 236161
Diffstat (limited to 'clang/lib/CodeGen/ItaniumCXXABI.cpp')
-rw-r--r-- | clang/lib/CodeGen/ItaniumCXXABI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/ItaniumCXXABI.cpp b/clang/lib/CodeGen/ItaniumCXXABI.cpp index e4e369572f5..e8c28c1265d 100644 --- a/clang/lib/CodeGen/ItaniumCXXABI.cpp +++ b/clang/lib/CodeGen/ItaniumCXXABI.cpp @@ -3220,8 +3220,8 @@ static void emitConstructorDestructorAlias(CodeGenModule &CGM, llvm::PointerType *AliasType = Aliasee->getType(); // Create the alias with no name. - auto *Alias = llvm::GlobalAlias::create( - AliasType->getElementType(), 0, Linkage, "", Aliasee, &CGM.getModule()); + auto *Alias = llvm::GlobalAlias::create(AliasType, Linkage, "", Aliasee, + &CGM.getModule()); // Switch any previous uses to the alias. if (Entry) { |