etienneb added a comment. In http://reviews.llvm.org/D18783#392486, @bcraig wrote:
> Is this checker able to connect a std::string with a pre-declared string > literal (i.e. constant propagation)? For example... > > const char *bad_chars = "\0\1\2\3"; > std::string bad_str = bad_chars; > > > > I've had real code make that mistake before. Not yet, but I already started working in it. There is more false-positive to remove first. It will follow this patch soon. http://reviews.llvm.org/D18783 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits