summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-31 01:38:00 +0000
committerChris Lattner <sabre@nondot.org>2003-08-31 01:38:00 +0000
commit5636eec5fbd754e3b5595e7e8a1f9cb428b788dc (patch)
treef62a01b2c5b7556e36cbc2236a4dc3ca61ab7b19 /include
parenta15854c9febcb60eb107048640b04abff8cc47e5 (diff)
downloadllvm-5636eec5fbd754e3b5595e7e8a1f9cb428b788dc.tar.gz
llvm-5636eec5fbd754e3b5595e7e8a1f9cb428b788dc.tar.bz2
llvm-5636eec5fbd754e3b5595e7e8a1f9cb428b788dc.tar.xz
s/Meth/F
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/CallGraph.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h
index fde7c82abb..f3bc052ff8 100644
--- a/include/llvm/Analysis/CallGraph.h
+++ b/include/llvm/Analysis/CallGraph.h
@@ -104,7 +104,7 @@ public:
// Functions to keep a call graph up to date with a function that has been
// modified
//
- void addFunctionToModule(Function *Meth);
+ void addFunctionToModule(Function *F);
// removeFunctionFromModule - Unlink the function from this module, returning
@@ -114,8 +114,8 @@ public:
// is to dropAllReferences before calling this.
//
Function *removeFunctionFromModule(CallGraphNode *CGN);
- Function *removeFunctionFromModule(Function *Meth) {
- return removeFunctionFromModule((*this)[Meth]);
+ Function *removeFunctionFromModule(Function *F) {
+ return removeFunctionFromModule((*this)[F]);
}
@@ -168,7 +168,7 @@ private:
// CallGraphNode class definition
//
class CallGraphNode {
- Function *Meth;
+ Function *F;
std::vector<CallGraphNode*> CalledFunctions;
CallGraphNode(const CallGraphNode &); // Do not implement
@@ -181,7 +181,7 @@ public:
typedef std::vector<CallGraphNode*>::const_iterator const_iterator;
// getFunction - Return the function that this call graph node represents...
- Function *getFunction() const { return Meth; }
+ Function *getFunction() const { return F; }
inline iterator begin() { return CalledFunctions.begin(); }
inline iterator end() { return CalledFunctions.end(); }
@@ -207,7 +207,7 @@ private: // Stuff to construct the node, used by CallGraph
friend class CallGraph;
// CallGraphNode ctor - Create a node for the specified function...
- inline CallGraphNode(Function *F) : Meth(F) {}
+ inline CallGraphNode(Function *f) : F(f) {}
// addCalledFunction add a function to the list of functions called by this
// one