[PATCH] D42273: Add hasTrailingReturn AST matcher
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 19 11:56:15 PST 2018
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM with a minor commenting/documentation nit.
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:5898
+/// \code
+/// int X() {};
+/// auto Y() -> int {};
----------------
Sorry for not noticing this earlier -- spurious semicolon here (don't forget to regenerate the docs too).
https://reviews.llvm.org/D42273
More information about the cfe-commits
mailing list