Make llvm::Consumer a class (to remove a MSVC warning since Consumer is later forward...
authorFrancois Pichet <pichet2000@gmail.com>
Mon, 14 Mar 2011 23:07:21 +0000 (23:07 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Mon, 14 Mar 2011 23:07:21 +0000 (23:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127632 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-diff/DiffConsumer.h

index e5510ccee5a79cea9b1b18643e7702d3947e6cd4..b95d42713a643c5d818f8e21b0f1cb934905d53e 100644 (file)
@@ -28,7 +28,8 @@ namespace llvm {
   class Function;
 
   /// The interface for consumers of difference data.
-  struct Consumer {
+  class Consumer {
+  public:
     /// Record that a local context has been entered.  Left and
     /// Right are IR "containers" of some sort which are being
     /// considered for structural equivalence: global variables,