summaryrefslogtreecommitdiff
path: root/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
commit875c3ffcc992efd21e3a54bae36b1961ff0f8333 (patch)
treed4788978d2c7115c3182f931083b53ed3071af59 /tools/llvm-diff
parent69a05a7b9205fd4628ed614d1845f3879f6be949 (diff)
downloadllvm-875c3ffcc992efd21e3a54bae36b1961ff0f8333.tar.gz
llvm-875c3ffcc992efd21e3a54bae36b1961ff0f8333.tar.bz2
llvm-875c3ffcc992efd21e3a54bae36b1961ff0f8333.tar.xz
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
Diffstat (limited to 'tools/llvm-diff')
-rw-r--r--tools/llvm-diff/DiffConsumer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvm-diff/DiffConsumer.h b/tools/llvm-diff/DiffConsumer.h
index e5510ccee5..b95d42713a 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,