From f0f3d61a2f5cf17f544c50d6a580eb045ba62593 Mon Sep 17 00:00:00 2001 From: Patrik Hagglund Date: Sat, 24 Jan 2015 20:06:53 +0000 Subject: [PATCH] Add visibility attribute for InstCombinePass (r226987). Warning by gcc: 'llvm::InstCombinePass' declared with greater visibility than the type of its field 'llvm::InstCombinePass::Worklist' [-Wattributes] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227013 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/InstCombine/InstCombine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Transforms/InstCombine/InstCombine.h b/include/llvm/Transforms/InstCombine/InstCombine.h index f48ec13107b..3d24d633589 100644 --- a/include/llvm/Transforms/InstCombine/InstCombine.h +++ b/include/llvm/Transforms/InstCombine/InstCombine.h @@ -24,7 +24,7 @@ namespace llvm { -class InstCombinePass { +class LLVM_LIBRARY_VISIBILITY InstCombinePass { InstCombineWorklist Worklist; public: