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]

llvm-svn: 227013

llvm/include/llvm/Transforms/InstCombine/InstCombine.h

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