mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
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
This commit is contained in:
@@ -66,7 +66,7 @@ namespace {
|
||||
|
||||
Instruction *InsertPt;
|
||||
|
||||
friend class SCEVVisitor<SCEVExpander, Value*>;
|
||||
friend struct SCEVVisitor<SCEVExpander, Value*>;
|
||||
public:
|
||||
SCEVExpander(ScalarEvolution &se, LoopInfo &li) : SE(se), LI(li) {}
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -90,7 +90,8 @@ public:
|
||||
|
||||
typedef std::map<const Value*, const Type*> ValueTypeCache;
|
||||
|
||||
struct ValueMapCache {
|
||||
class ValueMapCache {
|
||||
public:
|
||||
// Operands mapped - Contains an entry if the first value (the user) has had
|
||||
// the second value (the operand) mapped already.
|
||||
//
|
||||
|
Reference in New Issue
Block a user