From 87aada2d3ceb3c7bfdca7a01b3ee694726c1a10d 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] llvm-svn: 227013 --- llvm/include/llvm/Transforms/InstCombine/InstCombine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Transforms/InstCombine/InstCombine.h b/llvm/include/llvm/Transforms/InstCombine/InstCombine.h index f48ec13..3d24d63 100644 --- a/llvm/include/llvm/Transforms/InstCombine/InstCombine.h +++ b/llvm/include/llvm/Transforms/InstCombine/InstCombine.h @@ -24,7 +24,7 @@ namespace llvm { -class InstCombinePass { +class LLVM_LIBRARY_VISIBILITY InstCombinePass { InstCombineWorklist Worklist; public: -- 2.7.4