This patch:
- Fixes how the std-namespace test is written in SmartPtrModelling
(now accounts for functions with no Decl available)
- Adds the smart pointer checker flag check where it was missing
Differential D106296
[analyzer] Fix for faulty namespace test in SmartPtrModelling RedDocMD on Jul 19 2021, 11:49 AM. Authored by
Details This patch:
(now accounts for functions with no Decl available)
Diff Detail
Event TimelineComment Actions Commented some nits, but overall looks good to me. However, could you include some tests? We usually do not commit any changes without tests unless it is really hard to create one. But I suspect that this is not the case here.
Comment Actions Also, I tested this fix on a set of open-source projects and I don't see any problems.
|
nit: there's an extra space here.