summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-07-27 16:05:36 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-07-27 16:05:36 +0000
commitab046c5232cc3393b8adb598d0aefca3550ef31e (patch)
treeba48cb1a4401979af7f2ee9b960ee66ce8fa9460 /clang/lib/Analysis
parentde38070587503ac9fba1a97f36e5291f782be91f (diff)
downloadbcm5719-llvm-ab046c5232cc3393b8adb598d0aefca3550ef31e.tar.gz
bcm5719-llvm-ab046c5232cc3393b8adb598d0aefca3550ef31e.zip
Analysis: Fix example usage comment in CFG.cpp. NFC
Patch by Vedant Kumar! llvm-svn: 243275
Diffstat (limited to 'clang/lib/Analysis')
-rw-r--r--clang/lib/Analysis/CFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp
index 73b6fc6c3c8..07b80edfe69 100644
--- a/clang/lib/Analysis/CFG.cpp
+++ b/clang/lib/Analysis/CFG.cpp
@@ -284,7 +284,7 @@ reverse_children::reverse_children(Stmt *S) {
/// Example usage:
///
/// CFGBuilder builder;
-/// CFG* cfg = builder.BuildAST(stmt1);
+/// std::unique_ptr<CFG> cfg = builder.buildCFG(decl, stmt1);
///
/// CFG construction is done via a recursive walk of an AST. We actually parse
/// the AST in reverse order so that the successor of a basic block is
OpenPOWER on IntegriCloud