- Removed a member that was only used during construction.
- Use range-based for iteration when accessing the result of the search.
- Require an ObjCMethodDecl reference upon construction of an
- Constify.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang/lib/Sema/SemaDeclObjC.cpp | ||
---|---|---|
4168 | We've been trying to move towards consistently passing around AST nodes as pointers, not references. Well, at least I am; please keep this as a pointer, at any rate. | |
4254 | You could use auto here, I think the return type is obvious enough from the method. | |
4279 | This could also be auto. |
Comment Actions
Thanks for the review, I addressed your comments:
- Removed the reference, and pass the AST node as a pointer.
- Made a few decls auto
We've been trying to move towards consistently passing around AST nodes as pointers, not references. Well, at least I am; please keep this as a pointer, at any rate.