From 875c3ffcc992efd21e3a54bae36b1961ff0f8333 Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Mon, 14 Mar 2011 23:07:21 +0000 Subject: [PATCH] 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 --- tools/llvm-diff/DiffConsumer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.34.1