[PATCH] D72233: Add a new AST matcher 'optionally'.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 15:04:51 PST 2020


aaron.ballman added a comment.

In D72233#1808125 <https://reviews.llvm.org/D72233#1808125>, @air20 wrote:

> In D72233#1807698 <https://reviews.llvm.org/D72233#1807698>, @aaron.ballman wrote:
>
> > LGTM aside from a minor nit. Do you need someone to commit on your behalf?
>
>
> How do I submit a patch from here?


You would need git commit credentials for the project (https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access). If you don't have those credentials, I'm happy to commit on your behalf.



================
Comment at: clang/lib/ASTMatchers/Dynamic/Registry.cpp:282
   REGISTER_MATCHER(hasInitStatement);
+  REGISTER_MATCHER(hasInitializer);
   REGISTER_MATCHER(hasKeywordSelector);
----------------
air20 wrote:
> aaron.ballman wrote:
> > Why did this one move? Please keep the list sorted alphabetically.
> I think this wasn’t sorted correctly before.
I think it was sorted properly before (`i` comes before `S` even if you ignore capitalization), but regardless, it's a change unrelated to the patch, which we usually ask to be a separate patch.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72233/new/

https://reviews.llvm.org/D72233





More information about the cfe-commits mailing list