diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:58:55 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:58:55 +0000 |
commit | e26057a376f04e20da6c7217d19eaa184767cb1d (patch) | |
tree | 419befcb26307e80872cefc7683de563d21fffa1 /include/llvm/Support | |
parent | dac56e65186e16c2f8ab0d7ceebe1b3f495f7265 (diff) | |
download | external_llvm-e26057a376f04e20da6c7217d19eaa184767cb1d.zip external_llvm-e26057a376f04e20da6c7217d19eaa184767cb1d.tar.gz external_llvm-e26057a376f04e20da6c7217d19eaa184767cb1d.tar.bz2 |
Standardize on 'class' instead of 'struct'. Gets rid of warnings in VC++
Patch contributed by Jeff Cohen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index a9b3b71..6eef0f9 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -70,12 +70,13 @@ class AllocationInst; template<typename SubClass, typename RetTy=void> -struct InstVisitor { +class InstVisitor { //===--------------------------------------------------------------------===// // Interface code - This is the public interface of the InstVisitor that you // use to visit instructions... // +public: // Generic visit method - Allow visitation to all instructions in a range template<class Iterator> void visit(Iterator Start, Iterator End) { |