[PATCH] D12359: New warning -Wnonconst-parameter when a pointer parameter can be const

Stephan Bergmann via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 08:44:33 PDT 2015


sberg added a subscriber: sberg.
sberg added a comment.

causes false positive for

  char * f(char *);
  char * g(char * p) { return f(p); }


http://reviews.llvm.org/D12359





More information about the cfe-commits mailing list