https://llvm.org/bugs/show_bug.cgi?id=5098

Carlos Antonio Neira Bustos <cneirabus...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |cneirabus...@gmail.com
         Resolution|---                         |FIXED

--- Comment #2 from Carlos Antonio Neira Bustos <cneirabus...@gmail.com> ---
on clang++ 3.8 this is already covered

 clang++ --analyze 5098.cpp
5098.cpp:12:4: warning: Memory allocated by 'new[]' should be deallocated by
'delete[]', not 'delete'
   delete x;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to