Add visibility attribute for InstCombinePass (r226987).
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Sat, 24 Jan 2015 20:06:53 +0000 (20:06 +0000)
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Sat, 24 Jan 2015 20:06:53 +0000 (20:06 +0000)
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

index f48ec13107bc9cefaf1e23082dbca31e187d1ab4..3d24d633589804947b81c8148f0f2f1417f75bb2 100644 (file)
@@ -24,7 +24,7 @@
 
 namespace llvm {
 
-class InstCombinePass {
+class LLVM_LIBRARY_VISIBILITY InstCombinePass {
   InstCombineWorklist Worklist;
 
 public: