[PATCH] D45444: [clang-tidy] implement new check for const-correctness

Albert Astals Cid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 27 08:16:46 PDT 2019


tsdgeos added a comment.
Herald added a subscriber: wuzish.
Herald added a project: clang.

Would this warn with stuff like

  double borderWidth;
  [... code that doesn't use borderWidth ...]
  borderWidth = border->getWidth(); 
  [... code that reads borderWidth ...]


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D45444/new/

https://reviews.llvm.org/D45444





More information about the cfe-commits mailing list