[PATCH] D45444: [clang-tidy] WIP: implement new check for const-correctness
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 10 11:51:02 PDT 2018
lebedev.ri added a comment.
Thank you for working on this check!
================
Comment at: clang-tidy/cppcoreguidelines/ConstCheck.h:60
+
+ std::unordered_map<const VarDecl *, bool> ValueCanBeConst;
+ std::unordered_map<const VarDecl *, bool> HandleCanBeConst;
----------------
I'm guessing these should be `llvm::DenseMap`.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45444
More information about the cfe-commits
mailing list