summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-22 16:23:43 +0000
committerChris Lattner <sabre@nondot.org>2006-02-22 16:23:43 +0000
commit410354fe0c052141dadeca939395743f8dd58e38 (patch)
tree93f7cc80943a94623335b126b87998cebbe0e00b /include/llvm/Analysis
parenta2a51607a6601d42c5f559858f77ef1cad86efe1 (diff)
downloadllvm-410354fe0c052141dadeca939395743f8dd58e38.tar.gz
llvm-410354fe0c052141dadeca939395743f8dd58e38.tar.bz2
llvm-410354fe0c052141dadeca939395743f8dd58e38.tar.xz
Make the LLVM headers "-ansi -pedantic -Wno-long-long" clean.
Patch by Martin Partel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h2
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h6
-rw-r--r--include/llvm/Analysis/DataStructure/DSNode.h2
-rw-r--r--include/llvm/Analysis/DataStructure/DSSupport.h2
-rw-r--r--include/llvm/Analysis/LinkAllAnalyses.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h
index eff29719c7..1cce4ea393 100644
--- a/include/llvm/Analysis/AliasAnalysis.h
+++ b/include/llvm/Analysis/AliasAnalysis.h
@@ -178,7 +178,7 @@ public:
/// CallsThrough - Indirect calls are made through the specified function
/// pointer.
- CallsThrough,
+ CallsThrough
};
};
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h
index f38b59eb06..eb4388b6ad 100644
--- a/include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/include/llvm/Analysis/DataStructure/DSGraph.h
@@ -411,7 +411,7 @@ public:
//
enum MarkIncompleteFlags {
MarkFormalArgs = 1, IgnoreFormalArgs = 0,
- IgnoreGlobals = 2, MarkGlobalsIncomplete = 0,
+ IgnoreGlobals = 2, MarkGlobalsIncomplete = 0
};
void markIncompleteNodes(unsigned Flags);
@@ -421,7 +421,7 @@ public:
// 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 @@ public:
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();
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h
index e3442056cc..83c9aba5d8 100644
--- a/include/llvm/Analysis/DataStructure/DSNode.h
+++ b/include/llvm/Analysis/DataStructure/DSNode.h
@@ -95,7 +95,7 @@ public:
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
diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h
index 2fc52db25f..dc4c31f60a 100644
--- a/include/llvm/Analysis/DataStructure/DSSupport.h
+++ b/include/llvm/Analysis/DataStructure/DSSupport.h
@@ -40,7 +40,7 @@ namespace DS { // FIXME: After the paper, this should get cleaned up
/// a pointer.
///
bool isPointerType(const Type *Ty);
-};
+}
//===----------------------------------------------------------------------===//
/// DSNodeHandle - Implement a "handle" to a data structure node that takes care
diff --git a/include/llvm/Analysis/LinkAllAnalyses.h b/include/llvm/Analysis/LinkAllAnalyses.h
index afb120ed87..cac2abdc4c 100644
--- a/include/llvm/Analysis/LinkAllAnalyses.h
+++ b/include/llvm/Analysis/LinkAllAnalyses.h
@@ -55,6 +55,6 @@ namespace {
X.add((llvm::Value*)0, 0); // for -print-alias-sets
}
} ForceAnalysisPassLinking;
-};
+}
#endif