Depends on D124758. This is the very same thing we have done for
assumeDual, but this time we do it for assumeInclusiveRange. This patch
is basically a no-brainer copy of that previous patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Okay, it took me a while to get what's going on.
Do you have anything in mind to express it by slightly less indirection, references, templates and well, virtual functions xD
Comment Actions
Okay, I see your point. Therefore, I am splitting up this patch into two:
- The no-brainer copy-paste from assumeDual implementaton.
- An NFC that tries to eliminate the copy paste coding. Efficiency and performance discussions should go there.
Comment Actions
- Split into two patches, this first patch will be just the no-brainer copy-paste from assumeDual implementaton.
Comment Actions
Now I see, the summary confused me.
This includes the refactoring of the common assumle*Dual logic into the
function template assumeDualImpl.
I felt like this is a refactoring change, but it was not. It's about fixing the behavior by using the cloneAsPosteriorlyOverconstrained().
Please reword the summary.
clang/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h | ||
---|---|---|
36–37 | Why is this in the public: section, if the name of it suggests its a detail? |
Comment Actions
Ok, done.
clang/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h | ||
---|---|---|
36–37 | Good point. I moved them under protected:. |
Why is this in the public: section, if the name of it suggests its a detail?