diff --git a/clang/www/analyzer/potential_checkers.html b/clang/www/analyzer/potential_checkers.html index 3da3c66f52e0..85155c095ccc 100644 --- a/clang/www/analyzer/potential_checkers.html +++ b/clang/www/analyzer/potential_checkers.html @@ -266,10 +266,12 @@ void f() throw(int) { Name, DescriptionExampleProgress -smartptr.AutoPtrInit
-(C++03)


-auto_ptr should store a pointer to an object obtained via new as allocated -memory will be cleaned using delete +smartptr.SmartPtrInit
+(C++)


+C++03: auto_ptr should store a pointer to an object obtained via new as allocated +memory will be cleaned using delete
+C++11: unique_ptr and shared_ptr allow +to specify a custom deleter to handle the new[]/delete[] case correctly
 #include <stdlib.h>
 #include <memory>