[PATCH] [Review request][analyzer]Information about special handling for a particular region/symbol.
ganna at apple.com
Tue Sep 24 13:39:46 PDT 2013
I don't see any replies to the comments.
Looks like the first two comments are not addressed :
Comment at: include/clang/StaticAnalyzer/Core/CheckerManager.h:368-370
@@ -367,3 +367,5 @@
/// parameters to the given call.
- /// \param IsConst Specifies if the pointer is const.
+ /// \param Kind The reason of pointer escape.
+ /// \param HTraits Information about special handling for a particular
+ /// region/symbol.
/// \returns Checkers can modify the state by returning a new one.
I know this is not new to this patch, but PointerEscapeKind and the traits info are very related...
Would it make sense to extend the kind enum and use it for traits? One benefit I see is that all the info about the escape would be in one place. We would only have one checker callback.. On the other hand, I don't recall why they are different concepts now..
Comment at: include/clang/StaticAnalyzer/Core/CheckerManager.h:377
@@ -374,3 +376,3 @@
- bool IsConst = false);
+ RegionAndSymHandlingTraits *HTraits = NULL);
When does it make sense for traits to be missing? (Why the NULL initialization? Also, I think it should be '0', not "NULL")
On Sep 24, 2013, at 12:44 PM, Anton Yartsev <anton.yartsev at gmail.com> wrote:
> On 24.09.2013 21:09, Anna Zaks wrote:
>> Does the new patch address all my comments? I've looked at it briefly and it does not seem to be the case..
> Yes, it does. Did you see my replays on your comments?
>> On Sep 16, 2013, at 6:55 PM, Антон Ярцев <anton.yartsev at gmail.com> wrote:
>>> Attached is an updated patch.
>>> Hi jordan_rose, zaks.anna,
>>> CHANGE SINCE LAST DIFF
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
More information about the cfe-commits