[PATCH] D124461: [Analyzer] Remove undefined function

Marco Antognini via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 00:46:48 PDT 2022


mantognini created this revision.
Herald added subscribers: manas, steakhal, ASDenysPetrov, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun.
Herald added a project: All.
mantognini added reviewers: NoQ, baloghadamsoftware.
mantognini published this revision for review.
mantognini added a comment.
Herald added subscribers: cfe-commits, rnkovacs.
Herald added a project: clang.

I'd appreciate reviews for this small patch. Thanks.


This getLValue function was declared in 98db1f990fc2 <https://reviews.llvm.org/rG98db1f990fc273adc1ae36d4ce97ce66fd27ac30> ([Analyzer] [NFC]
Parameter Regions, 2020-05-11) but was never implemented.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124461

Files:
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h


Index: clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
===================================================================
--- clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
+++ clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
@@ -306,10 +306,6 @@
   Loc getLValue(const CXXRecordDecl *BaseClass, const SubRegion *Super,
                 bool IsVirtual) const;
 
-  /// Get the lvalue for a parameter.
-  Loc getLValue(const Expr *Call, unsigned Index,
-                const LocationContext *LC) const;
-
   /// Get the lvalue for a variable reference.
   Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124461.425242.patch
Type: text/x-patch
Size: 688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220427/a83c89e3/attachment-0001.bin>


More information about the cfe-commits mailing list