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 | c2a754992c207bcd6f50504e9865a3a7c68ea07a (patch) | |
tree | ca167137315fc46889323d2215dd4ebf90038a68 /lib/CodeGen/CGCXX.cpp | |
parent | 96fd31fe5dda9dac7df703f92bb4817cbb944074 (diff) | |
download | clang-c2a754992c207bcd6f50504e9865a3a7c68ea07a.tar.gz |
[opaque pointer type] update for LLVM API change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
-rw-r--r-- | lib/CodeGen/CGCXX.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp index 9f0e67e421..c8f2629c61 100644 --- a/lib/CodeGen/CGCXX.cpp +++ b/lib/CodeGen/CGCXX.cpp @@ -182,8 +182,8 @@ bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, return true; // Create the alias with no name. - auto *Alias = llvm::GlobalAlias::create(AliasType->getElementType(), 0, - Linkage, "", Aliasee, &getModule()); + auto *Alias = + llvm::GlobalAlias::create(AliasType, Linkage, "", Aliasee, &getModule()); // Switch any previous uses to the alias. if (Entry) { |