aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/clang/Analysis/CallGraph.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Analysis/CallGraph.h b/include/clang/Analysis/CallGraph.h
index 81926b9f87..f1b6e64772 100644
--- a/include/clang/Analysis/CallGraph.h
+++ b/include/clang/Analysis/CallGraph.h
@@ -48,8 +48,9 @@ public:
/// \brief Add the given declaration to the call graph.
void addToCallGraph(Decl *D, bool IsGlobal);
- /// \brief Populate the call graph with the functions in the given DeclContext.
- void addToCallGraph(DeclContext *DC);
+ /// \brief Populate the call graph with the functions in the given translation
+ /// unit.
+ void addToCallGraph(TranslationUnitDecl *TU);
/// \brief Lookup the node for the given declaration.
CallGraphNode *getNode(const Decl *) const;