mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-27 05:32:22 +00:00
IR: Appease MSVC after r280107 with an & or two
Fixes the bot: http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/15192 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f097e134b1
commit
b161c80b89
@ -25,7 +25,7 @@ bool sortByNameReverse(const GlobalVariable &L, const GlobalVariable &R) {
|
|||||||
|
|
||||||
TEST(ModuleTest, sortGlobalsByName) {
|
TEST(ModuleTest, sortGlobalsByName) {
|
||||||
LLVMContext Context;
|
LLVMContext Context;
|
||||||
for (auto compare : {sortByName, sortByNameReverse}) {
|
for (auto compare : {&sortByName, &sortByNameReverse}) {
|
||||||
Module M("M", Context);
|
Module M("M", Context);
|
||||||
Type *T = Type::getInt8Ty(Context);
|
Type *T = Type::getInt8Ty(Context);
|
||||||
GlobalValue::LinkageTypes L = GlobalValue::ExternalLinkage;
|
GlobalValue::LinkageTypes L = GlobalValue::ExternalLinkage;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user