[llvm-branch-commits] [clang] [analyzer][NFC] Migrate loc::ConcreteInt to use APSIntPtr (3/4) (PR #120437)
Gábor Horváth via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Dec 18 08:08:27 PST 2024
================
@@ -514,9 +514,12 @@ class MemRegionVal : public Loc {
class ConcreteInt : public Loc {
public:
- explicit ConcreteInt(const llvm::APSInt &V) : Loc(ConcreteIntKind, &V) {}
+ explicit ConcreteInt(APSIntPtr V) : Loc(ConcreteIntKind, V.get()) {}
----------------
Xazax-hun wrote:
Is it possible to store `APSIntPtr` in `Loc`?
https://github.com/llvm/llvm-project/pull/120437
More information about the llvm-branch-commits
mailing list