[cfe-dev] Superclass for CallExpr | CXXConstructExpr | ObjCMessageExpr
George Karpenkov via cfe-dev
cfe-dev at lists.llvm.org
Mon Jul 2 11:09:20 PDT 2018
Hi,
Quite a bit of code in the static analyzer is either duplicated or is using roundabout constructs
to deal in the same way with calls of different type: CallExpr, CXXConstructExpr, ObjCMessageExpr.
What would be the objections against introducing a very simple abstract superclass for those?
Only a few methods would be required:
- arguments() and iterators over those
- return type
- source location
George
More information about the cfe-dev
mailing list