When writing an AST matcher to find inherited Objective-C classes, I
noticed the returned ObjCInterfaceDecl* was mutable. It doesn't seem
like it needs to be mutable, so this patch makes it const.
Patch by Adam Ernst.
Differential D62035
[AST] const-ify ObjC inherited class search modocache on May 16 2019, 2:47 PM. Authored by
Details
Diff Detail
Event TimelineComment Actions @beng (hello!!) I've spotted you reviewing some Objective-C clang stuff … can you review, or do you have advice on a qualified reviewer? Comment Actions I don't really have much to say about this, and the patch is probably fine, but I do note that most of the other accessors on this class also return mutable objects. Comment Actions I'm not super interested in this patch anymore, someone else feel free to work on this! :) |