summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-10-06 16:59:15 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-10-06 16:59:15 +0000
commita124d76ed1b6e7105b55774e33371a037a8fcecd (patch)
treebcc3299049d0fd67ce4eacc0ac7d1cc6142304a8
parenta801f4a81dc22cccb7b9a6f2cceae124e0f80176 (diff)
downloadbcm5719-llvm-a124d76ed1b6e7105b55774e33371a037a8fcecd.tar.gz
bcm5719-llvm-a124d76ed1b6e7105b55774e33371a037a8fcecd.zip
List of potential checkers: more C++11 details for the smart pointer checker.
llvm-svn: 165363
-rw-r--r--clang/www/analyzer/potential_checkers.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/clang/www/analyzer/potential_checkers.html b/clang/www/analyzer/potential_checkers.html
index 3da3c66f52e..85155c095cc 100644
--- a/clang/www/analyzer/potential_checkers.html
+++ b/clang/www/analyzer/potential_checkers.html
@@ -266,10 +266,12 @@ void f() throw(int) {
<col class="namedescr"><col class="example"><col class="progress">
<thead><tr><td>Name, Description</td><td>Example</td><td>Progress</td></tr></thead>
-<tr><td><span class="name">smartptr.AutoPtrInit<br>
-(C++03)</span><br><br>
-auto_ptr should store a pointer to an object obtained via new as allocated
-memory will be cleaned using delete
+<tr><td><span class="name">smartptr.SmartPtrInit<br>
+(C++)</span><br><br>
+C++03: auto_ptr should store a pointer to an object obtained via new as allocated
+memory will be cleaned using delete<br>
+C++11: unique_ptr and shared_ptr allow
+to specify a custom deleter to handle the new[]/delete[] case correctly
</td><td><pre>
#include &lt;stdlib.h&gt;
#include &lt;memory&gt;
OpenPOWER on IntegriCloud