[PATCH] D45081: [analyzer] Remove the unused method declaration in `ValistChecker.cpp`.

Henry Wong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 30 04:52:16 PDT 2018


MTC created this revision.
MTC added a reviewer: xazax.hun.
Herald added subscribers: cfe-commits, a.sidorin, rnkovacs, szepet.
Herald added a reviewer: george.karpenkov.

`getVariableNameFromRegion()` seems useless.


Repository:
  rC Clang

https://reviews.llvm.org/D45081

Files:
  lib/StaticAnalyzer/Checkers/ValistChecker.cpp


Index: lib/StaticAnalyzer/Checkers/ValistChecker.cpp
===================================================================
--- lib/StaticAnalyzer/Checkers/ValistChecker.cpp
+++ lib/StaticAnalyzer/Checkers/ValistChecker.cpp
@@ -56,7 +56,6 @@
 private:
   const MemRegion *getVAListAsRegion(SVal SV, const Expr *VAExpr,
                                      bool &IsSymbolic, CheckerContext &C) const;
-  StringRef getVariableNameFromRegion(const MemRegion *Reg) const;
   const ExplodedNode *getStartCallSite(const ExplodedNode *N,
                                        const MemRegion *Reg) const;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45081.140408.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180330/80f6ac23/attachment.bin>


More information about the cfe-commits mailing list