summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFG.cpp
diff options
context:
space:
mode:
authorAhmed Charles <ahmedcharles@gmail.com>2014-03-07 19:33:25 +0000
committerAhmed Charles <ahmedcharles@gmail.com>2014-03-07 19:33:25 +0000
commit9a16beb8bc580212df519aa488242a94e53741d8 (patch)
tree569f8fb251291e9aaacc0ddb6d509a9561ddc264 /clang/lib/Analysis/CFG.cpp
parent9cbd3c628cfdcb7ba2f372b57db317df2a271ebb (diff)
downloadbcm5719-llvm-9a16beb8bc580212df519aa488242a94e53741d8.tar.gz
bcm5719-llvm-9a16beb8bc580212df519aa488242a94e53741d8.zip
Change OwningPtr::take() to OwningPtr::release().
This is a precursor to moving to std::unique_ptr. llvm-svn: 203275
Diffstat (limited to 'clang/lib/Analysis/CFG.cpp')
-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 f11db625cd8..da953b779b6 100644
--- a/clang/lib/Analysis/CFG.cpp
+++ b/clang/lib/Analysis/CFG.cpp
@@ -724,7 +724,7 @@ CFG* CFGBuilder::buildCFG(const Decl *D, Stmt *Statement) {
// Create an empty entry block that has no predecessors.
cfg->setEntry(createBlock());
- return cfg.take();
+ return cfg.release();
}
/// createBlock - Used to lazily create blocks that are connected
OpenPOWER on IntegriCloud