[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSGraph.h DSNode.h DSSupport.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Feb 22 08:24:05 PST 2006
Changes in directory llvm/include/llvm/Analysis/DataStructure:
DSGraph.h updated: 1.109 -> 1.110
DSNode.h updated: 1.56 -> 1.57
DSSupport.h updated: 1.40 -> 1.41
---
Log message:
Make the LLVM headers "-ansi -pedantic -Wno-long-long" clean.
Patch by Martin Partel!
---
Diffs of the changes: (+5 -5)
DSGraph.h | 6 +++---
DSNode.h | 2 +-
DSSupport.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
Index: llvm/include/llvm/Analysis/DataStructure/DSGraph.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.109 llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.110
--- llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.109 Thu Apr 21 15:18:05 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSGraph.h Wed Feb 22 10:23:42 2006
@@ -411,7 +411,7 @@
//
enum MarkIncompleteFlags {
MarkFormalArgs = 1, IgnoreFormalArgs = 0,
- IgnoreGlobals = 2, MarkGlobalsIncomplete = 0,
+ IgnoreGlobals = 2, MarkGlobalsIncomplete = 0
};
void markIncompleteNodes(unsigned Flags);
@@ -421,7 +421,7 @@
// graph entirely. This is only appropriate to use when inlining graphs.
//
enum RemoveDeadNodesFlags {
- RemoveUnreachableGlobals = 1, KeepUnreachableGlobals = 0,
+ RemoveUnreachableGlobals = 1, KeepUnreachableGlobals = 0
};
void removeDeadNodes(unsigned Flags);
@@ -432,7 +432,7 @@
DontCloneCallNodes = 1 << 1, CloneCallNodes = 0,
DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0,
StripModRefBits = 1 << 3, KeepModRefBits = 0,
- StripIncompleteBit = 1 << 4, KeepIncompleteBit = 0,
+ StripIncompleteBit = 1 << 4, KeepIncompleteBit = 0
};
void updateFromGlobalGraph();
Index: llvm/include/llvm/Analysis/DataStructure/DSNode.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.56 llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.57
--- llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.56 Tue Dec 6 12:16:08 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSNode.h Wed Feb 22 10:23:42 2006
@@ -95,7 +95,7 @@
DEAD = 1 << 8, // This node is dead and should not be pointed to
//#endif
- Composition = AllocaNode | HeapNode | GlobalNode | UnknownNode,
+ Composition = AllocaNode | HeapNode | GlobalNode | UnknownNode
};
/// NodeType - A union of the above bits. "Shadow" nodes do not add any flags
Index: llvm/include/llvm/Analysis/DataStructure/DSSupport.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSSupport.h:1.40 llvm/include/llvm/Analysis/DataStructure/DSSupport.h:1.41
--- llvm/include/llvm/Analysis/DataStructure/DSSupport.h:1.40 Thu Apr 21 15:18:05 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSSupport.h Wed Feb 22 10:23:42 2006
@@ -40,7 +40,7 @@
/// a pointer.
///
bool isPointerType(const Type *Ty);
-};
+}
//===----------------------------------------------------------------------===//
/// DSNodeHandle - Implement a "handle" to a data structure node that takes care
More information about the llvm-commits
mailing list