[PATCH] D79895: Add a new warning to warn when passing uninitialized variables as const reference parameters to a function

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 18 16:17:28 PDT 2020


rnk added inline comments.


================
Comment at: clang/lib/Sema/AnalysisBasedWarnings.cpp:1518
   UsesMap uses;
+  UsesMap constRefUses;
 
----------------
If possible, it would be nice to avoid having a second map.


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

https://reviews.llvm.org/D79895





More information about the cfe-commits mailing list