From: Francois Pichet Date: Mon, 14 Mar 2011 23:07:21 +0000 (+0000) Subject: Make llvm::Consumer a class (to remove a MSVC warning since Consumer is later forward... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=875c3ffcc992efd21e3a54bae36b1961ff0f8333;p=oota-llvm.git Make llvm::Consumer a class (to remove a MSVC warning since Consumer is later forward declared as a struct) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127632 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-diff/DiffConsumer.h b/tools/llvm-diff/DiffConsumer.h index e5510ccee5a..b95d42713a6 100644 --- a/tools/llvm-diff/DiffConsumer.h +++ b/tools/llvm-diff/DiffConsumer.h @@ -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,