That weakens inner invariants, but allows the class to be more generic, allowing usage in situations where the call expression is not known (or should not matter).
Details
Details
- Reviewers
dcoughlin NoQ rjmccall - Commits
- rG38bc347ff50b: Extend AnyCall to handle callable declarations without the call expressions
rL352531: Extend AnyCall to handle callable declarations without the call expressions
rC352531: Extend AnyCall to handle callable declarations without the call expressions
Diff Detail
Diff Detail
Event Timeline
clang/include/clang/Analysis/AnyCall.h | ||
---|---|---|
23 | "An instance of this class corresponds to a call. It may be a syntactically-concrete call, done as part of evaluating an expression, or it may be an abstract callee with no associated expression." | |
92 | Destructors and constructors are subclasses of FunctionDecl and must be either checked for here or asserted against. | |
162 | "its" and "asymmetry", and consider spelling out "asymmetry with the function and method cases above". |
"An instance of this class corresponds to a call. It may be a syntactically-concrete call, done as part of evaluating an expression, or it may be an abstract callee with no associated expression."