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;
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;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits