Left only the constructors that are actually required, and marked the move constructors as deleted. They are not used anymore and we were never sure they've actually worked correctly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
I'm OK with the change; not sure why you've decided to remove a creator for a model (it should probably have a different name though)
clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp | ||
---|---|---|
80 ↗ | (On Diff #175577) | TBH I have no idea what calling SMTSort with no argument does. |
859 ↗ | (On Diff #175577) | Should this be removed? |
clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp | ||
---|---|---|
80 ↗ | (On Diff #175577) | If there is no call to the base class constructor, the compiler will insert a call to the base class with no argument. But yeah, the SMTSort constructor doesn't initialize anything. |
859 ↗ | (On Diff #175577) | Yep, the getModel method is not part of the API, it's Z3 specific. No point in keeping it around. |