Eugene.Zelenko added a comment.

In, @shuaiwang wrote:

> - I would imagine things could get messier if this check expands to also 
> check for turning member functions const: it's basically checking 
> CxxThisExpr, being a handle, is not modified within a member function, but 
> note there's no VarDecl for "this".

Probably this should be separate check. See also PR21981.

  rCTE Clang Tools Extra

cfe-commits mailing list

Reply via email to