[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasAnalysis.h AliasSetTracker.h CallGraph.h ConstantsScanner.h DSGraph.h DSGraphTraits.h DSNode.h DSSupport.h DataStructure.h DependenceGraph.h Dominators.h Expressions.h FindUnsafePointerTypes.h FindUsedTypes.h IPModRef.h InductionVariable.h InstForest.h Interval.h IntervalIterator.h IntervalPartition.h LoadValueNumbering.h LoopInfo.h MemoryDepAnalysis.h PgmDependenceGraph.h PostDominators.h ValueNumbering.h Verifier.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Nov 11 16:45:58 PST 2003
Changes in directory llvm/include/llvm/Analysis:
AliasAnalysis.h updated: 1.6 -> 1.7
AliasSetTracker.h updated: 1.8 -> 1.9
CallGraph.h updated: 1.32 -> 1.33
ConstantsScanner.h updated: 1.13 -> 1.14
DSGraph.h updated: 1.62 -> 1.63
DSGraphTraits.h updated: 1.17 -> 1.18
DSNode.h updated: 1.32 -> 1.33
DSSupport.h updated: 1.25 -> 1.26
DataStructure.h updated: 1.74 -> 1.75
DependenceGraph.h updated: 1.8 -> 1.9
Dominators.h updated: 1.40 -> 1.41
Expressions.h updated: 1.8 -> 1.9
FindUnsafePointerTypes.h updated: 1.14 -> 1.15
FindUsedTypes.h updated: 1.21 -> 1.22
IPModRef.h updated: 1.13 -> 1.14
InductionVariable.h updated: 1.7 -> 1.8
InstForest.h updated: 1.22 -> 1.23
Interval.h updated: 1.16 -> 1.17
IntervalIterator.h updated: 1.16 -> 1.17
IntervalPartition.h updated: 1.19 -> 1.20
LoadValueNumbering.h updated: 1.2 -> 1.3
LoopInfo.h updated: 1.28 -> 1.29
MemoryDepAnalysis.h updated: 1.6 -> 1.7
PgmDependenceGraph.h updated: 1.5 -> 1.6
PostDominators.h updated: 1.5 -> 1.6
ValueNumbering.h updated: 1.2 -> 1.3
Verifier.h updated: 1.11 -> 1.12
---
Log message:
Put all LLVM code into the llvm namespace, as per bug 109.
---
Diffs of the changes: (+122 -3)
Index: llvm/include/llvm/Analysis/AliasAnalysis.h
diff -u llvm/include/llvm/Analysis/AliasAnalysis.h:1.6 llvm/include/llvm/Analysis/AliasAnalysis.h:1.7
--- llvm/include/llvm/Analysis/AliasAnalysis.h:1.6 Mon Oct 20 15:19:16 2003
+++ llvm/include/llvm/Analysis/AliasAnalysis.h Tue Nov 11 16:41:30 2003
@@ -31,6 +31,9 @@
#define LLVM_ANALYSIS_ALIAS_ANALYSIS_H
#include "llvm/Support/CallSite.h"
+
+namespace llvm {
+
class LoadInst;
class StoreInst;
class TargetData;
@@ -155,5 +158,7 @@
bool canInstructionRangeModify(const Instruction &I1, const Instruction &I2,
const Value *Ptr, unsigned Size);
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/AliasSetTracker.h
diff -u llvm/include/llvm/Analysis/AliasSetTracker.h:1.8 llvm/include/llvm/Analysis/AliasSetTracker.h:1.9
--- llvm/include/llvm/Analysis/AliasSetTracker.h:1.8 Mon Oct 20 15:19:17 2003
+++ llvm/include/llvm/Analysis/AliasSetTracker.h Tue Nov 11 16:41:30 2003
@@ -21,6 +21,9 @@
#include "Support/iterator"
#include "Support/hash_map"
#include "Support/ilist"
+
+namespace llvm {
+
class AliasAnalysis;
class LoadInst;
class StoreInst;
@@ -282,5 +285,7 @@
AST.print(OS);
return OS;
}
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/CallGraph.h
diff -u llvm/include/llvm/Analysis/CallGraph.h:1.32 llvm/include/llvm/Analysis/CallGraph.h:1.33
--- llvm/include/llvm/Analysis/CallGraph.h:1.32 Wed Oct 29 23:16:55 2003
+++ llvm/include/llvm/Analysis/CallGraph.h Tue Nov 11 16:41:30 2003
@@ -51,6 +51,9 @@
#include "Support/GraphTraits.h"
#include "Support/STLExtras.h"
#include "llvm/Pass.h"
+
+namespace llvm {
+
class Function;
class Module;
class CallGraphNode;
@@ -287,5 +290,7 @@
// Make sure that any clients of this file link in PostDominators.cpp
static IncludeFile
CALLGRAPH_INCLUDE_FILE((void*)&CallGraph::stub);
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/ConstantsScanner.h
diff -u llvm/include/llvm/Analysis/ConstantsScanner.h:1.13 llvm/include/llvm/Analysis/ConstantsScanner.h:1.14
--- llvm/include/llvm/Analysis/ConstantsScanner.h:1.13 Mon Oct 20 15:19:17 2003
+++ llvm/include/llvm/Analysis/ConstantsScanner.h Tue Nov 11 16:41:30 2003
@@ -19,6 +19,9 @@
#include "llvm/Support/InstIterator.h"
#include "llvm/Instruction.h"
#include "Support/iterator"
+
+namespace llvm {
+
class Constant;
class constant_iterator : public forward_iterator<const Constant, ptrdiff_t> {
@@ -85,5 +88,7 @@
inline constant_iterator constant_end(const Function *F) {
return constant_iterator(F, true);
}
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.62 llvm/include/llvm/Analysis/DSGraph.h:1.63
--- llvm/include/llvm/Analysis/DSGraph.h:1.62 Mon Nov 10 23:08:36 2003
+++ llvm/include/llvm/Analysis/DSGraph.h Tue Nov 11 16:41:30 2003
@@ -15,6 +15,9 @@
#define LLVM_ANALYSIS_DSGRAPH_H
#include "llvm/Analysis/DSNode.h"
+
+namespace llvm {
+
class GlobalValue;
//===----------------------------------------------------------------------===//
@@ -331,5 +334,7 @@
///
void removeTriviallyDeadNodes();
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/DSGraphTraits.h
diff -u llvm/include/llvm/Analysis/DSGraphTraits.h:1.17 llvm/include/llvm/Analysis/DSGraphTraits.h:1.18
--- llvm/include/llvm/Analysis/DSGraphTraits.h:1.17 Mon Oct 20 15:19:17 2003
+++ llvm/include/llvm/Analysis/DSGraphTraits.h Tue Nov 11 16:41:30 2003
@@ -21,6 +21,8 @@
#include "Support/iterator"
#include "Support/STLExtras.h"
+namespace llvm {
+
template<typename NodeTy>
class DSNodeIterator : public forward_iterator<const DSNode, ptrdiff_t> {
friend class DSNode;
@@ -145,5 +147,7 @@
static ChildIteratorType child_begin(const NodeType *N) { return N->begin(); }
static ChildIteratorType child_end(const NodeType *N) { return N->end(); }
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/DSNode.h
diff -u llvm/include/llvm/Analysis/DSNode.h:1.32 llvm/include/llvm/Analysis/DSNode.h:1.33
--- llvm/include/llvm/Analysis/DSNode.h:1.32 Sun Nov 2 16:27:15 2003
+++ llvm/include/llvm/Analysis/DSNode.h Tue Nov 11 16:41:30 2003
@@ -16,6 +16,8 @@
#include "llvm/Analysis/DSSupport.h"
+namespace llvm {
+
template<typename BaseType>
class DSNodeIterator; // Data structure graph traversal iterator
class TargetData;
@@ -381,5 +383,7 @@
else // No node to merge with, so just point to Node
*this = Node;
}
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/DSSupport.h
diff -u llvm/include/llvm/Analysis/DSSupport.h:1.25 llvm/include/llvm/Analysis/DSSupport.h:1.26
--- llvm/include/llvm/Analysis/DSSupport.h:1.25 Sun Nov 2 16:27:15 2003
+++ llvm/include/llvm/Analysis/DSSupport.h Tue Nov 11 16:41:31 2003
@@ -18,6 +18,8 @@
#include "Support/hash_set"
#include "llvm/Support/CallSite.h"
+namespace llvm {
+
class Function;
class CallInst;
class Value;
@@ -122,10 +124,14 @@
DSNode *HandleForwarding() const;
};
+} // End llvm namespace
+
namespace std {
- inline void swap(DSNodeHandle &NH1, DSNodeHandle &NH2) { NH1.swap(NH2); }
+ inline void swap(llvm::DSNodeHandle &NH1, llvm::DSNodeHandle &NH2) { NH1.swap(NH2); }
}
+namespace llvm {
+
//===----------------------------------------------------------------------===//
/// DSCallSite - Representation of a call site via its call instruction,
/// the DSNode handle for the callee function (or function pointer), and
@@ -287,7 +293,9 @@
}
};
+} // End llvm namespace
+
namespace std {
- inline void swap(DSCallSite &CS1, DSCallSite &CS2) { CS1.swap(CS2); }
+ inline void swap(llvm::DSCallSite &CS1, llvm::DSCallSite &CS2) { CS1.swap(CS2); }
}
#endif
Index: llvm/include/llvm/Analysis/DataStructure.h
diff -u llvm/include/llvm/Analysis/DataStructure.h:1.74 llvm/include/llvm/Analysis/DataStructure.h:1.75
--- llvm/include/llvm/Analysis/DataStructure.h:1.74 Sun Nov 2 16:27:15 2003
+++ llvm/include/llvm/Analysis/DataStructure.h Tue Nov 11 16:41:31 2003
@@ -18,6 +18,8 @@
#include "llvm/Target/TargetData.h"
#include "Support/hash_set"
+namespace llvm {
+
class Type;
class Instruction;
class DSGraph;
@@ -183,5 +185,7 @@
std::vector<DSGraph*> &PostOrder,
const BUDataStructures::ActualCalleesTy &ActualCallees);
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/DependenceGraph.h
diff -u llvm/include/llvm/Analysis/DependenceGraph.h:1.8 llvm/include/llvm/Analysis/DependenceGraph.h:1.9
--- llvm/include/llvm/Analysis/DependenceGraph.h:1.8 Mon Oct 20 15:19:17 2003
+++ llvm/include/llvm/Analysis/DependenceGraph.h Tue Nov 11 16:41:31 2003
@@ -30,6 +30,8 @@
#include <utility>
#include <cassert>
+namespace llvm {
+
class Instruction;
class Function;
class Dependence;
@@ -263,5 +265,7 @@
};
//===----------------------------------------------------------------------===//
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.40 llvm/include/llvm/Analysis/Dominators.h:1.41
--- llvm/include/llvm/Analysis/Dominators.h:1.40 Mon Oct 20 15:19:17 2003
+++ llvm/include/llvm/Analysis/Dominators.h Tue Nov 11 16:41:31 2003
@@ -28,6 +28,8 @@
#include "llvm/Pass.h"
#include <set>
+namespace llvm {
+
class Instruction;
template <typename GraphType> struct GraphTraits;
@@ -486,5 +488,7 @@
const DomSetType &calculate(const DominatorTree &DT,
const DominatorTree::Node *Node);
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/Expressions.h
diff -u llvm/include/llvm/Analysis/Expressions.h:1.8 llvm/include/llvm/Analysis/Expressions.h:1.9
--- llvm/include/llvm/Analysis/Expressions.h:1.8 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/Expressions.h Tue Nov 11 16:41:31 2003
@@ -17,6 +17,8 @@
#ifndef LLVM_ANALYSIS_EXPRESSIONS_H
#define LLVM_ANALYSIS_EXPRESSIONS_H
+namespace llvm {
+
class Type;
class Value;
class ConstantInt;
@@ -55,5 +57,7 @@
//
const Type *getExprType(const Type *Default) const;
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/FindUnsafePointerTypes.h
diff -u llvm/include/llvm/Analysis/FindUnsafePointerTypes.h:1.14 llvm/include/llvm/Analysis/FindUnsafePointerTypes.h:1.15
--- llvm/include/llvm/Analysis/FindUnsafePointerTypes.h:1.14 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/FindUnsafePointerTypes.h Tue Nov 11 16:41:31 2003
@@ -27,6 +27,8 @@
#include "llvm/Pass.h"
#include <set>
+namespace llvm {
+
class PointerType;
struct FindUnsafePointerTypes : public Pass {
@@ -54,5 +56,7 @@
AU.setPreservesAll();
}
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/FindUsedTypes.h
diff -u llvm/include/llvm/Analysis/FindUsedTypes.h:1.21 llvm/include/llvm/Analysis/FindUsedTypes.h:1.22
--- llvm/include/llvm/Analysis/FindUsedTypes.h:1.21 Sat Nov 1 19:28:34 2003
+++ llvm/include/llvm/Analysis/FindUsedTypes.h Tue Nov 11 16:41:31 2003
@@ -16,6 +16,9 @@
#include "llvm/Pass.h"
#include <set>
+
+namespace llvm {
+
class Type;
class FindUsedTypes : public Pass {
@@ -58,5 +61,7 @@
// Make sure that any clients of this file link in PostDominators.cpp
static IncludeFile
FIND_USED_TYPES_INCLUDE_FILE((void*)&FindUsedTypes::stub);
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/IPModRef.h
diff -u llvm/include/llvm/Analysis/IPModRef.h:1.13 llvm/include/llvm/Analysis/IPModRef.h:1.14
--- llvm/include/llvm/Analysis/IPModRef.h:1.13 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/IPModRef.h Tue Nov 11 16:41:31 2003
@@ -50,6 +50,8 @@
#include "Support/BitSetVector.h"
#include "Support/hash_map"
+namespace llvm {
+
class Module;
class Function;
class CallSite;
@@ -238,5 +240,7 @@
};
//===----------------------------------------------------------------------===//
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/InductionVariable.h
diff -u llvm/include/llvm/Analysis/InductionVariable.h:1.7 llvm/include/llvm/Analysis/InductionVariable.h:1.8
--- llvm/include/llvm/Analysis/InductionVariable.h:1.7 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/InductionVariable.h Tue Nov 11 16:41:31 2003
@@ -27,6 +27,9 @@
#define LLVM_ANALYSIS_INDUCTIONVARIABLE_H
#include <iosfwd>
+
+namespace llvm {
+
class Value;
class PHINode;
class Instruction;
@@ -59,5 +62,7 @@
void print(std::ostream &OS) const;
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/InstForest.h
diff -u llvm/include/llvm/Analysis/InstForest.h:1.22 llvm/include/llvm/Analysis/InstForest.h:1.23
--- llvm/include/llvm/Analysis/InstForest.h:1.22 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/InstForest.h Tue Nov 11 16:41:31 2003
@@ -25,6 +25,8 @@
#include "Support/Tree.h"
#include <map>
+namespace llvm {
+
template<class Payload> class InstTreeNode;
template<class Payload> class InstForest;
@@ -287,6 +289,8 @@
setChildren(Children);
getTreeData().first.second = InstructionNode;
}
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/Interval.h
diff -u llvm/include/llvm/Analysis/Interval.h:1.16 llvm/include/llvm/Analysis/Interval.h:1.17
--- llvm/include/llvm/Analysis/Interval.h:1.16 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/Interval.h Tue Nov 11 16:41:31 2003
@@ -24,6 +24,8 @@
#include <vector>
#include <iosfwd>
+namespace llvm {
+
class BasicBlock;
//===----------------------------------------------------------------------===//
@@ -145,5 +147,7 @@
return pred_end(N);
}
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/IntervalIterator.h
diff -u llvm/include/llvm/Analysis/IntervalIterator.h:1.16 llvm/include/llvm/Analysis/IntervalIterator.h:1.17
--- llvm/include/llvm/Analysis/IntervalIterator.h:1.16 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/IntervalIterator.h Tue Nov 11 16:41:31 2003
@@ -40,6 +40,8 @@
#include <set>
#include <algorithm>
+namespace llvm {
+
// getNodeHeader - Given a source graph node and the source graph, return the
// BasicBlock that is the header node. This is the opposite of
// getSourceGraphNode.
@@ -252,5 +254,7 @@
inline interval_part_interval_iterator intervals_end(IntervalPartition &IP) {
return interval_part_interval_iterator();
}
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/IntervalPartition.h
diff -u llvm/include/llvm/Analysis/IntervalPartition.h:1.19 llvm/include/llvm/Analysis/IntervalPartition.h:1.20
--- llvm/include/llvm/Analysis/IntervalPartition.h:1.19 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/IntervalPartition.h Tue Nov 11 16:41:31 2003
@@ -26,6 +26,8 @@
#include "llvm/Analysis/Interval.h"
#include "llvm/Pass.h"
+namespace llvm {
+
//===----------------------------------------------------------------------===//
//
// IntervalPartition - This class builds and holds an "interval partition" for
@@ -101,5 +103,7 @@
//
void updatePredecessors(Interval *Int);
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/LoadValueNumbering.h
diff -u llvm/include/llvm/Analysis/LoadValueNumbering.h:1.2 llvm/include/llvm/Analysis/LoadValueNumbering.h:1.3
--- llvm/include/llvm/Analysis/LoadValueNumbering.h:1.2 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/LoadValueNumbering.h Tue Nov 11 16:41:31 2003
@@ -21,11 +21,15 @@
#ifndef LLVM_ANALYSIS_LOAD_VALUE_NUMBERING_H
#define LLVM_ANALYSIS_LOAD_VALUE_NUMBERING_H
+namespace llvm {
+
class Pass;
/// createLoadValueNumberingPass - Create and return a new pass that implements
/// the ValueNumbering interface.
///
Pass *createLoadValueNumberingPass();
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/LoopInfo.h
diff -u llvm/include/llvm/Analysis/LoopInfo.h:1.28 llvm/include/llvm/Analysis/LoopInfo.h:1.29
--- llvm/include/llvm/Analysis/LoopInfo.h:1.28 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/LoopInfo.h Tue Nov 11 16:41:31 2003
@@ -29,6 +29,8 @@
#include "Support/GraphTraits.h"
#include <set>
+namespace llvm {
+
class DominatorSet;
class LoopInfo;
@@ -223,5 +225,7 @@
return N->getSubLoops().end();
}
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/MemoryDepAnalysis.h
diff -u llvm/include/llvm/Analysis/MemoryDepAnalysis.h:1.6 llvm/include/llvm/Analysis/MemoryDepAnalysis.h:1.7
--- llvm/include/llvm/Analysis/MemoryDepAnalysis.h:1.6 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/MemoryDepAnalysis.h Tue Nov 11 16:41:31 2003
@@ -24,6 +24,8 @@
#include "llvm/Pass.h"
#include "Support/hash_map"
+namespace llvm {
+
class ModRefTable;
class DSGraph;
class FunctionModRefInfo;
@@ -95,5 +97,7 @@
void print(std::ostream &O) const;
void dump() const;
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/PgmDependenceGraph.h
diff -u llvm/include/llvm/Analysis/PgmDependenceGraph.h:1.5 llvm/include/llvm/Analysis/PgmDependenceGraph.h:1.6
--- llvm/include/llvm/Analysis/PgmDependenceGraph.h:1.5 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/PgmDependenceGraph.h Tue Nov 11 16:41:31 2003
@@ -46,6 +46,8 @@
#include "llvm/Pass.h"
#include "Support/iterator"
+namespace llvm {
+
class DSGraph;
class DependenceGraph;
class PgmDependenceGraph;
@@ -304,7 +306,8 @@
void dump() const;
};
-
//===----------------------------------------------------------------------===//
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/PostDominators.h
diff -u llvm/include/llvm/Analysis/PostDominators.h:1.5 llvm/include/llvm/Analysis/PostDominators.h:1.6
--- llvm/include/llvm/Analysis/PostDominators.h:1.5 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/PostDominators.h Tue Nov 11 16:41:31 2003
@@ -16,6 +16,8 @@
#include "llvm/Analysis/Dominators.h"
+namespace llvm {
+
/// PostDominatorSet Class - Concrete subclass of DominatorSetBase that is used
/// to compute the post-dominator set. Because there can be multiple exit nodes
@@ -116,5 +118,7 @@
// Make sure that any clients of this file link in PostDominators.cpp
static IncludeFile
POST_DOMINATOR_INCLUDE_FILE((void*)&PostDominanceFrontier::stub);
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/ValueNumbering.h
diff -u llvm/include/llvm/Analysis/ValueNumbering.h:1.2 llvm/include/llvm/Analysis/ValueNumbering.h:1.3
--- llvm/include/llvm/Analysis/ValueNumbering.h:1.2 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/ValueNumbering.h Tue Nov 11 16:41:31 2003
@@ -21,6 +21,9 @@
#define LLVM_ANALYSIS_VALUE_NUMBERING_H
#include <vector>
+
+namespace llvm {
+
class Value;
struct ValueNumbering {
@@ -33,5 +36,7 @@
virtual ~ValueNumbering(); // We want to be subclassed
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Analysis/Verifier.h
diff -u llvm/include/llvm/Analysis/Verifier.h:1.11 llvm/include/llvm/Analysis/Verifier.h:1.12
--- llvm/include/llvm/Analysis/Verifier.h:1.11 Mon Oct 20 15:19:18 2003
+++ llvm/include/llvm/Analysis/Verifier.h Tue Nov 11 16:41:31 2003
@@ -21,6 +21,8 @@
#ifndef LLVM_ANALYSIS_VERIFIER_H
#define LLVM_ANALYSIS_VERIFIER_H
+namespace llvm {
+
class FunctionPass;
class Module;
class Function;
@@ -39,5 +41,7 @@
// verifyFunction - Check a function for errors, useful for use when debugging a
// pass.
bool verifyFunction(const Function &F);
+
+} // End llvm namespace
#endif
More information about the llvm-commits
mailing list