From ab046c5232cc3393b8adb598d0aefca3550ef31e Mon Sep 17 00:00:00 2001 From: Jonathan Roelofs Date: Mon, 27 Jul 2015 16:05:36 +0000 Subject: [PATCH] Analysis: Fix example usage comment in CFG.cpp. NFC Patch by Vedant Kumar! llvm-svn: 243275 --- clang/lib/Analysis/CFG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp index 73b6fc6..07b80ed 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 = 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 -- 2.7.4