[Analyzer] Remove undefined function
authorMarco Antognini <marco.antognini@sonarsource.com>
Wed, 20 Apr 2022 09:56:19 +0000 (11:56 +0200)
committerMarco Antognini <marco.antognini@sonarsource.com>
Thu, 28 Apr 2022 09:54:40 +0000 (11:54 +0200)
This getLValue function was declared in 98db1f990fc2 ([Analyzer] [NFC]
Parameter Regions, 2020-05-11) but was never implemented.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D124461

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

index 3204ac4..cf285c1 100644 (file)
@@ -306,10 +306,6 @@ public:
   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;