summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-03-14 23:07:21 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-03-14 23:07:21 +0000
commitdfeda0934506c8e90b38ee7edfac5ffabb5300ea (patch)
tree279b1812611e3584b379833ad645e76481c49c09 /llvm/tools/llvm-diff
parente1fd78f2bcb843c95e2da2c91bf82c995081692b (diff)
downloadbcm5719-llvm-dfeda0934506c8e90b38ee7edfac5ffabb5300ea.tar.gz
bcm5719-llvm-dfeda0934506c8e90b38ee7edfac5ffabb5300ea.zip
Make llvm::Consumer a class (to remove a MSVC warning since Consumer is later forward declared as a struct)
llvm-svn: 127632
Diffstat (limited to 'llvm/tools/llvm-diff')
-rw-r--r--llvm/tools/llvm-diff/DiffConsumer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-diff/DiffConsumer.h b/llvm/tools/llvm-diff/DiffConsumer.h
index e5510ccee5a..b95d42713a6 100644
--- a/llvm/tools/llvm-diff/DiffConsumer.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud