aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SCCP.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-27 16:14:51 +0000
committerChris Lattner <sabre@nondot.org>2004-10-27 16:14:51 +0000
commit1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721 (patch)
tree84ba84e29d790774dd87ad9efc8acb702dafc842 /lib/Transforms/Scalar/SCCP.cpp
parent3acd9181df5d8f76f75a384266e2a78b9a6c4f45 (diff)
Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/SCCP.cpp')
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp
index aa57159b6e..82d00b472a 100644
--- a/lib/Transforms/Scalar/SCCP.cpp
+++ b/lib/Transforms/Scalar/SCCP.cpp
@@ -135,7 +135,7 @@ public:
// The implementation of this class
//
private:
- friend class InstVisitor<SCCP>; // Allow callbacks from visitor
+ friend struct InstVisitor<SCCP>; // Allow callbacks from visitor
// markConstant - Make a value be marked as "constant". If the value
// is not already a constant, add it to the instruction work list so that