[PATCH] D46317: [clang-tidy] New check bugprone-map-subscript-operator-lookup

Arthur O'Dwyer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 08:05:20 PDT 2020


Quuxplusone added inline comments.


================
Comment at: test/clang-tidy/bugprone-map-subscript-operator-lookup.cpp:48
+  int getter() const;
+  void setter(int);
+};
----------------
Besides mgehre's request for `auto&` test cases, I'd like to see some test cases involving these member functions. I assume that's why these lines of code are here (but no tests use them yet).


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D46317





More information about the cfe-commits mailing list