From 27e25eb7f8a0d7153d31956f3c612179017fb7d8 Mon Sep 17 00:00:00 2001 From: Henry Wong Date: Fri, 30 Mar 2018 13:37:50 +0000 Subject: [PATCH] [analyzer] Remove the unused method declaration in `ValistChecker.cpp`. Summary: `getVariableNameFromRegion()` seems useless. Reviewers: xazax.hun, george.karpenkov Reviewed By: xazax.hun Subscribers: szepet, rnkovacs, a.sidorin, cfe-commits, MTC Differential Revision: https://reviews.llvm.org/D45081 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328860 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Checkers/ValistChecker.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/StaticAnalyzer/Checkers/ValistChecker.cpp b/lib/StaticAnalyzer/Checkers/ValistChecker.cpp index 44147e5214..039bc08c5c 100644 --- a/lib/StaticAnalyzer/Checkers/ValistChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/ValistChecker.cpp @@ -56,7 +56,6 @@ public: 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; -- 2.40.0