summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-11-26 00:37:23 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-11-26 00:37:23 +0000
commit0c9fcd2be82a9bb547f9b8a9e3be30e5b79ca255 (patch)
tree5af499ad409fc54cc80a3f17d44125d98d6c71cb /include
parent2fdf433e51db56f25587478bb3c6b6c591f64879 (diff)
downloadllvm-0c9fcd2be82a9bb547f9b8a9e3be30e5b79ca255.tar.gz
llvm-0c9fcd2be82a9bb547f9b8a9e3be30e5b79ca255.tar.bz2
llvm-0c9fcd2be82a9bb547f9b8a9e3be30e5b79ca255.tar.xz
[PM] Rename the 'Mod' member to the more idiomatic 'M'. No functionality
changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195701 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/CallGraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h
index ef62a59bef..bd5157aa5a 100644
--- a/include/llvm/Analysis/CallGraph.h
+++ b/include/llvm/Analysis/CallGraph.h
@@ -74,7 +74,7 @@ class CallGraphNode;
///
/// The core call graph itself can also be updated to reflect changes to the IR.
class CallGraph : public ModulePass {
- Module *Mod; // The module this call graph represents
+ Module *M;
typedef std::map<const Function *, CallGraphNode *> FunctionMapTy;
FunctionMapTy FunctionMap; // Map from a function to its node
@@ -109,7 +109,7 @@ public:
typedef FunctionMapTy::const_iterator const_iterator;
/// \brief Returns the module the call graph corresponds to.
- Module &getModule() const { return *Mod; }
+ Module &getModule() const { return *M; }
inline iterator begin() { return FunctionMap.begin(); }
inline iterator end() { return FunctionMap.end(); }