[PATCH] D42273: Add hasTrailingReturn AST matcher

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 12:00:10 PST 2018


lebedev.ri added inline comments.


================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:5904
+    return F->hasTrailingReturn();
+  return false;
+}
----------------
There are no negative tests in the unittest that cover this false path.


https://reviews.llvm.org/D42273





More information about the cfe-commits mailing list