[PATCH] D19311: [analyzer] Self Assignment Checker
    Balogh, Ádám via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Jul  8 07:03:43 PDT 2016
    
    
  
baloghadamsoftware added a comment.
I added tests for move assignment operators, but I could not find out any other simple test case than memory leak. However memory leaks are currently only detected by Unix.malloc for malloc. So I tried to replace strdup with malloc, strlen and strcpy, but even in this case leak bug is only reported for string used but not for string unused. That would require a more complex leak checker which we currently do not have.
http://reviews.llvm.org/D19311
    
    
More information about the cfe-commits
mailing list