summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCedric Venet <cedric.venet@laposte.net>2009-02-14 16:06:42 +0000
committerCedric Venet <cedric.venet@laposte.net>2009-02-14 16:06:42 +0000
commitaff9c270de8de7d1a0bc138d391bc67136bad58e (patch)
tree8420d6eb1201329b36131b7875e079d1292f0d03 /include
parentd869b3847f1dee78e1e4e1ed3cb41bd3ab0a079c (diff)
downloadllvm-aff9c270de8de7d1a0bc138d391bc67136bad58e.tar.gz
llvm-aff9c270de8de7d1a0bc138d391bc67136bad58e.tar.bz2
llvm-aff9c270de8de7d1a0bc138d391bc67136bad58e.tar.xz
Unbreak the build on win32.
Cleanup some warning. Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync. Only tested with VS2008. hope it does not break anything. feel free to revert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h4
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h2
-rw-r--r--include/llvm/Transforms/Utils/Local.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 5113d5f773..164600e59d 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -27,8 +27,8 @@ namespace llvm {
class Module;
class Type;
class Value;
- class DbgStopPointInst;
- class DbgDeclareInst;
+ struct DbgStopPointInst;
+ struct DbgDeclareInst;
class Instruction;
class DIDescriptor {
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h
index 38b437bdf0..685dc76d12 100644
--- a/include/llvm/CodeGen/ScheduleDAG.h
+++ b/include/llvm/CodeGen/ScheduleDAG.h
@@ -217,7 +217,7 @@ namespace llvm {
};
/// SUnit - Scheduling unit. This is a node in the scheduling DAG.
- struct SUnit {
+ class SUnit {
private:
SDNode *Node; // Representative node.
MachineInstr *Instr; // Alternatively, a MachineInstr.
diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h
index 73389124b8..36c13f4c98 100644
--- a/include/llvm/Transforms/Utils/Local.h
+++ b/include/llvm/Transforms/Utils/Local.h
@@ -25,7 +25,7 @@ class PHINode;
class AllocaInst;
class ConstantExpr;
class TargetData;
-class DbgInfoIntrinsic;
+struct DbgInfoIntrinsic;
template<typename T> class SmallVectorImpl;